diff options
author | 2023-06-12 16:58:10 +0800 | |
---|---|---|
committer | 2023-06-16 12:04:31 -0400 | |
commit | aa9d5d0015a8b73aa557ab45933efe9cb68a3784 (patch) | |
tree | b4d39515049cd3149678e5f6f3717757e1b9ac0c /include/ufs/ufshcd.h | |
parent | scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR (diff) | |
download | linux-aa9d5d0015a8b73aa557ab45933efe9cb68a3784.tar.gz linux-aa9d5d0015a8b73aa557ab45933efe9cb68a3784.tar.bz2 linux-aa9d5d0015a8b73aa557ab45933efe9cb68a3784.zip |
scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC
Some hosts do not implement SQ Run Time Command (SQRTC) register, thus we
need this quirk to skip the related flow.
Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com>
Link: https://lore.kernel.org/r/20230612085817.12275-3-powen.kao@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs/ufshcd.h')
-rw-r--r-- | include/ufs/ufshcd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index 5dc37e47f399..9674094d623d 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -617,6 +617,12 @@ enum ufshcd_quirks { * Enable this quirk will disable CQES and use per queue interrupt. */ UFSHCD_QUIRK_MCQ_BROKEN_INTR = 1 << 20, + + /* + * Some host does not implement SQ Run Time Command (SQRTC) register + * thus need this quirk to skip related flow. + */ + UFSHCD_QUIRK_MCQ_BROKEN_RTC = 1 << 21, }; enum ufshcd_caps { |