[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081222143507R.fujita.tomonori@lab.ntt.co.jp>
Date: Mon, 22 Dec 2008 14:34:57 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: jeremy@...p.org
Cc: beckyb@...nel.crashing.org, mingo@...e.hu,
fujita.tomonori@....ntt.co.jp, linux-kernel@...r.kernel.org,
ian.campbell@...rix.com, jbeulich@...ell.com, joerg.roedel@....com,
benh@...nel.crashing.org
Subject: Re: [PATCH 06/11] swiotlb: Store phys address in io_tlb_orig_addr
array
On Fri, 19 Dec 2008 09:39:58 -0800
Jeremy Fitzhardinge <jeremy@...p.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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists