Thread (13 messages) 13 messages, 3 authors, 2021-09-02
STALE1765d
Revisions (7)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 [diff vs current]
  7. v7 [diff vs current]

[PATCH 0/3] Add temperature notification support

From: Avri Altman <avri.altman@wdc.com>
Date: 2021-09-01 12:42:34
Also in: lkml

UFS3.0 allows using the ufs device as a temperature sensor. The purpose
of this optional feature is to provide notification to the host of the
UFS device case temperature. It allows reading of a rough estimate
(+-10 degrees centigrade) of the current case temperature, and setting a
lower and upper temperature bounds, in which the device will trigger an
applicable exception event.

A previous attempt [1] tried a comprehensive approach.  Still, it was
unsuccessful. Here is a more modest approach that introduces just the
bare minimum to support temperature notification.

Thanks,
Avri

[1] https://lore.kernel.org/lkml/1582450522-13256-1-git-send-email-avi.shchislowski@wdc.com/ (local)


Avri Altman (3):
  scsi: ufs: Probe for temperature notification support
  scsi: ufs: Add temperature notification exception handling
  scsi: ufs-sysfs: Add sysfs entries for temperature notification

 Documentation/ABI/testing/sysfs-driver-ufs | 38 +++++++++++++
 drivers/scsi/ufs/ufs-sysfs.c               | 63 +++++++++++++++++++++-
 drivers/scsi/ufs/ufs.h                     | 12 +++++
 drivers/scsi/ufs/ufshcd.c                  | 28 ++++++++++
 drivers/scsi/ufs/ufshcd.h                  | 29 ++++++++++
 5 files changed, 169 insertions(+), 1 deletion(-)

-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help