All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add temperature notification support
@ 2021-09-01 12:37 Avri Altman
  2021-09-01 12:37 ` [PATCH 1/3] scsi: ufs: Probe for " Avri Altman
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Avri Altman @ 2021-09-01 12:37 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: linux-scsi, linux-kernel, Bart Van Assche, Adrian Hunter,
	Bean Huo, Avri Altman

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/


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


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

end of thread, other threads:[~2021-09-02 19:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 12:37 [PATCH 0/3] Add temperature notification support Avri Altman
2021-09-01 12:37 ` [PATCH 1/3] scsi: ufs: Probe for " Avri Altman
2021-09-01 16:35   ` Bart Van Assche
2021-09-02  6:24     ` Avri Altman
2021-09-01 12:37 ` [PATCH 2/3] scsi: ufs: Add temperature notification exception handling Avri Altman
2021-09-01 15:51   ` Asutosh Das (asd)
2021-09-01 16:39   ` Bart Van Assche
2021-09-01 19:40     ` Asutosh Das (asd)
2021-09-02  6:46       ` Avri Altman
2021-09-01 12:37 ` [PATCH 3/3] scsi: ufs-sysfs: Add sysfs entries for temperature notification Avri Altman
2021-09-01 16:52   ` Bart Van Assche
2021-09-02  6:52     ` Avri Altman
2021-09-02 19:58       ` Avri Altman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.