kernel_optimize_test/drivers/net
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
..
appletalk
arcnet
arm [ARM] etherh: continue fixing build failure 2009-01-28 10:19:52 +00:00
atl1c atl1c: Atheros L1C Gigabit Ethernet driver 2009-02-18 17:24:15 -08:00
atl1e
atlx
bonding
can
chelsio
cris
cxgb3 cxgb3: Add support for PCI ID 0x35. 2009-02-18 17:47:57 -08:00
e1000 e1000: Fix PCI enable to honor the need_ioport flag 2009-02-03 15:18:01 -08:00
e1000e e1000e: workaround hw errata 2009-01-26 12:16:26 -08:00
ehea
enic
fs_enet powerpc/fs_enet: Add missing irq free in error path. 2009-01-14 20:43:43 -08:00
hamradio
ibm_newemac net: variables reach -1, but 0 tested 2009-02-02 21:39:02 -08:00
igb igb: fix link reporting when using sgmii 2009-01-31 00:53:18 -08:00
irda IRDA: cnt is off by 1 2009-02-12 16:42:31 -08:00
ixgb
ixgbe ixgbe: Fix usage of netif_*_all_queues() with netif_carrier_{off|on}() 2009-01-19 16:55:03 -08:00
ixp2000
mlx4 mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
myri10ge myri10ge: don't forget pci_disable_device() 2009-01-20 14:41:18 -08:00
netxen netxen: fix compile waring "label ‘set_32_bit_mask’ defined but not used" on IA64 platform 2009-02-12 16:57:12 -08:00
pcmcia pcnet_cs: Fix misuse of the equality operator. 2009-02-03 15:14:05 -08:00
phy mdio-gpio: Add mdc pin direction initialization 2009-02-10 17:11:10 -08:00
qlge qlge: bugfix: Add missing rx buf clean index on early exit. 2009-02-12 16:38:34 -08:00
sfc sfc: Replace stats_enabled flag with a disable count 2009-01-30 14:06:33 -08:00
skfp drivers/net/skfp: if !capable(CAP_NET_ADMIN): inverted logic 2009-01-29 17:32:20 -08:00
tokenring
tulip de2104x: force correct order when writing to rx ring 2009-02-08 17:50:34 -08:00
usb hso: add new device id's 2009-02-03 15:13:26 -08:00
wan
wimax wimax/i2400m: driver loads firmware v1.4 instead of v1.3 2009-02-20 00:35:04 -08:00
wireless Fix iwlan DMA mapping direction 2009-02-25 09:30:56 -08:00
3c59x.c
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c 3c505: do not set pcb->data.raw beyond its size 2009-02-12 16:52:31 -08:00
3c505.h
3c507.c
3c509.c 3c509: Fix resume from hibernation for PnP mode. 2009-02-06 22:04:08 -08:00
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c ax88796: start_xmit fix using net_device_ops 2009-01-14 21:05:55 -08:00
b44.c b44: GFP_DMA skb should not escape from driver 2009-01-15 15:29:35 -08:00
b44.h b44: GFP_DMA skb should not escape from driver 2009-01-15 15:29:35 -08:00
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2_fw.h bnx2: Update 5706/5708 firmware. 2009-02-12 16:53:22 -08:00
bnx2_fw2.h bnx2: Update 5709 firmware. 2009-02-12 16:53:48 -08:00
bnx2.c bnx2: Update version to 1.9.2 and copyright. 2009-02-12 16:54:48 -08:00
bnx2.h bnx2: Update version to 1.9.2 and copyright. 2009-02-12 16:54:48 -08:00
bnx2x_fw_defs.h
bnx2x_hsi.h
bnx2x_init_values.h
bnx2x_init.h
bnx2x_link.c bnx2x: Version update 2009-01-19 16:20:15 -08:00
bnx2x_link.h
bnx2x_main.c bnx2x: tx_has_work should not wait for FW 2009-01-26 12:36:42 -08:00
bnx2x_reg.h bnx2x: Version update 2009-01-19 16:20:15 -08:00
bnx2x.h bnx2x: Version update 2009-01-19 16:20:15 -08:00
bsd_comp.c
cassini.c cassini/sungem: limit reaches -1, but 0 tested 2009-02-02 23:19:50 -08:00
cassini.h
cpmac.c
cs89x0.c
cs89x0.h
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c
es3210.c
eth16i.c
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c m68knommu: correct the mii calculations for 532x ColdFire FEC 2009-01-27 16:42:03 +10:00
fec.h
forcedeth.c net: forcedeth: Fix wake-on-lan regression 2009-02-16 00:13:20 -08:00
gianfar_ethtool.c
gianfar_mii.c gianfar: Fix Wake-on-LAN support 2009-01-29 17:31:13 -08:00
gianfar_mii.h
gianfar_sysfs.c
gianfar.c gianfar: Fix boot hangs while bringing up gianfar ethernet 2009-02-09 14:59:30 -08:00
gianfar.h gianfar: Fix BD_LENGTH_MASK definition 2009-02-04 16:37:40 -08:00
hamachi.c
hp-plus.c
hp.c
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
isa-skeleton.c
iseries_veth.c
jazzsonic.c
jme.c
jme.h
Kconfig atl1c: Atheros L1C Gigabit Ethernet driver 2009-02-18 17:24:15 -08:00
korina.c korina: drop leftover assignment 2009-01-19 16:23:01 -08:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: avoid lockup when TGO during underrun 2009-01-19 16:20:16 -08:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
Makefile atl1c: Atheros L1C Gigabit Ethernet driver 2009-02-18 17:24:15 -08:00
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c net/mv643xx: don't disable the mib timer too early and lock properly 2009-02-18 17:37:09 -08:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppol2tp.c
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c powerpc/ps3: Printing fixups for l64 to ll64 convserion drivers/net 2009-02-02 17:08:24 +11:00
ps3_gelic_wireless.h
qla3xxx.c
qla3xxx.h
r6040.c r6040: Remove unused variable pdev from drivers/net/r6040.c 2009-01-26 21:54:21 -08:00
r8169.c r8169: Don't update statistics counters when interface is down 2009-02-06 21:49:57 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c
s2io.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c
sis900.c sis900: generate fake MAC address if the hardware doesn't have one 2009-01-14 20:46:24 -08:00
sis900.h
skge.c
skge.h
sky2.c sky2: fix hard hang with netconsoling and iface going up 2009-01-30 14:06:26 -08:00
sky2.h
slhc.c
slip.c
slip.h
smc-mca.c
smc-ultra.c
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c net: variables reach -1, but 0 tested 2009-02-02 21:39:02 -08:00
smc911x.h
smc9194.c
smc9194.h
smsc911x.c SMSC: timeout reaches -1 2009-02-20 00:52:19 -08:00
smsc911x.h
smsc9420.c smsc9420: handle magic field of ethtool_eeprom 2009-02-20 00:38:51 -08:00
smsc9420.h smsc9420: handle magic field of ethtool_eeprom 2009-02-20 00:38:51 -08:00
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c sun3: print when lance_open() fails 2009-02-12 16:40:20 -08:00
sunbmac.c
sunbmac.h
sundance.c sundance: missing parentheses? 2009-02-20 00:35:45 -08:00
sungem_phy.c cassini/sungem: limit reaches -1, but 0 tested 2009-02-02 23:19:50 -08:00
sungem_phy.h
sungem.c sungem: another error printed one too early 2009-02-20 01:03:15 -08:00
sungem.h
sunhme.c sunhme: Fix Quattro HME irq registration on proble failures 2009-02-10 17:29:42 -08:00
sunhme.h
sunlance.c sunlance: Beyond ARRAY_SIZE of ib->btx_ring 2009-02-21 23:46:36 -08:00
sunqe.c net: variables reach -1, but 0 tested 2009-02-02 21:39:02 -08:00
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti_fw.h
tehuti.c
tehuti.h
tg3.c TG3: &&/|| confusion 2009-02-18 17:42:42 -08:00
tg3.h tg3: Fix firmware loading 2009-01-19 16:57:45 -08:00
tlan.c
tlan.h
tsi108_eth.c net: variables reach -1, but 0 tested 2009-02-02 21:39:02 -08:00
tsi108_eth.h
tun.c tun: Fix unicast filter overflow 2009-02-08 17:49:17 -08:00
typhoon-firmware.h
typhoon.c
typhoon.h
ucc_geth_ethtool.c
ucc_geth_mii.c ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth_mii.h ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth.c ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth.h ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
veth.c veth : add the set_mac_address capability 2009-02-22 00:04:45 -08:00
via-rhine.c
via-velocity.c via-velocity: fix hot spin 2009-01-20 14:44:01 -08:00
via-velocity.h
virtio_net.c virtio_net: use correct accessors for scatterlists 2009-01-26 21:00:33 -08:00
wd.c
xen-netfront.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c