WSL2-Linux-Kernel/drivers/usb/host
Mathias Nyman c9aa1a2de4 xhci: Add a global command queue
Create a list to store command structures, add a structure to it every time
a command is submitted, and remove it from the list once we get a
command completion event matching the command.

Callers that wait for completion will free their command structures themselves.
The other command structures are freed in the command completion event handler.

Also add a check that prevents queuing commands if host is dying

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-20 10:03:25 +09:00
..
whci usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-04-02 16:23:38 -07:00
Makefile
bcma-hcd.c
ehci-atmel.c
ehci-dbg.c
ehci-exynos.c usb: ehci-exynos: Return immediately from suspend if ehci_suspend fails 2014-04-16 13:59:13 -07:00
ehci-fsl.c fsl-usb: do not test for PHY_CLK_VALID bit on controller version 1.6 2014-05-03 18:04:28 -04:00
ehci-fsl.h
ehci-grlib.c
ehci-hcd.c usb: ehci: fix deadlock when threadirqs option is used 2014-02-26 15:46:42 -08:00
ehci-hub.c USB: EHCI: Export the ehci_hub_control function 2014-04-24 13:05:32 -07:00
ehci-mem.c
ehci-msm.c
ehci-mv.c
ehci-mxc.c
ehci-octeon.c
ehci-omap.c
ehci-orion.c
ehci-pci.c
ehci-platform.c usb: ehci-platform: Return immediately from suspend if ehci_suspend fails 2014-04-16 13:59:13 -07:00
ehci-pmcmsp.c
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c
ehci-sched.c
ehci-sead3.c
ehci-sh.c
ehci-spear.c
ehci-sysfs.c
ehci-tegra.c USB: EHCI: Export the ehci_hub_control function 2014-04-24 13:05:32 -07:00
ehci-tilegx.c
ehci-timer.c
ehci-w90x900.c
ehci-xilinx-of.c
ehci.h USB: EHCI: Export the ehci_hub_control function 2014-04-24 13:05:32 -07:00
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fotg210-hcd.c
fotg210.h
fsl-mph-dr-of.c USB: fsl-mph-dr-of: adjust for OF based clock lookup 2014-01-12 18:53:05 +01:00
fusbh200-hcd.c
fusbh200.h
hwa-hc.c usb: wusbcore: disable transfer notifications for Alereon HWAs 2014-03-07 12:52:04 -08:00
imx21-dbg.c
imx21-hcd.c
imx21-hcd.h
isp116x-hcd.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
isp116x.h
isp1362-hcd.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
isp1362.h
isp1760-hcd.c
isp1760-hcd.h
isp1760-if.c
octeon2-common.c
ohci-at91.c USB: OHCI: Export the OHCI hub control and status_data functions 2014-04-24 13:05:32 -07:00
ohci-da8xx.c
ohci-dbg.c
ohci-exynos.c usb: ohci-exynos: Remove locks for 'ohci' in suspend callback 2014-04-24 13:05:32 -07:00
ohci-hcd.c
ohci-hub.c Merge 3.15-rc5 into usb-next 2014-05-20 09:49:41 +09:00
ohci-jz4740.c USB: ohci-jz4740: FEAT_POWER is a port feature, not a hub feature 2014-04-16 13:59:41 -07:00
ohci-mem.c
ohci-nxp.c
ohci-octeon.c
ohci-omap.c
ohci-omap3.c
ohci-pci.c USB: OHCI: fix problem with global suspend on ATI controllers 2014-05-03 17:58:46 -04:00
ohci-platform.c USB: ohci-platform: check for platform data misconfiguration 2014-02-11 13:39:54 -08:00
ohci-ppc-of.c
ohci-ps3.c
ohci-pxa27x.c USB: ohci-pxa27x: Add support for external vbus regulators 2014-04-24 13:05:32 -07:00
ohci-q.c
ohci-s3c2410.c USB: OHCI: Export the OHCI hub control and status_data functions 2014-04-24 13:05:32 -07:00
ohci-sa1111.c
ohci-sm501.c
ohci-spear.c
ohci-tilegx.c
ohci-tmio.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
ohci.h Merge 3.15-rc5 into usb-next 2014-05-20 09:49:41 +09:00
oxu210hp-hcd.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
oxu210hp.h
pci-quirks.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
pci-quirks.h
r8a66597-hcd.c ARM: driver updates for 3.14 2014-01-23 18:49:36 -08:00
r8a66597.h
sl811-hcd.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
sl811.h
sl811_cs.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
ssb-hcd.c
u132-hcd.c
uhci-debug.c
uhci-grlib.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-pci.c
uhci-platform.c uhci-platform: Change compatible string from platform-uhci to generic-uhci 2014-02-15 12:25:51 -08:00
uhci-q.c
xhci-dbg.c Revert "xhci: replace xhci_read_64() with readq()" 2014-01-30 13:27:49 -08:00
xhci-ext-caps.h
xhci-hub.c xhci: Use command structures when queuing commands on the command ring 2014-05-20 10:03:25 +09:00
xhci-mem.c xhci: Add a global command queue 2014-05-20 10:03:25 +09:00
xhci-pci.c xhci: extend quirk for Renesas cards 2014-04-25 09:34:10 -07:00
xhci-plat.c storage: accept some UAS devices if streams are unavailable 2014-03-04 15:41:09 -08:00
xhci-ring.c xhci: Add a global command queue 2014-05-20 10:03:25 +09:00
xhci-trace.c
xhci-trace.h
xhci.c xhci: Add a global command queue 2014-05-20 10:03:25 +09:00
xhci.h xhci: Add a global command queue 2014-05-20 10:03:25 +09:00