mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] more dma fixes
@ 2012-06-21  9:55 Sascha Hauer
  2012-06-21  9:55 ` [PATCH 1/9] USB core: allocate setup_packet using dma_alloc Sascha Hauer
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Sascha Hauer @ 2012-06-21  9:55 UTC (permalink / raw)
  To: barebox

Hi All,

Based on Marcs series here are some more fixes to the cache handling for
USB/ehci. As Marc already mentioned we have to make sure that buffers which
are used for DMA are cacheline aligned, otherwise we risk corrupting data
around the buffers.

Sascha

----------------------------------------------------------------
Sascha Hauer (9):
      USB core: allocate setup_packet using dma_alloc
      USB core: device descriptor using dma_alloc
      USB core: Allocate tmpbuf using dma_alloc
      USB ehci: Use dma coherent buffers for qh/qtd
      USB ehci: put fields of struct qTD directly into struct QH
      USB storage: use dma_alloc where appropriate
      block: use dma_alloc to allocate buffers
      partition: Use dma_alloc for allocating buffers
      USB ehci: rework cache handling

 common/block.c                  |    7 +--
 common/partitions.c             |    5 +-
 drivers/usb/core/usb.c          |  100 ++++++++++++++++++++----------------
 drivers/usb/host/ehci-hcd.c     |  108 ++++++++++++---------------------------
 drivers/usb/host/ehci.h         |   10 +++-
 drivers/usb/storage/transport.c |   11 ++--
 include/usb/usb.h               |    3 +-
 7 files changed, 115 insertions(+), 129 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-21  9:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21  9:55 [PATCH] more dma fixes Sascha Hauer
2012-06-21  9:55 ` [PATCH 1/9] USB core: allocate setup_packet using dma_alloc Sascha Hauer
2012-06-21  9:55 ` [PATCH 2/9] USB core: device descriptor " Sascha Hauer
2012-06-21  9:55 ` [PATCH 3/9] USB core: Allocate tmpbuf " Sascha Hauer
2012-06-21  9:55 ` [PATCH 4/9] USB ehci: Use dma coherent buffers for qh/qtd Sascha Hauer
2012-06-21  9:55 ` [PATCH 5/9] USB ehci: put fields of struct qTD directly into struct QH Sascha Hauer
2012-06-21  9:55 ` [PATCH 6/9] USB storage: use dma_alloc where appropriate Sascha Hauer
2012-06-21  9:55 ` [PATCH 7/9] block: use dma_alloc to allocate buffers Sascha Hauer
2012-06-21  9:55 ` [PATCH 8/9] partition: Use dma_alloc for allocating buffers Sascha Hauer
2012-06-21  9:55 ` [PATCH 9/9] USB ehci: rework cache handling Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox