Message ID | 20210915060407.40-1-avri.altman@wdc.com |
---|---|
Headers | show |
Series | Add temperature notification support | expand |
Hi Avri, >The device may notify the host of an extreme temperature by using the >exception event mechanism. The exception can be raised when the device’s >Tcase temperature is either too high or too low. > >It is essentially up to the platform to decide what further actions need >to be taken. leave a placeholder for a designated vop for that. > >Signed-off-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Daejun Park <daejun7.park@samsung.com>
Avri, > 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. Applied to 5.16/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering
On Wed, 15 Sep 2021 09:04:05 +0300, Avri Altman wrote: > v6 -> v7: > - some more useless initializations > > v5 -> v6: > - remove useless initializations > > v4 - > v5: > - Fix improper return error values > > [...] Applied to 5.16/scsi-queue, thanks! [1/2] scsi: ufs: Probe for temperature notification support https://git.kernel.org/mkp/scsi/c/e88e2d32200a [2/2] scsi: ufs: Add temperature notification exception handling https://git.kernel.org/mkp/scsi/c/322c4b29ee1f -- Martin K. Petersen Oracle Linux Engineering