]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitbee44f294efd8417f5e68553778a6cc957af1547
tree765ab42985836390cb0e83403deb9ff59d1f59a8
parent589fc9a6e2102b498978f6350581ec7fa5aeb032
x86: make GART to respect device's dma_mask about virtual mappings

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>
arch/x86/kernel/pci-gart_64.c