qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: pbonzini@redhat.com, qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] macio: switch over to new byte-aligned DMA helpers
Date: Tue, 31 May 2016 08:02:06 +0100	[thread overview]
Message-ID: <574D36EE.5030200@ilande.co.uk> (raw)
In-Reply-To: <20160530211911.GA27823@aurel32.net>

On 30/05/16 22:19, Aurelien Jarno wrote:

> On 2016-05-27 09:48, Mark Cave-Ayland wrote:
>> Here is a tidied up version of my patch to convert the macio controller over to
>> using the new byte-aligned DMA helpers.
>>
>> The first patch is just a hack and temporarily disables unaligned iovec
>> truncation in the DMA helper (as discussed in the recent thread) until Paolo or
>> someone else can devise a proper solution. Without this, the subsequent switch
>> over to the DMA helpers will appear to work during a Darwin PPC install but the
>> resulting image is corrupt and will fail to boot.
>>
>> The second patch is the real one and switches the macio controller over to use
>> the new byte-aligned DMA helpers. Here I see a speed-up of around 2.5x-3x for
>> a typical Darwin PPC installation compared to the previous code.
>>
>> Aurelien, I'd be grateful if you could test the TRIM path as I know this is
>> something you've had issues with before and I couldn't quite figure out how to
>> reproduce your TRIM tests from before.
> 
> I have just tested the TRIM path, all works fine with your 2 patches
> applied.

Thanks a lot for testing this, Aurelien. In that case I'll resubmit
patch 2 officially once Paolo has figured out the correct solution for
the iovec truncation.


ATB,

Mark.

      reply	other threads:[~2016-05-31  7:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-27  8:48 [Qemu-devel] [PATCH 0/2] macio: switch over to new byte-aligned DMA helpers Mark Cave-Ayland
2016-05-27  8:48 ` [Qemu-devel] [PATCH 1/2] dma-helpers.c: [HACK] disable iovec truncation to nearest sector size Mark Cave-Ayland
2016-05-27  8:48 ` [Qemu-devel] [PATCH 2/2] macio: switch over to new byte-aligned DMA helpers Mark Cave-Ayland
2016-05-27 15:02   ` John Snow
2016-05-27 15:22     ` Mark Cave-Ayland
2016-05-30 21:19 ` [Qemu-devel] [PATCH 0/2] " Aurelien Jarno
2016-05-31  7:02   ` Mark Cave-Ayland [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=574D36EE.5030200@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=aurelien@aurel32.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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).