aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorFenghua Yu <[email protected]>2009-02-25 14:06:26 +0900
committerLinus Torvalds <[email protected]>2009-02-25 09:30:56 -0800
commit6aa03ab06978e97b3e0720f83280d7841051916b (patch)
treea3575e24836180935611515a3610b59b3a642982 /lib/string_helpers.c
parent694593e3374a67d95ece6a275a1f181644c2c4d8 (diff)
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 <[email protected]> Reviewed-by: Bhavesh Davda <[email protected]> Tested-by: Chris Wright <[email protected]> Acked-by: Tomas Winkler <[email protected]> Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions