linux/drivers/scsi/ufs
Yaniv Gardi f05ac2e593 scsi: ufs: avoid exception event handler racing with PM callbacks
If device raises the exception event in the response to the commands
sent during the runtime/system PM callbacks, exception event handler
might run in parallel with PM callbacks and may see unclocked register
accesses. This change fixes this issue by not scheduling the exception
event handler while PM callbacks are running.

Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Reviewed-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-02-23 21:27:02 -05:00
..
Kconfig scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component 2015-11-09 17:46:56 -05:00
Makefile ufs-qcom: add support for Qualcomm Technologies Inc platforms 2015-01-20 19:43:26 +01:00
ufs-qcom.c scsi: ufs-qcom: add QUniPro hardware support and power optimizations 2015-11-09 18:03:55 -05:00
ufs-qcom.h scsi: ufs-qcom: add QUniPro hardware support and power optimizations 2015-11-09 18:03:55 -05:00
ufs.h ufs: add UFS power management support 2014-10-01 13:11:23 +02:00
ufshcd-pci.c SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM 2014-12-15 15:11:06 +01:00
ufshcd-pltfrm.c scsi: ufs: fix spelling mistake in error message 2015-11-30 20:52:33 -05:00
ufshcd-pltfrm.h scsi: ufs: make the UFS variant a platform device 2015-11-09 18:00:02 -05:00
ufshcd.c scsi: ufs: avoid exception event handler racing with PM callbacks 2016-02-23 21:27:02 -05:00
ufshcd.h scsi: ufs-qcom: add QUniPro hardware support and power optimizations 2015-11-09 18:03:55 -05:00
ufshci.h scsi: ufs: add quirk to handle broken UFS HCI version 2015-06-02 13:20:14 -07:00
unipro.h ufs: fix TRUE and FALSE re-define build error 2015-06-15 14:40:50 +02:00