[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO |
Date: |
Tue, 16 Dec 2008 18:35:08 +0200 |
On 12/16/08, Paul Brook <address@hidden> wrote:
> > The generic resolving API should look something like
> >
> > int (*resolve)(target_phys_addr_t address_in, target_phys_addr_t
> > length_in, target_phys_addr_t &address_out, target_phys_addr_t
> > &length_out)
>
>
> I don't think this is sufficient. A paged iommu may split a single range into
> multiple disjoint sections. i.e. we need SG lists.
That's why there is the length_out, it is called repeatedly until the
length is zero or it fails.
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, (continued)
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/15
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Blue Swirl, 2008/12/15
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/15
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Blue Swirl, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Blue Swirl, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Blue Swirl, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Paul Brook, 2008/12/16
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO,
Blue Swirl <=
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Jamie Lokier, 2008/12/14
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, 2008/12/13
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/13
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, 2008/12/13
- Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andreas Färber, 2008/12/13
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, 2008/12/13
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, 2008/12/14
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/14
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, 2008/12/14
- [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, 2008/12/14