All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
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
Subject: [Qemu-devel] [PATCH 0/2] dma-helpers: explicitly pass alignment into dma-helpers
Date: Sun,  9 Oct 2016 17:43:37 +0100	[thread overview]
Message-ID: <1476031419-6805-1-git-send-email-mark.cave-ayland@ilande.co.uk> (raw)

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@ilande.co.uk>

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

             reply	other threads:[~2016-10-09 16:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09 16:43 Mark Cave-Ayland [this message]
2016-10-09 16:43 ` [Qemu-devel] [PATCH 1/2] dma-helpers: explicitly pass alignment into dma-helpers Mark Cave-Ayland
2016-10-10 16:34   ` Eric Blake
2016-10-10 19:23     ` Mark Cave-Ayland
2016-10-11 15:47       ` John Snow
2016-10-12 10:22         ` Kevin Wolf
2016-10-12 16:04           ` John Snow
2016-10-09 16:43 ` [Qemu-devel] [PATCH 2/2] macio: switch over to new byte-aligned DMA helpers Mark Cave-Ayland
2016-10-10 16:50   ` Eric Blake
2016-10-11 16:58   ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476031419-6805-1-git-send-email-mark.cave-ayland@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=jsnow@redhat.com \
    --cc=keith.busch@intel.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.