android_kernel_motorola_sm6225/drivers/net/wireless
Fenghua Yu 6aa03ab069 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>
2009-02-25 09:30:56 -08:00
..
ath5k ath5k: fix bf->skb==NULL panic in ath5k_tasklet_rx 2009-02-11 11:27:16 -05:00
ath9k ath9k: Fix an operator typo in REG_DOMAIN_2GHZ_MASK 2009-01-16 17:08:23 -05:00
b43 b43: fix "‘gmode’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
b43legacy b43legacy: fix "‘up_dev’ may be used uninitialized" warning 2009-01-13 10:25:45 -05:00
hostap hostap: select required crypto bits in Kconfig 2008-12-05 09:32:10 -05:00
ipw2x00 trivial: Fix misspelling of "firmware" in ipw2100.c 2009-01-06 11:28:08 +01:00
iwlwifi Fix iwlan DMA mapping direction 2009-02-25 09:30:56 -08:00
libertas libertas: Fix alignment issues in libertas core 2009-01-16 17:08:23 -05:00
libertas_tf libertas_tf: return NETDEV_TX_OK in TX op 2009-01-12 14:24:57 -05:00
orinoco orinoco: use KERN_DEBUG for link status messages 2009-01-22 13:55:01 -05:00
p54 p54usb: fix packet loss with first generation devices 2009-01-23 15:38:35 -05:00
prism54 drivers/net/wireless/prism54: fix sparse warnings: make symbols static 2008-12-26 00:15:03 -08:00
rt2x00 rt2x00: Fix TX rate short preamble detection 2009-01-22 13:55:01 -05:00
rtl818x rtl8187: Fix error in setting OFDM power settings for RTL8187L 2009-01-29 15:46:42 -05:00
zd1211rw zd1211rw: treat MAXIM_NEW_RF(0x08) as UW2453_RF(0x09) for TP-Link WN322/422G 2009-02-11 11:27:19 -05:00
adm8211.c adm8211: remove SSID code 2008-11-10 15:11:56 -05:00
adm8211.h adm8211: remove SSID code 2008-11-10 15:11:56 -05:00
airo.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
airo.h
airo_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
arlan-main.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
arlan-proc.c
arlan.h
atmel.c trivial: Fix misspelling of "firmware" in atmel.c 2009-01-06 11:28:08 +01:00
atmel.h
atmel_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
atmel_pci.c
i82586.h
i82593.h
Kconfig Wireless: Fix Kconfig fact error 2009-01-12 14:24:49 -05:00
mac80211_hwsim.c mac80211: Fix HT channel selection 2008-12-19 15:22:54 -05:00
Makefile ipw2x00: relocate ipw2100/ipw2200 to common directory 2008-11-21 11:08:17 -05:00
netwave_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
ray_cs.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
ray_cs.h
rayctl.h
rndis_wlan.c usbnet: allow type check of devdbg arguments in non-debug build 2009-01-21 12:35:43 -08:00
strip.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wavelan.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
wavelan.h
wavelan.p.h net: Rationalise email address: Network Specific Parts 2008-10-13 19:01:08 -07:00
wavelan_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
wavelan_cs.h
wavelan_cs.p.h
wl3501.h don't use net/ieee80211.h 2008-11-10 15:11:56 -05:00
wl3501_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
zd1201.c netdevice zd1201: Use after free 2008-12-18 22:27:38 -08:00
zd1201.h