summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2009-02-25 06:06:26 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-25 18:30:56 +0100
commit6aa03ab06978e97b3e0720f83280d7841051916b (patch)
treea3575e24836180935611515a3610b59b3a642982 /ipc/shm.c
parentMerge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ad... (diff)
downloadlinux-6aa03ab06978e97b3e0720f83280d7841051916b.tar.xz
linux-6aa03ab06978e97b3e0720f83280d7841051916b.zip
Fix iwlan DMA mapping direction
When iwlan runs on IOMMU, IOMMU generates a lot of PTE write faults because PTE write bit is not set on some of PTE's. This is because iwlan driver calls DMA mapping with PCI_DMA_TODEVICE which is read only in mapping PTE. But iwlan device actually writes to the mapped page to update its contents. This issue is not exposed in swiotlb. But VT-d hardware can capture this fault and stop the fault transaction. The following patch fixes the issue. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Reviewed-by: Bhavesh Davda <bhavesh@vmware.com> Tested-by: Chris Wright <chrisw@sous-sol.org> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions