[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <011201d5a9c4$d0f99780$72ecc680$@samsung.com>
Date: Tue, 3 Dec 2019 16:01:18 +0530
From: "Alim Akhtar" <alim.akhtar@...sung.com>
To: "'sheebab'" <sheebab@...ence.com>, <avri.altman@....com>,
<pedrom.sousa@...opsys.com>, <jejb@...ux.ibm.com>,
<martin.petersen@...cle.com>, <stanley.chu@...iatek.com>,
<beanhuo@...ron.com>, <yuehaibing@...wei.com>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<vigneshr@...com>
Cc: <mparab@...ence.com>, <rafalc@...ence.com>
Subject: RE: [PATCH] scsi: ufs: Disable autohibern8 feature in Cadence UFS
> -----Original Message-----
> From: sheebab <sheebab@...ence.com>
> Sent: 03 December 2019 15:37
> To: alim.akhtar@...sung.com; avri.altman@....com;
> pedrom.sousa@...opsys.com; jejb@...ux.ibm.com;
> martin.petersen@...cle.com; stanley.chu@...iatek.com;
> beanhuo@...ron.com; yuehaibing@...wei.com; linux-scsi@...r.kernel.org;
> linux-kernel@...r.kernel.org; vigneshr@...com
> Cc: mparab@...ence.com; rafalc@...ence.com; sheebab
> <sheebab@...ence.com>
> Subject: [PATCH] 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
>
> Signed-off-by: sheebab <sheebab@...ence.com>
> ---
Probably we want to mark this as FIX for the older kernel version?
Reviewed-by: Alim Akhtar <alim.akhtar@...sung.com>
> drivers/scsi/ufs/cdns-pltfrm.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/scsi/ufs/cdns-pltfrm.c
b/drivers/scsi/ufs/cdns-pltfrm.c index
> b2af04c57a39..882425d1166b 100644
> --- a/drivers/scsi/ufs/cdns-pltfrm.c
> +++ b/drivers/scsi/ufs/cdns-pltfrm.c
> @@ -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
Powered by blists - more mailing lists