u-boot-brain/drivers/usb/host
Wolfgang Denk 09c83a45b7 ehci-hcd.c: fix hanging under higher load
This patch solves a problem with USB hanging under higher load on a
i.MX31 board.  It falls into class of typical USB problems and fixes:
if you don't understand the real cause, add a delay somewhere.

The problem appeared after introduction of ELF relocation, which
results in smaller code, which appears to run faster (probably because
it fits better in the cache); turning off the instruction cache,
adding debug printf()s and increasing the delay have all been found to
make the problem go away.

Moving the original "udelay(1)" up in the code to it's new place made
the problem appear much less frequently. Increasing the delay to 2
microseconds then made the code run reliably in all (hour-long) tests.
To be on the safe side, we set it to 5 microseconds here.

Signed-off-by: Heiko schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Stefano Babic <sbabic@denx.de>
2010-10-22 21:44:37 +02:00
..
ehci-core.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci-fsl.c MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
ehci-hcd.c ehci-hcd.c: fix hanging under higher load 2010-10-22 21:44:37 +02:00
ehci-ixp4xx.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci-kirkwood.c Coding Style cleanup; update CHANGELOG. 2009-07-23 22:23:23 +02:00
ehci-mpc512x.c MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
ehci-mxc.c MX31: add delay between USB port setup and reset 2010-10-18 15:21:36 +02:00
ehci-pci.c ehci-pci: print hccr, hcor and hc_lenght 2010-10-22 21:41:45 +02:00
ehci-ppc4xx.c Add ppc440epx USB ehci support. 2010-01-09 10:27:15 +01:00
ehci-vct.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
ehci.h USB: fix Queue Element Transfer Descriptor changes 2010-10-22 21:41:45 +02:00
isp116x-hcd.c mips: Move cpu/mips/* to arch/mips/cpu/* 2010-04-13 09:13:25 +02:00
isp116x.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
Makefile MPC5121: Add USB EHCI support 2010-10-18 22:33:32 +02:00
ohci-at91.c USB OHCI support for at91sam9g45 SoC 2010-06-30 21:37:36 +02:00
ohci-hcd.c USB: Make non-bulk delay longer in OHCI 2010-10-13 12:07:58 +02:00
ohci.h drivers/usb/host/ohci-hcd: rename readl/writel to ohci_readl/ohci_writel 2010-06-30 21:38:10 +02:00
r8a66597-hcd.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
r8a66597.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
s3c64xx-hcd.c s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx 2009-11-27 16:26:13 -06:00
sl811-hcd.c drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00
sl811.h drivers/usb: regorganisation 2009-04-06 20:40:46 +02:00