APPLIED [OEM-5.10] Re: [PATCH 0/1][SRU][OEM-5.10/U] Fix suspend/resume with TBT storage attached on Intel Maple Ridge addon card

Timo Aaltonen tjaalton at ubuntu.com
Thu Mar 18 18:39:56 UTC 2021


On 9.3.2021 13.16, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1916467
> 
> [Impact]
> 
> Systems with Intel Maple Ridge addon card with tbt devices attached may
> fail to suspend/resume.
> 
> [Fix]
> 
> Commit 319696aa80 ("xhci: Fix repeated xhci wake after suspend due to
> uncleared internal wake state") currently landed in
> https://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git branch
> for-usb-linus.
> 
> [Test Case]
> 
> When booted from unpatched kernel, starting from oem-5.10 that has
> received Intel Maple Ridge enablement fixes, XHCI port on Maple Ridge
> card may wake itself unsolicitedly when performing runtime/deep suspend:
> 
>    kernel: [326] pci_pme_active:2422: xhci_hcd 0000:37:00.0: PME# disabled
>    kernel: [326] __pci_set_master:4219: xhci_hcd 0000:37:00.0: enabling bus mastering
>    kernel: [326] pci_save_state:1553: xhci_hcd 0000:37:00.0: saving config space at offset 0x0 (reading 0x11388086)
>    ...
>    kernel: [326] pci_pme_active:2422: xhci_hcd 0000:37:00.0: PME# enabled
> 
> The suspend resume process will stuck forever.
> 
> [Where problems could occur]
> 
> Tried on a few more platforms, didn't found possible regression.
> 
> Mathias Nyman (1):
>    xhci: Fix repeated xhci wake after suspend due to uncleared internal
>      wake state
> 
>   drivers/usb/host/xhci.c | 62 ++++++++++++++++++++---------------------
>   1 file changed, 30 insertions(+), 32 deletions(-)
> 

applied via stable patchset

-- 
t



More information about the kernel-team mailing list