From: Vignesh Raghavendra <vigneshr@ti.com>
To: sheebab <sheebab@cadence.com>, <alim.akhtar@samsung.com>,
<avri.altman@wdc.com>, <pedrom.sousa@synopsys.com>,
<jejb@linux.ibm.com>, <martin.petersen@oracle.com>,
<stanley.chu@mediatek.com>, <beanhuo@micron.com>,
<yuehaibing@huawei.com>, <linux-scsi@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-block@vger.kernel.org>
Cc: <rafalc@cadence.com>, <mparab@cadence.com>
Subject: Re: [PATCH RESEND 0/2] scsi: ufs: hibern8 fixes
Date: Fri, 22 Nov 2019 17:14:18 +0530 [thread overview]
Message-ID: <ae8a7e7e-f60c-0ba3-4a98-78c4c962ae4d@ti.com> (raw)
In-Reply-To: <1574147082-22725-1-git-send-email-sheebab@cadence.com>
Hi,
On 19/11/19 12:34 PM, sheebab wrote:
> Hi,
>
> Resending this patch to include mailing list and miss out patches.
>
> This patch set contains following patches
> for Cadence UFS controller driver.
>
> 1. 0001-scsi-ufs-Enable-hibern8-interrupt-only-during-manual.patch
> This patch is to fix false interrupt assertion during auto hibernation.
> In this patch, hibern8 interrupt is Disabled during initialization
> and later the interrupt is Enabled/Disabled during manual hibern8
> Entry/Exit.
> 2. 0002-scsi-ufs-Update-L4-attributes-on-manual-hibern8-exit.patch
> This patch is to update L4 attributes during manual hibern8 exit.
> As per JESD220C spec, L4 attributes will be reset to their reset value
> during DME_HIBERNATION_EXIT. This patch will take backup of the L4
> parameters before DME_HIBERNATION_ENTER and restores the L4 parameters
> after DME_HIBERNATION_EXIT
>
While I don't see flood of hibernate related interrupts anymore, I
occasionally see "Unhandled Interrupt dump"[1] when using rootfs out of
UFS. I haven't be able to find a way to trigger the issue. But seems to
happen randomly while trying to input and execute something from console.
[1]
j7-evm login: root
[ 55.300495] cdns-ufshcd 4e84000.ufs: ufshcd_intr: Unhandled interrupt
0x00000000
[ 55.307884] host_regs: 00000000: 1587031f 00000000 00000210 00000000
[ 55.314217] host_regs: 00000010: 00000000 00000000 00000c96 00000000
[ 55.320551] host_regs: 00000020: 00000014 00030e15 00000000 00000000
[ 55.326884] host_regs: 00000030: 0000010f 00000001 00000000 80000002
[ 55.333217] host_regs: 00000040: 00000000 00000000 00000000 00000000
[ 55.339551] host_regs: 00000050: c1ee0000 00000008 00008000 00000000
[ 55.345884] host_regs: 00000060: 00000001 ffffffff 00000000 00000000
[ 55.352217] host_regs: 00000070: c1ef0000 00000008 00000000 00000000
[ 55.358550] host_regs: 00000080: 00000001 00000000 00000000 00000000
[ 55.364884] host_regs: 00000090: 00000002 15710000 00000000 00000000
More such occurrence: https://pastebin.ubuntu.com/p/Df4dykkTmB/
>
> Thanks,
> Sheeba B
>
> sheebab (2):
> scsi: ufs: Enable hibern8 interrupt only during manual hibern8 in
> Cadence UFS.
> scsi: ufs: Update L4 attributes on manual hibern8 exit in Cadence UFS.
>
> drivers/scsi/ufs/cdns-pltfrm.c | 172 +++++++++++++++++++++++++++++++++--
> 1 file changed, 167 insertions(+), 5 deletions(-)
>
--
Regards
Vignesh
next prev parent reply other threads:[~2019-11-22 11:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 7:04 sheebab
2019-11-19 7:04 ` [PATCH RESEND 1/2] scsi: ufs: Enable hibern8 interrupt only during manual hibern8 in Cadence UFS sheebab
2019-11-19 7:04 ` [PATCH RESEND 2/2] scsi: ufs: Update L4 attributes on manual hibern8 exit " sheebab
2019-11-20 16:20 ` Alim Akhtar
2019-11-21 10:56 ` Vignesh Raghavendra
2019-11-27 3:42 ` Alim Akhtar
2019-11-27 4:15 ` Vignesh Raghavendra
2019-11-27 15:18 ` Avri Altman
2019-11-28 13:59 ` Alim Akhtar
2019-11-22 11:44 ` Vignesh Raghavendra [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-11-15 11:00 [PATCH RESEND 0/2] scsi: ufs: hibern8 fixes sheebab
2019-11-19 4:36 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ae8a7e7e-f60c-0ba3-4a98-78c4c962ae4d@ti.com \
--to=vigneshr@ti.com \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=jejb@linux.ibm.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=mparab@cadence.com \
--cc=pedrom.sousa@synopsys.com \
--cc=rafalc@cadence.com \
--cc=sheebab@cadence.com \
--cc=stanley.chu@mediatek.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®