scsi: ufs: Disable autohibern8 feature in Cadence UFS
PATCH 1/1 scsi: ufs: Disable autohibern8 feature in Cadence UFS
This patch disables autohibern8 feature in Cadence UFS.
The autohibern8 feature has issues due to which unexpected interrupt trigger is happening. After the interrupt issue is sorted out autohibern8 feature will be re-enabled
--- drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/scsi/ufs/cdns-pltfrm.c +6 -0
@@ -98,6 +98,12 @@ static int cdns_ufs_link_startup_notify(struct ufs_hba *hba,* completed. */ ufshcd_dme_set (hba,UIC_ARG_MIB (PA_LOCAL_TX_LCC_ENABLE ),0 ); + +/* +* Disabling Autohibern8 feature in cadence UFS +* to mask unexpected interrupt trigger. +*/ + hba->ahit =0 ;return 0 ; }
Signature · 1 line
2.17.1
Quoted 14 lines
-----Original Message-----
From: sheebab <[email protected]>
Sent: 03 December 2019 15:37
To: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; sheebab <[email protected]>
Subject: [PATCH] scsi: ufs: Disable autohibern8 feature in Cadence UFS
Quoted 2 lines
This patch disables autohibern8 feature in Cadence UFS. The autohibern8 feature has issues due to which unexpected interrupt
trigger is
Quoted 1 line
happening. After the interrupt issue is sorted out autohibern8 feature
will be re-
Quoted 4 lines
enabled
Signed-off-by sheebab <[email protected]>---
Probably we want to mark this as FIX for the older kernel version?
Review
Quoted 4 lines
drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++ 1 file changed, 6 insertions(+)(quoted diff) +0
-0
b/drivers/scsi/ufs/cdns-pltfrm.c index
Quoted 19 lines
b2af04c57a39..882425d1166b100644drivers/scsi/ufs/cdns-pltfrm.c +6
-0@@ -98,6 +98,12 @@ static int cdns_ufs_link_startup_notify(struct ufs_hba*hba, * completed. */ ufshcd_dme_set (hba,UIC_ARG_MIB (PA_LOCAL_TX_LCC_ENABLE ),0 ); + +/* +* Disabling Autohibern8 feature in cadence UFS +* to mask unexpected interrupt trigger. +*/ + hba->ahit =0 ;return 0 ;}
--
2.17.1
Quoted 7 lines · sheebab
This patch disables autohibern8 feature in Cadence UFS.
The autohibern8 feature has issues due to which unexpected interrupt trigger is happening. After the interrupt issue is sorted out autohibern8 feature will be re-enabledSigned-off-by sheebab <[email protected]>---
You will have to repost patch 2/2[1] of your previous series as that patch no longer applies cleanly anymore given that we no longer want 1/2 to be merged.
[1]
https://lore.kernel.org/linux-scsi/[email protected]/
Quoted 21 lines
drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/scsi/ufs/cdns-pltfrm.c +6
-0@@ -98,6 +98,12 @@ static int cdns_ufs_link_startup_notify(struct ufs_hba *hba,* completed. */ ufshcd_dme_set (hba,UIC_ARG_MIB (PA_LOCAL_TX_LCC_ENABLE ),0 ); + +/* +* Disabling Autohibern8 feature in cadence UFS +* to mask unexpected interrupt trigger. +*/ + hba->ahit =0 ;return 0 ; }
Signature · 2 lines
Regards Vignesh
Martin K. Petersen
Appliedsheebab,
Quoted 4 lines
This patch disables autohibern8 feature in Cadence UFS. The autohibern8 feature has issues due to which unexpected interrupt trigger is happening. After the interrupt issue is sorted out autohibern8 feature will be re-enabled
Applied to 5.5/scsi-fixes, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering