]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: core: Add temperature notification exception handling
authorAvri Altman <avri.altman@wdc.com>
Wed, 15 Sep 2021 06:04:07 +0000 (09:04 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Sep 2021 04:07:42 +0000 (00:07 -0400)
commit9ba2075e9d807b5f88a00ea7e8c637c2ae64d0fc
treef74222d3b5fadcd89922ae10f0c2233b39d79b6b
parent17d17985be936c906e8097483d158dd874da5238
scsi: ufs: core: Add temperature notification exception handling

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.

Link: https://lore.kernel.org/r/20210915060407.40-3-avri.altman@wdc.com
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Daejun Park <daejun7.park@samsung.com>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-hwmon.c
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h