summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKiwoong Kim <kwmad.kim@samsung.com>2022-08-02 03:42:31 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-08-12 04:04:32 +0200
commit6d17a112e9a63ff6a5edffd1676b99e0ffbcd269 (patch)
tree961aa09e25af482b1a604bed573c920b3c4c3520 /include
parentscsi: core: Allow the ALUA transitioning state enough time (diff)
downloadlinux-6d17a112e9a63ff6a5edffd1676b99e0ffbcd269.tar.xz
linux-6d17a112e9a63ff6a5edffd1676b99e0ffbcd269.zip
scsi: ufs: core: Enable link lost interrupt
Link lost is treated as fatal error with commit c99b9b230149 ("scsi: ufs: Treat link loss as fatal error"), but the event isn't registered as interrupt source. Enable it. Link: https://lore.kernel.org/r/1659404551-160958-1-git-send-email-kwmad.kim@samsung.com Fixes: c99b9b230149 ("scsi: ufs: Treat link loss as fatal error") Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/ufs/ufshci.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ufs/ufshci.h b/include/ufs/ufshci.h
index f81aa95ffbc4..f525566a0864 100644
--- a/include/ufs/ufshci.h
+++ b/include/ufs/ufshci.h
@@ -135,11 +135,7 @@ static inline u32 ufshci_version(u32 major, u32 minor)
#define UFSHCD_UIC_MASK (UIC_COMMAND_COMPL | UFSHCD_UIC_PWR_MASK)
-#define UFSHCD_ERROR_MASK (UIC_ERROR |\
- DEVICE_FATAL_ERROR |\
- CONTROLLER_FATAL_ERROR |\
- SYSTEM_BUS_FATAL_ERROR |\
- CRYPTO_ENGINE_FATAL_ERROR)
+#define UFSHCD_ERROR_MASK (UIC_ERROR | INT_FATAL_ERRORS)
#define INT_FATAL_ERRORS (DEVICE_FATAL_ERROR |\
CONTROLLER_FATAL_ERROR |\