usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
Subsystems (2)
PATCH 1/1 usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
Fixes suspend/resume
--- drivers/usb/host/xhci-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-pci.c +2 -1
@@ -135,7 +135,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) xhci->quirks |=XHCI_AMD_PLL_FIX ;if (pdev->vendor ==PCI_VENDOR_ID_AMD && - (pdev->device ==0x15e0 || + (pdev->device ==0x145c || + pdev->device ==0x15e0 || pdev->device ==0x15e1 || pdev->device ==0x43bb )) xhci->quirks |=XHCI_SUSPEND_DELAY ;
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 1 line · Alberto Mattea
Fixes suspend/resume
We are going to need a lot more information here, sorry. Please be explicit as to what you are doing and why.
thanks,
greg k-h
In data lunedì 17 febbraio 2020 16:45:38 CET, hai scritto:
Quoted 10 lines · Alberto Mattea
Quoted 1 line
Fixes suspend/resume
We are going to need a lot more information here, sorry. Please be explicit as to what you are doing and why.
thanks,
greg k-h
Sure, what about
"This controller timeouts during suspend (S3) with
[ 240.521724] xhci_hcd 0000:30:00.3: WARN: xHC save state timeout [ 240.521729] xhci_hcd 0000:30:00.3: ERROR mismatched command completion event
thus preventing the system from entering S3. Moreover it remains in an undefined state where some connected devices stop working until a reboot.
Apply the XHCI_SUSPEND_DELAY quirk to make it suspend properly."
Thanks,
Alberto
Greg KH
maintainerQuoted 12 lines · Alberto Mattea
In data lunedì 17 febbraio 2020 16:45:38 CET, hai scritto:
Quoted 10 lines · Alberto Mattea
Quoted 1 line
Fixes suspend/resume
We are going to need a lot more information here, sorry. Please be explicit as to what you are doing and why.
thanks,
greg k-h
Quoted 7 lines
Sure, what about
"This controller timeouts during suspend (S3) with[ 240.521724] xhci_hcd 0000:30:00.3: WARN: xHC save state timeout [ 240.521729] xhci_hcd 0000:30:00.3: ERROR mismatched command completion eventthus preventing the system from entering S3. Moreover it remains in an undefined state where some connected devices stop working until a reboot.
Apply theXHCI_SUSPEND_DELAYquirk to make it suspend properly."
I sure beats the original 3 words you wrote :)
In data lunedì 17 febbraio 2020 17:30:18 CET, Greg KH ha scritto:
Quoted 21 lines · Alberto Mattea
Quoted 12 lines
In data lunedì 17 febbraio 2020 16:45:38 CET, hai scritto:
Quoted 10 lines · Alberto Mattea
Quoted 1 line
Fixes suspend/resume
We are going to need a lot more information here, sorry. Please be explicit as to what you are doing and why.
thanks,
greg k-h
Quoted 7 lines
Sure, what about
"This controller timeouts during suspend (S3) with[ 240.521724] xhci_hcd 0000:30:00.3: WARN: xHC save state timeout [ 240.521729] xhci_hcd 0000:30:00.3: ERROR mismatched command completion eventthus preventing the system from entering S3. Moreover it remains in an undefined state where some connected devices stop working until a reboot.
Apply theXHCI_SUSPEND_DELAYquirk to make it suspend properly."
Quoted 3 lines
I sure beats the original 3 words you wrote :)
Great, I'll fix the commit and resend the patch :)