linux_dsm_epyc7002/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
..
iwl3945-base.c iwl3945: use SW rfkill from iwlwifi 2009-02-27 14:52:46 -05:00
iwl-100.c iwlwifi: correct API command overlap 2009-02-09 15:03:42 -05:00
iwl-3945-fh.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
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 iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-rs.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-3945.c iwlwifi: fix FAT channel config for 5000 series 2009-02-13 13:46:08 -05:00
iwl-3945.h iwl3945: Getting rid of the *39_rxon iwl_priv fields 2009-02-09 15:03:33 -05:00
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 iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-5000.c iwlwifi: use pci registers defined in pci_regs.h 2009-02-13 13:46:04 -05:00
iwl-6000-hw.h iwlwifi: add recognition of Intel WiFi Link 6000 and 6050 Series 2009-01-29 16:01:02 -05:00
iwl-6000.c iwlwifi: remove chain noise calibration functions from 6000 family 2009-02-09 15:03:42 -05:00
iwl-agn-rs.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-agn-rs.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
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 iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
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 iwlwifi: add new HW_REV_TYPEs for Intel WiFi Link 100, 6000 and 6050 Series 2009-02-09 15:03:41 -05:00
iwl-debug.h iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-debugfs.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
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 iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-hcmd.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-helpers.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-io.h iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-led.c iwlwifi: fix led naming 2009-02-09 15:03:43 -05:00
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 iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rfkill.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-rfkill.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rx.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-scan.c iwl3945: use iwl_mac_hw_scan callback 2009-02-27 14:52:45 -05:00
iwl-spectrum.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-spectrum.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-sta.c iwlwifi: don't use implicit priv in IWL_DEBUG 2009-02-09 15:03:34 -05:00
iwl-sta.h iwl3945: Remaining host command cleanups 2009-01-29 16:01:37 -05:00
iwl-tx.c iwlwifi: dma mapping read and write changes 2009-02-27 14:52:47 -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