]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xhci: workaround for AMD Promontory disabled ports wakeup
authorJoe Lee <asmt.swfae@gmail.com>
Mon, 12 Feb 2018 12:24:46 +0000 (14:24 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit3ed41bceae929fc83b1926f12add076e989e8f15
tree3892698bcc3898caa4e18baa67f4f3dc8994d906
parent5245eac450dfc55237b4165dae916e2b544b8a99
xhci: workaround for AMD Promontory disabled ports wakeup

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit bde0716d1f076e4c913c7946bcc858f71243c7a0 ]

For AMD Promontory xHCI host, although you can disable USB ports in
BIOS settings, those ports will be enabled anyway after you remove a
device on that port and re-plug it in again. It's a known limitation of
the chip. As a workaround we can clear the PORT_WAKE_BITS.

[commit and code comment rephrasing -Mathias]
Signed-off-by: Joe Lee <asmt.swfae@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/host/pci-quirks.c
drivers/usb/host/pci-quirks.h
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.h