[lkml]   [2009]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit
    On Thu, 21 May 2009 13:18:54 -0700
    Jeremy Fitzhardinge <> wrote:

    > Becky Bruce wrote:
    > > I can work with that, but it's going to be a bit inefficient, as I
    > > actually need the dma_addr_t, not the phys_addr_t, so I'll have to
    > > convert. In every case, this is a conversion I've already done and
    > > that I need in the calling code as well. Can we pass in both the
    > > phys_addr_t and the dma_addr_t?
    > The Xen implementation would needs to do the phys to bus conversion page
    > by page anyway, so it wouldn't help much. But it also wouldn't hurt.
    > How expensive is the phys-to-bus conversion on power? Is it worth
    > making the interface more complex for? Would passing phys+bus mean that
    > we wouldn't also need to pass dev?

    I don't think so. POWERPC needs it.

     \ /
      Last update: 2009-05-22 12:55    [W:0.021 / U:2.652 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site