Re: [PATCH 06/11] swiotlb: Store phys address in io_tlb_orig_addr array

FUJITA Tomonori
2008-12-22T05:35:52Z

On Fri, 19 Dec 2008 09:39:58 -0800
Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Becky Bruce wrote:
> > When we enable swiotlb for platforms that support HIGHMEM, we
> > can no longer store the virtual address of the original dma
> > buffer, because that buffer might not have a permament mapping.
> > Change the iotlb code to instead store the physical address of
> > the original buffer.
> >
>
> Hm, yes, I think using a phys_addr_t may end up being cleaner than using
> struct page *+offset.

Surely, cleaner and simpler. Can you please rework [PATCH 07/11] in
that way?