All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/4] macio: change DMA methods over to offset/len implementation
@ 2015-06-04 21:59 Mark Cave-Ayland
  2015-06-04 21:59 ` [Qemu-devel] [PATCH v2 1/4] macio: switch pmac_dma_read() over to new " Mark Cave-Ayland
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mark Cave-Ayland @ 2015-06-04 21:59 UTC (permalink / raw)
  To: jsnow, agraf, qemu-devel, qemu-ppc

This patchset follows on from my recent work on fixing issues with the
macio controller, and remodels the new pmac_dma_read() and pmac_dma_write()
functions in a similar manner to the unaligned block functions.

With this in place, long chains of overlapping unaligned requests as used
by OS X/Darwin will now work correctly without introducting torn sector
errors when writing to disk.

Also included are some tidy-ups as a result of the above changes.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

v2:
  Fix debug format strings on 32-bit platforms
  Add John's Reviewed-by tags
  Rebase onto git master

Mark Cave-Ayland (4):
  macio: switch pmac_dma_read() over to new offset/len implementation
  macio: switch pmac_dma_write() over to new offset/len implementation
  macio: update comment/constants to reflect the new code
  macio: remove remainder_len DBDMA_io property

 hw/ide/macio.c             |  271 +++++++++++++++++---------------------------
 include/hw/ppc/mac_dbdma.h |    4 +-
 2 files changed, 105 insertions(+), 170 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2015-06-05  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04 21:59 [Qemu-devel] [PATCH v2 0/4] macio: change DMA methods over to offset/len implementation Mark Cave-Ayland
2015-06-04 21:59 ` [Qemu-devel] [PATCH v2 1/4] macio: switch pmac_dma_read() over to new " Mark Cave-Ayland
2015-06-04 21:59 ` [Qemu-devel] [PATCH v2 2/4] macio: switch pmac_dma_write() " Mark Cave-Ayland
2015-06-04 21:59 ` [Qemu-devel] [PATCH v2 3/4] macio: update comment/constants to reflect the new code Mark Cave-Ayland
2015-06-04 21:59 ` [Qemu-devel] [PATCH v2 4/4] macio: remove remainder_len DBDMA_io property Mark Cave-Ayland
2015-06-05  0:27 ` [Qemu-devel] [PATCH v2 0/4] macio: change DMA methods over to offset/len implementation John Snow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.