From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btHCz-0002rU-6u for qemu-devel@nongnu.org; Sun, 09 Oct 2016 12:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btHCu-0006nV-Vx for qemu-devel@nongnu.org; Sun, 09 Oct 2016 12:44:16 -0400 From: Mark Cave-Ayland Date: Sun, 9 Oct 2016 17:43:37 +0100 Message-Id: <1476031419-6805-1-git-send-email-mark.cave-ayland@ilande.co.uk> Subject: [Qemu-devel] [PATCH 0/2] dma-helpers: explicitly pass alignment into dma-helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: keith.busch@intel.com, kwolf@redhat.com, mreitz@redhat.com, jsnow@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org This is a follow-up to the thread at https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg01396.html which introduces an explicit alignment to the DMA helpers to facilitate conversion of the macio controller over to use the now byte-aligned DMA helpers. Patch 1 introduces an alignment parameter as suggested by Paolo above, whilst patch 2 performs the conversion for the macio controller. Signed-off-by: Mark Cave-Ayland Mark Cave-Ayland (2): dma-helpers: explicitly pass alignment into dma-helpers macio: switch over to new byte-aligned DMA helpers dma-helpers.c | 20 ++--- hw/block/nvme.c | 6 +- hw/ide/ahci.c | 2 + hw/ide/core.c | 6 +- hw/ide/macio.c | 213 +++++++------------------------------------------- hw/scsi/scsi-disk.c | 2 + include/sysemu/dma.h | 6 +- 7 files changed, 53 insertions(+), 202 deletions(-) -- 1.7.10.4