x86: make GART to respect device's dma_mask about virtual mappings
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 12 Sep 2008 10:42:35 +0000 (19:42 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 14:42:37 +0000 (16:42 +0200)
Currently, GART IOMMU ingores device's dma_mask when it does virtual
mappings. So it could give a device a virtual address that the device
can't access to.

This patch fixes the above problem.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found