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

chris.chiu at canonical.com chris.chiu at canonical.com
Tue Jun 15 09:47:52 UTC 2021


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(-)

-- 
2.25.1




More information about the kernel-team mailing list