]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: xhci: Fix soft lockup in xhci_pci_probe path when XHCI_STATE_HALTED
authorKamal Mostafa <kamal@canonical.com>
Fri, 29 Jul 2016 18:01:30 +0000 (11:01 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 9 Aug 2016 13:09:17 +0000 (15:09 +0200)
commited3d7f6676e040b362c59b82b258ec78417c7a0e
tree26f7891ad475663174f90e47b657666d7af32d0c
parentfc3bda557d7f4c7d3bece97c3195116d201d9e96
UBUNTU: SAUCE: xhci: Fix soft lockup in xhci_pci_probe path when XHCI_STATE_HALTED

Commit 27a41a83ec54 ("xhci: Cleanup only when releasing primary hcd")
causes a soft lockup at boot when XHCI_STATE_HALTED, preventing
VirtualBox 5.1.x from booting if USB3.0 is enabled.

Revert to allowing xhci_irq to handle the interrupt when
XHCI_STATE_HALTED but not XHCI_STATE_DYING.

Fixes: 27a41a83ec54 ("xhci: Cleanup only when releasing primary hcd")
BugLink: https://bugs.launchpad.net/bugs/1604058
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Cc: <stable@vger.kernel.org> #v4.3+
Cc: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/host/xhci-ring.c