public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* x86_64 IOMMU question
@ 2004-03-11 12:14 Boszormenyi Zoltan
  0 siblings, 0 replies; 2+ messages in thread
From: Boszormenyi Zoltan @ 2004-03-11 12:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

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?

-- 
Best regards,
Zoltán Böszörményi

---------------------
What did Hussein say about his knife?
One in Bush worth two in the hand.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: x86_64 IOMMU question
       [not found] <1yxkz-6ct-31@gated-at.bofh.it>
@ 2004-03-17 23:14 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2004-03-17 23:14 UTC (permalink / raw)
  To: Boszormenyi Zoltan; +Cc: linux-kernel

Boszormenyi Zoltan <zboszor@freemail.hu> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-11 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1yxkz-6ct-31@gated-at.bofh.it>
2004-03-17 23:14 ` x86_64 IOMMU question Andi Kleen
2004-03-11 12:14 Boszormenyi Zoltan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox