On Fri, Jul 16, 2021 at 12:40:10PM +0200, Werner Sembach wrote:
From: Mario Limonciello <mario.limonciello@amd.com>
BugLink: https://bugs.launchpad.net/bugs/1936583
The XHCI controller is required to enter D3hot rather than D3cold for AMD
s2idle on this hardware generation.
Otherwise, the 'Controller Not Ready' (CNR) bit is not being cleared by
host in resume and eventually this results in xhci resume failures during
the s2idle wakeup.
Link: https://lore.kernel.org/linux-usb/1612527609-7053-1-git-send-email-Prike.Liang@amd.com/ (local)
Suggested-by: Prike Liang <redacted>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Cc: stable <redacted> # 5.11+
Link: https://lore.kernel.org/r/20210527154534.8900-1-mario.limonciello@amd.com (local)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit d1658268e43980c071dbffc3d894f6f6c4b6732a)
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
---
drivers/usb/host/xhci-pci.c | 7 ++++++-
drivers/usb/host/xhci.h | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
Any reason you resent us a patch that is already in a stable release?
And why not just use the stable kernel trees as-is? Why attempt to
cherry-pick random portions of them?
thanks,
greg k-h