APPLIED: [SRU][H/I/U][PATCH 0/1] Separate aspm mode Realtek PCI interfaced card readers

Stefan Bader stefan.bader at canonical.com
Fri Jun 18 09:23:57 UTC 2021


On 15.06.21 11:47, chris.chiu at canonical.com wrote:
> From: Chris Chiu <chris.chiu at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1929444
> 
> [SRU Justification]
> 
> [Impact]
> The memory card can be detected and mount correctly when the system starts
> with the card inserted. But it will fail to be detected at the subsequent
> re-plug. It only happens on particular Realtek older PCI interfaced card
> readers. The RTL8411B (10ec:5287) is reported problematic for this issue.
> 
> [Fix]
> Found the commit 121e9c6b5c4c ("misc: rtsx: modify and fix init_hw function")
> in 5.11.0-rc1 introduces this regression. The fix from upstream use the
> old ASPM control for particular realtek card reader models: 8411 5209 5227
> 5229 5249 5250.
> 
> [Test]
> Verified on the Realtek PCI interfaced card reader RTL8411B and verify
> whether the memory card can be detected for each re-plug.
> 
> [Where problem could occur]
> The regression can be considered as low since the fix has specified
> separate ASPM control for particular Realtek Card Readers.
> 
> 
> Ricky Wu (1):
>    misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG
> 
>   drivers/misc/cardreader/rtl8411.c  |  1 +
>   drivers/misc/cardreader/rts5209.c  |  1 +
>   drivers/misc/cardreader/rts5227.c  |  2 ++
>   drivers/misc/cardreader/rts5228.c  |  1 +
>   drivers/misc/cardreader/rts5229.c  |  1 +
>   drivers/misc/cardreader/rts5249.c  |  3 ++
>   drivers/misc/cardreader/rts5260.c  |  1 +
>   drivers/misc/cardreader/rts5261.c  |  1 +
>   drivers/misc/cardreader/rtsx_pcr.c | 44 +++++++++++++++++++++---------
>   include/linux/rtsx_pci.h           |  2 ++
>   10 files changed, 44 insertions(+), 13 deletions(-)
> 
Applied to hirsute:linux. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210618/acb3e5e4/attachment-0001.sig>


More information about the kernel-team mailing list