Re: x86_64 IOMMU question

From: Andi Kleen
Date: Thu Mar 11 2004 - 08:09:22 EST


Boszormenyi Zoltan <zboszor@xxxxxxxxxxx> writes:

> is it possible to use the IOMMU to help 32 bit devices
> that limit their capabilities with pci_set_dma_mask()?
> E.g. the emu10k1 limits itself under 256MB. Can the IOMMU
> pass the data to/from the card from/to above 256MB?

It can only remap to the AGP aperture, which is usually
just below the 4GB boundary. In theory you could move the aperture
to a very low address and remap to that (see
arch/x86_64/kernel/aperture.c), but that would waste memory.

-Andi

-
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/