Re: [RFC] block layer support for DMA IOMMU bypass mode II

From: Andi Kleen (ak@suse.de)
Date: Tue Jul 01 2003 - 19:22:44 EST


On Tue, 01 Jul 2003 17:03:23 -0700 (PDT)
"David S. Miller" <davem@redhat.com> wrote:

> From: Andi Kleen <ak@suse.de>
> Date: Wed, 2 Jul 2003 01:57:01 +0200
>
> The K8 IOMMU cannot support this virtually contiguous thing. The reason
> is that there is no guarantee that an entry in a sglist is a multiple
> of page size. And the aperture can only map 4K sized chunks, like
> a CPU MMU. So e.g. when you have an sglist with multiple 1K entries there is
> What do you mean? You map only one 4K chunk, and this is used
> for all the sub-1K mappings.

How should this work when the 1K mappings are spread all over memory?

Maybe I'm missing something but from James description it sounds like the
block layer assumes that it can pass in a sglist with arbitary elements
and get it back remapped to continuous DMA addresses.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:14 EST