mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: ufs: critical health condition
@ 2025-02-03 15:27 Avri Altman
  2025-02-03 15:27 ` [PATCH 1/2] scsi: ufs: hwmon: Prepare for more hwmon notifications Avri Altman
  2025-02-03 15:27 ` [PATCH 2/2] scsi: ufs: Add support for critical health notification Avri Altman
  0 siblings, 2 replies; 6+ messages in thread
From: Avri Altman @ 2025-02-03 15:27 UTC (permalink / raw)
  To: Martin K . Petersen
  Cc: linux-scsi, linux-kernel, Guenter Roeck, Bart Van Assche, Avri Altman

Martin hi,
The UFS4.1 standard, released on January 8 2025, is adding several new
features. Among them a new exception event: HEALTH_CRITICAL, which
notify the host of a device's critical health condition. This
notification implies that the device is approaching to the end of its
life time based on the amount of performed program/erase cycles.

We use the hw monitor subsystem to proliferate this info via the chip
alarm channel.

Please consider this for the next merge window.

Thanks,
Avri

Avri Altman (2):
  scsi: ufs: hwmon: Prepare for more hwmon notifications
  scsi: ufs: Add support for critical health notification

 drivers/ufs/core/Kconfig       |  2 +-
 drivers/ufs/core/ufs-hwmon.c   | 12 ++++++++----
 drivers/ufs/core/ufshcd-priv.h |  8 ++++----
 drivers/ufs/core/ufshcd.c      | 31 ++++++++++++++++++++++++++-----
 include/ufs/ufs.h              |  1 +
 5 files changed, 40 insertions(+), 14 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-03 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-03 15:27 [PATCH 0/2] scsi: ufs: critical health condition Avri Altman
2025-02-03 15:27 ` [PATCH 1/2] scsi: ufs: hwmon: Prepare for more hwmon notifications Avri Altman
2025-02-03 15:27 ` [PATCH 2/2] scsi: ufs: Add support for critical health notification Avri Altman
2025-02-03 16:36   ` Guenter Roeck
2025-02-03 17:25     ` Avri Altman
2025-02-03 17:44       ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®