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

From: FUJITA Tomonori
Date: Mon Dec 22 2008 - 00:35:53 EST


On Fri, 19 Dec 2008 09:39:58 -0800
Jeremy Fitzhardinge <jeremy@xxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/