Public bug reported:

[ Impact ]

Since the introduction of the following patch:

    UBUNTU: SAUCE: PCI: pciehp: Fix system hang during resume with
daisy-chained hotplug controllers

it has been observed that on some platforms with AMD Hawk Point
processor that the rtsx 525a SD card reader may fail to resume from
s2idle. When this happens, the kernel log will complain:


    kernel: rtsx_pci 0000:02:00.0: Unable to change power state from D3hot to 
D0, device inaccessible
    kernel: PM: noirq resume of devices complete after 162.982 msecs
    kernel: PM: early resume of devices complete after 2.181 msecs
    kernel: rtsx_pci 0000:02:00.0: PM: dpm_run_callback(): pci_pm_resume 
returns -110
    kernel: rtsx_pci 0000:02:00.0: PM: failed to resume async: error -110

Meanwhile, another patch upstream:

    e3260237aaad (PCI: pciehp: Avoid unnecessary device replacement
check)

fixed the same issue this SAUCE patch attempted to solve without this
side effect. This patch has landed in 6.15 kernel.

[ Fix ]

Revert the following patch:

    UBUNTU: SAUCE: PCI: pciehp: Fix system hang during resume with
daisy-chained hotplug controllers

And replace it with:

    e3260237aaad (PCI: pciehp: Avoid unnecessary device replacement
check)

[ Test ]

1. Suspend on platform with said SD card reader and resume. The rtsx_pci 
suspend error message shouldn't appear
2. Perform the test described in LP: #2082225 
(https://bugs.launchpad.net/bugs/2082225) on the same platform. It should pass 
the test.

[ Where the problem could occur ]

This patch introduces differentiation between device replacement and
device disconnect during suspend. If for some reasons there are devices
that relies on spurious device replacement detection to resume, then the
resume may fail.

** Affects: linux-oem-6.11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111875

Title:
  [SRU] Fix resume issues on some PCI devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.11/+bug/2111875/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to