[U-Boot] [PATCH V2 0/8] Fixes to EHCI cache handling & smsc95xx

Ilya Yanok ilya.yanok at cogentembedded.com
Sun Jul 15 16:43:45 CEST 2012


This is my second version of long-dicussed series initially posted
by Tom, then by me and then by Marek ;)

This inlcudes proper alignment handling inside EHCI HCD driver,
a little bit more careful error handling and cacheline alignment
fix for smsc95xx USB Ethernet driver.

I noticed no problems with mcx board but with TI beagle xM I get
"EHCI timed out on TD" errors from time to time. Probably that's
because I'm testing with different set of devices. Anyway I can
see the same errors on beagle xM without these series applied
(with D-Cache completely disabled) so I don't think the problem
was introduced by these patches.

Ilya Yanok (5):
  ehci-hcd: fix external buffer cache handling
  usb: pass cache-aligned buffer to usb_get_descriptor()
  usb: check return value of submit_{control,bulk}_msg
  ehci-hcd: change debug() to printf() in case of errors
  smsc95xx: align buffers to cache line size

Marek Vasut (1):
  common.h: Introduce DEFINE_CACHE_ALIGN_BUFFER

Tom Rini (2):
  ehci-omap: Do not call dcache_off from omap_ehci_hcd_init
  ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache
    alignment

 common/usb.c                 |   12 ++++--
 drivers/usb/eth/smsc95xx.c   |   13 ++++--
 drivers/usb/host/ehci-hcd.c  |   93 +++++++++++++++++++++++-------------------
 drivers/usb/host/ehci-omap.c |    1 -
 drivers/usb/musb/musb_core.h |    2 +-
 include/common.h             |   21 ++++++++--
 include/usb.h                |   10 +++++
 7 files changed, 97 insertions(+), 55 deletions(-)

-- 
1.7.9.5



More information about the U-Boot mailing list