From: Ricky WU <ricky_wu@realtek.com>
To: Genes Lists <lists@sapience.com>, Keith Busch <kbusch@kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"axboe@kernel.dk" <axboe@kernel.dk>,
"sagi@grimberg.me" <sagi@grimberg.me>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>,
"hch@lst.de" <hch@lst.de>, "arnd@arndb.de" <arnd@arndb.de>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Subject: RE: Possible nvme regression in 6.4.11
Date: Thu, 24 Aug 2023 02:44:52 +0000 [thread overview]
Message-ID: <180a2bbd2c314ede8f6c4c16cc4603bf@realtek.com> (raw)
In-Reply-To: <7cf188d0-77b4-4e80-8da6-2045a7f29866@sapience.com>
Hi Gene,
I can't reproduce this issue on my side...
So if you only revert this patch (69304c8d285b77c9a56d68f5ddb2558f27abf406) can work fine?
This patch only do is pull our clock request to HIGH if HOST need also can pull to LOW, and this only do on our device
I don’t think this will affect other ports...
BR,
Ricky
> -----Original Message-----
> From: Genes Lists <lists@sapience.com>
> Sent: Thursday, August 24, 2023 4:25 AM
> To: Keith Busch <kbusch@kernel.org>
> Cc: linux-kernel@vger.kernel.org; axboe@kernel.dk; sagi@grimberg.me;
> linux-nvme@lists.infradead.org; hch@lst.de; arnd@arndb.de; Ricky WU
> <ricky_wu@realtek.com>; gregkh@linuxfoundation.org
> Subject: Re: Possible nvme regression in 6.4.11
>
>
> External mail.
>
>
>
> On 8/23/23 13:41, Keith Busch wrote:
> > On Thu, Aug 17, 2023 at 05:16:01AM -0400, Genes Lists wrote:
> >>> ----------------------------------------------------------------
> >>> 69304c8d285b77c9a56d68f5ddb2558f27abf406 is the first bad commit
> >>> commit 69304c8d285b77c9a56d68f5ddb2558f27abf406
> >>> Author: Ricky WU <ricky_wu@realtek.com>
> >>> Date: Tue Jul 25 09:10:54 2023 +0000
> >>>
> >>> misc: rtsx: judge ASPM Mode to set PETXCFG Reg
> >>>
> >>> commit 101bd907b4244a726980ee67f95ed9cafab6ff7a upstream.
> >>>
> >>> ASPM Mode is ASPM_MODE_CFG need to judge the value of
> clkreq_0
> >>> to set HIGH or LOW, if the ASPM Mode is ASPM_MODE_REG
> >>> always set to HIGH during the initialization.
> >>>
> >>> Cc: stable@vger.kernel.org
> >>> Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
> >>> Link:
> >>>
> https://lore.kernel.org/r/52906c6836374c8cb068225954c5543a@realtek.com
> >>> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >>>
> >>> drivers/misc/cardreader/rts5227.c | 2 +-
> >>> drivers/misc/cardreader/rts5228.c | 18 ------------------
> >>> drivers/misc/cardreader/rts5249.c | 3 +--
> >>> drivers/misc/cardreader/rts5260.c | 18 ------------------
> >>> drivers/misc/cardreader/rts5261.c | 18 ------------------
> >>> drivers/misc/cardreader/rtsx_pcr.c | 5 ++++-
> >>> 6 files changed, 6 insertions(+), 58 deletions(-)
> >>>
> >>> ------------------------------------------------------
> >>>
> >>> And the machine does have this hardware:
> >>>
> >>> 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
> >>> RTS525A PCI Express Card Reader (rev 01)
> >>> Subsystem: Dell RTS525A PCI Express Card Reader
> >>> Physical Slot: 1
> >>> Flags: bus master, fast devsel, latency 0, IRQ 141
> >>> Memory at ed100000 (32-bit, non-prefetchable) [size=4K]
> >>> Capabilities: [80] Power Management version 3
> >>> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit+
> >>> Capabilities: [b0] Express Endpoint, MSI 00
> >>> Kernel driver in use: rtsx_pci
> >>> Kernel modules: rtsx_pci
> >>>
> >>>
> >>>
> >>
> >>
> >> Adding to CC list since bisect landed on
> >>
> >> drivers/misc/cardreader/rtsx_pcr.c
> >>
> >> Thread starts here: https://lkml.org/lkml/2023/8/16/1154
> >
> > I realize you can work around this by blacklisting the rtsx_pci, but
> > that's not a pleasant solution. With only a few days left in 6.5,
> > should the commit just be reverted?
>
> Keith - thanks for reminder.
>
> The card reader device itself is non-critical and very low priority.
>
> What perhaps is a little more worrisome is the change in rtsx somehow
> prevented nvme from functioning normally and the machine then not booting
> (at least for some combination(s) of hardware).
>
> If there is a simple fix to prevent nvme from being impacted by the rtsx driver
> that would be more than sufficient?
>
> On the other hand 6.4.11 is out, and I'm guessing there isn't a lot of noise on
> this either. From what I've seen, 1 other user with same problem [1] and 1 with
> same card reader not having a problema [2].
> And no 'me-too's in the kernel bugzilla [3] either.
>
>
> Gene
>
>
> [1] https://bbs.archlinux.org/viewtopic.php?id=288095
> [2] https://bugs.archlinux.org/task/79439
> [3] https://bugzilla.kernel.org/show_bug.cgi?id=217802
>
>
>
>
> ------Please consider the environment before printing this e-mail.
next prev parent reply other threads:[~2023-08-24 2:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-16 20:39 Possible nvme regression in 6.4.11 Genes Lists
2023-08-16 21:04 ` Keith Busch
2023-08-17 1:30 ` Genes Lists
2023-08-17 9:16 ` Genes Lists
2023-08-17 17:28 ` Keith Busch
2023-08-17 17:43 ` Genes Lists
2023-08-23 17:41 ` Keith Busch
2023-08-23 20:25 ` Genes Lists
2023-08-24 2:44 ` Ricky WU [this message]
2023-08-24 9:48 ` Genes Lists
2023-08-24 10:22 ` Genes Lists
2023-08-25 12:51 ` Ricky WU
2023-08-30 21:09 ` Genes Lists
2023-09-11 8:02 ` Linux regression tracking (Thorsten Leemhuis)
2023-09-11 11:38 ` Thorsten Leemhuis
2023-09-18 17:07 ` [Revert] " Jade Lovelace
2023-09-18 17:07 ` [PATCH] Revert "misc: rtsx: judge ASPM Mode to set PETXCFG Reg" Jade Lovelace
2023-09-11 15:41 ` Possible nvme regression in 6.4.11 Augusto Zanellato
2023-08-24 11:29 ` Genes Lists
2023-08-17 3:00 ` Bagas Sanjaya
2023-09-29 11:49 ` Linux regression tracking #update (Thorsten Leemhuis)
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=180a2bbd2c314ede8f6c4c16cc4603bf@realtek.com \
--to=ricky_wu@realtek.com \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=gregkh@linuxfoundation.org \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=lists@sapience.com \
--cc=sagi@grimberg.me \
/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