kernel-fxtec-pro1x/drivers/net/wireless/iwlwifi
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
..
iwl-100.c
iwl-3945-fh.h
iwl-3945-hw.h iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-3945-led.c iwlwifi: another led naming fix 2009-02-09 15:03:47 -05:00
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c iwlwifi: fix FAT channel config for 5000 series 2009-02-13 13:46:08 -05:00
iwl-3945.h
iwl-4965-hw.h iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-4965.c iwlwifi: drop PCIe workaround applicable for development boards 2009-02-13 13:46:06 -05:00
iwl-5000-hw.h
iwl-5000.c iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-6000-hw.h
iwl-6000.c
iwl-agn-rs.c
iwl-agn-rs.h
iwl-agn.c iwlwifi: dma mapping read and write changes 2009-02-27 14:52:47 -05:00
iwl-calib.c wireless: replace uses of __constant_{endian} 2009-02-09 15:03:43 -05:00
iwl-calib.h
iwl-commands.h wireless: replace uses of __constant_{endian} 2009-02-09 15:03:43 -05:00
iwl-core.c iwl3945: use iwl_isr 2009-02-27 14:52:46 -05:00
iwl-core.h iwl3945: use iwl_isr 2009-02-27 14:52:46 -05:00
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlwifi: Fix and rework Kconfig file 2009-02-27 14:52:35 -05:00
iwl-eeprom.c iwlwifi: fix FAT channel config for 5000 series 2009-02-13 13:46:08 -05:00
iwl-eeprom.h iwlwifi: fix FAT channel config for 5000 series 2009-02-13 13:46:08 -05:00
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h wireless: replace uses of __constant_{endian} 2009-02-09 15:03:43 -05:00
iwl-power.c iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-power.h wireless: replace uses of __constant_{endian} 2009-02-09 15:03:43 -05:00
iwl-prph.h
iwl-rfkill.c
iwl-rfkill.h
iwl-rx.c
iwl-scan.c iwl3945: use iwl_mac_hw_scan callback 2009-02-27 14:52:45 -05:00
iwl-spectrum.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c iwlwifi: dma mapping read and write changes 2009-02-27 14:52:47 -05:00
iwl3945-base.c iwl3945: use SW rfkill from iwlwifi 2009-02-27 14:52:46 -05:00
Kconfig iwlwifi: Fix and rework Kconfig file 2009-02-27 14:52:35 -05:00
Makefile iwlwifi: Fix and rework Kconfig file 2009-02-27 14:52:35 -05:00