[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191219183131.230267215@linuxfoundation.org>
Date: Thu, 19 Dec 2019 19:34:50 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, sheebab <sheebab@...ence.com>,
Alim Akhtar <alim.akhtar@...sung.com>,
Vignesh Raghavendra <vigneshr@...com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Subject: [PATCH 5.4 58/80] scsi: ufs: Disable autohibern8 feature in Cadence UFS
From: sheebab <sheebab@...ence.com>
commit d168001d14eccfda229b4a41a2c31a21e3c379da upstream.
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
Link: https://lore.kernel.org/r/1575367635-22662-1-git-send-email-sheebab@cadence.com
Cc: <stable@...r.kernel.org>
Signed-off-by: sheebab <sheebab@...ence.com>
Reviewed-by: Alim Akhtar <alim.akhtar@...sung.com>
Tested-by: Vignesh Raghavendra <vigneshr@...com>
Signed-off-by: Martin K. Petersen <martin.petersen@...cle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/drivers/scsi/ufs/cdns-pltfrm.c
+++ b/drivers/scsi/ufs/cdns-pltfrm.c
@@ -99,6 +99,12 @@ static int cdns_ufs_link_startup_notify(
*/
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;
}
Powered by blists - more mailing lists