From: John Snow <jsnow@redhat.com>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
keith.busch@intel.com, kwolf@redhat.com, mreitz@redhat.com,
pbonzini@redhat.com, qemu-devel@nongnu.org,
qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCHv2 0/2] dma-helpers: explicitly pass alignment into DMA helpers
Date: Fri, 14 Oct 2016 17:21:24 -0400 [thread overview]
Message-ID: <0af7f090-3a97-465a-f00e-289772ba865f@redhat.com> (raw)
In-Reply-To: <1476445266-27503-1-git-send-email-mark.cave-ayland@ilande.co.uk>
On 10/14/2016 07:41 AM, Mark Cave-Ayland wrote:
> 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>
>
> v2:
> - Use QEMU_IS_ALIGNED and QEMU_ALIGN_DOWN macros suggested by Eric
> - Add Reviewed-by/Acked-by tags from Eric and John
> - Rebase onto master
>
> Mark Cave-Ayland (2):
> dma-helpers: explicitly pass alignment into DMA helpers
> macio: switch over to new byte-aligned DMA helpers
>
> dma-helpers.c | 21 ++---
> 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, 54 insertions(+), 202 deletions(-)
>
Did you know: "PATCHv2" apparently confuses our patches scraper?
Anyway:
Thanks, applied to my IDE tree:
https://github.com/jnsnow/qemu/commits/ide
https://github.com/jnsnow/qemu.git
--js
prev parent reply other threads:[~2016-10-14 21:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-14 11:41 [Qemu-devel] [PATCHv2 0/2] dma-helpers: explicitly pass alignment into DMA helpers Mark Cave-Ayland
2016-10-14 11:41 ` [Qemu-devel] [PATCHv2 1/2] " Mark Cave-Ayland
2016-10-14 11:41 ` [Qemu-devel] [PATCHv2 2/2] macio: switch over to new byte-aligned " Mark Cave-Ayland
2016-10-14 21:21 ` John Snow [this message]
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=0af7f090-3a97-465a-f00e-289772ba865f@redhat.com \
--to=jsnow@redhat.com \
--cc=keith.busch@intel.com \
--cc=kwolf@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).