linux/drivers/usb/host
Sebastian Andrzej Siewior b14e840d04 USB: isp1760: Implement solution for erratum 2
The document says:
|2.1 Problem description
|    When at least two USB devices are simultaneously running, it is observed that
|    sometimes the INT corresponding to one of the USB devices stops occurring. This may
|    be observed sometimes with USB-to-serial or USB-to-network devices.
|    The problem is not noticed when only USB mass storage devices are running.
|2.2 Implication
|    This issue is because of the clearing of the respective Done Map bit on reading the ATL
|    PTD Done Map register when an INT is generated by another PTD completion, but is not
|    found set on that read access. In this situation, the respective Done Map bit will remain
|    reset and no further INT will be asserted so the data transfer corresponding to that USB
|    device will stop.
|2.3 Workaround
|    An SOF INT can be used instead of an ATL INT with polling on Done bits. A time-out can
|    be implemented and if a certain Done bit is never set, verification of the PTD completion
|    can be done by reading PTD contents (valid bit).
|    This is a proven workaround implemented in software.

Russell King run into this with an USB-to-serial converter. This patch
implements his suggestion to enable the high frequent SOF interrupt only
at the time we have ATL packages queued. It goes even one step further
and enables the SOF interrupt only if we have more than one ATL packet
queued at the same time.

Cc: <stable@kernel.org> # [2.6.35.x, 2.6.36.x, 2.6.37.x]
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-17 10:47:55 -08:00
..
whci
ehci-atmel.c
ehci-au1xxx.c USB: EHCI: fix scheduling while atomic during suspend 2011-02-03 16:57:43 -08:00
ehci-cns3xxx.c
ehci-dbg.c USB: EHCI: Cleanup and rewrite ehci_vdgb(). 2011-02-04 11:43:58 -08:00
ehci-fsl.c USB: ehci-fsl: Fix 'have_sysif_regs' detection 2011-01-22 18:38:58 -08:00
ehci-fsl.h USB: ehci-fsl: Fix 'have_sysif_regs' detection 2011-01-22 18:38:58 -08:00
ehci-hcd.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ehci-hub.c Merge 2.6.38-rc5 into usb-next 2011-02-17 09:56:55 -08:00
ehci-ixp4xx.c
ehci-lpm.c USB: Mark EHCI LPM functions as __maybe_unused 2011-02-17 10:47:55 -08:00
ehci-mem.c
ehci-msm.c
ehci-mxc.c USB: ehci-mxc: add work-around for efika mx/sb bug 2011-01-22 18:48:10 -08:00
ehci-octeon.c
ehci-omap.c usb: ehci-omap: Show fatal probing time errors to end user 2011-02-01 11:06:09 +02:00
ehci-orion.c
ehci-pci.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c USB: EHCI: Rearrange EHCI_URB_TRACE code to avoid GCC-4.6 warnings. 2011-02-04 11:43:59 -08:00
ehci-sched.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ehci-sh.c
ehci-spear.c
ehci-vt8500.c
ehci-w90x900.c
ehci-xilinx-of.c
ehci.h Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fsl-mph-dr-of.c USB: ehci-fsl: Fix 'have_sysif_regs' detection 2011-01-22 18:38:58 -08:00
hwa-hc.c
imx21-dbg.c
imx21-hcd.c USB: HCD: Add usb_hcd prefix to exported functions 2011-02-04 11:48:18 -08:00
imx21-hcd.h
isp116x-hcd.c
isp116x.h
isp1362-hcd.c
isp1362.h
isp1760-hcd.c USB: isp1760: Implement solution for erratum 2 2011-02-17 10:47:55 -08:00
isp1760-hcd.h USB: isp1760: Implement solution for erratum 2 2011-02-17 10:47:55 -08:00
isp1760-if.c
Kconfig USB: Fix trout build failure with ci13xxx_msm gadget 2011-02-04 12:38:14 -08:00
Makefile
octeon2-common.c
ohci-at91.c
ohci-au1xxx.c
ohci-cns3xxx.c
ohci-da8xx.c
ohci-dbg.c
ohci-ep93xx.c
ohci-hcd.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ohci-hub.c
ohci-jz4740.c
ohci-lh7a404.c
ohci-mem.c
ohci-octeon.c
ohci-omap.c
ohci-omap3.c
ohci-pci.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ohci-pnx4008.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
ohci-s3c2410.c
ohci-sa1111.c
ohci-sh.c
ohci-sm501.c
ohci-spear.c
ohci-ssb.c
ohci-tmio.c
ohci.h Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
oxu210hp-hcd.c
oxu210hp.h
pci-quirks.c Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
pci-quirks.h Revert "USB host: Move AMD PLL quirk to pci-quirks.c" 2011-02-17 09:54:16 -08:00
r8a66597-hcd.c
r8a66597.h
sl811-hcd.c USB SL811HS HCD: Fix memory leak in sl811h_urb_enqueue() 2011-02-03 16:42:17 -08:00
sl811.h
sl811_cs.c
u132-hcd.c
uhci-debug.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-q.c
xhci-dbg.c
xhci-ext-caps.h
xhci-hub.c
xhci-mem.c
xhci-pci.c
xhci-ring.c xhci: Remove more doorbell-related reads 2011-01-14 15:52:00 -08:00
xhci.c xhci: Use GFP_NOIO during device reset. 2011-01-14 15:51:51 -08:00
xhci.h xhci: Remove more doorbell-related reads 2011-01-14 15:52:00 -08:00