From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz9Uk-00053o-2o for qemu-devel@nongnu.org; Sun, 31 May 2015 16:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yz9Ug-0002f9-Tr for qemu-devel@nongnu.org; Sun, 31 May 2015 16:06:06 -0400 From: Mark Cave-Ayland Date: Sun, 31 May 2015 21:05:28 +0100 Message-Id: <1433102732-24034-1-git-send-email-mark.cave-ayland@ilande.co.uk> Subject: [Qemu-devel] [PATCH 0/4] macio: change DMA methods over to offset/len implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jsnow@redhat.com, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org 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 (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