Files
linux-legacy/drivers/net
Fenghua Yu 96891ceeda iwlwifi: dma mapping read and write changes
When iwlwifi 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 iwlwifi
driver calls DMA mapping with PCI_DMA_TODEVICE which is read only in mapping
PTE. But iwlwifi 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 iwl TX command contains a scratch field that is updated by uCode to
indicate retry counts. For 5000 series the patch is required also for
regular frames, but this patch does not differenciate.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-27 14:52:47 -05:00
..
2009-02-22 19:54:16 -08:00
…
…
2009-02-20 00:42:01 -08:00
…
…
2009-02-24 16:39:21 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-02-12 16:53:48 -08:00
2009-02-12 16:53:22 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:24:08 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:31:58 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:32:01 -08:00
2009-02-15 23:31:42 -08:00
2009-02-15 23:31:58 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-02-01 00:58:26 -08:00
2009-02-01 00:54:16 -08:00
2009-02-04 16:43:44 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-02-24 23:17:21 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-02-03 15:08:36 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-02-20 00:35:45 -08:00
…
…
2009-02-02 21:39:02 -08:00
…
…
…
…
…
…
…
…
…
2009-02-14 20:46:39 -08:00
…
…
…
…
…