All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bochnig, Martin" <mb1x@gmx.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu and solaris, suggested pci-ide DMA PATCH
Date: Fri, 03 Sep 2004 18:18:00 +0200	[thread overview]
Message-ID: <41389938.3060707@gmx.com> (raw)
In-Reply-To: <200409031256.i83CuILj020249@tiger2.tools.intra>

Hi,

very good,
thanx.

I will try it tonight.


Martin


Juergen Keil wrote:
> I wrote:
> 
> 
>>As far as I understand it, the Solaris ata driver does not use DMA
>>transfers with the "pci-ide" qemu hardware, because the "bus master
>>support indicator" bit in pci configuration space offset 09h is not
>>set.
>>
>>The message from the Solaris 10 b63 kernel is something like:
>>
>>  "ATA DMA off: cntrl not Bus Master DMA capable"
>>
>>So it'll fall back to PIO mode transfers.  PIO transfers may be slow, but
>>that's OK, so far.
> 
> 
> The following patch changes the qemu pci-ide device to report a
> "pci buster master ide controller" instead of a "pci ide controller
> (without bus master support)".  With that patch installed, a Solaris x86
> guest os starts using DMA ide transfers.  Maximum transfer rates on the qemu
> ide hdd doubles (I observe ~10MByte/sec in DMA mode vs. ~5MByte/sec in PIO
> mode). 
> 
> (The patch includes the busmaster status register patch I send two days ago,
> to enable the pci-ide controller for Solaris x86 in qemu "-pci" mode)

      reply	other threads:[~2004-09-03 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03 12:56 [Qemu-devel] qemu and solaris, suggested pci-ide DMA PATCH Juergen Keil
2004-09-03 16:18 ` Bochnig, Martin [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=41389938.3060707@gmx.com \
    --to=mb1x@gmx.com \
    --cc=bochnig@pool.math.tu-berlin.de \
    --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.