Revision 4c374af5fdee4bc6b4f5ea96c1a0f0ad7d3566be authored by Aaro Koskinen on 18 August 2012, 07:34:15 UTC, committed by Benjamin Herrenschmidt on 24 August 2012, 10:26:07 UTC
Checking for device mask to cover the whole IOMMU table is too strict.
IOMMU allocators should handle mask constraint properly for each
allocation.

The patch enables to use old AirPort Extreme cards on PowerMacs with
more than 1GB of memory; without the patch the driver init fails with:

  b43-pci-bridge 0001:01:01.0: Warning: IOMMU window too big for device mask
  b43-pci-bridge 0001:01:01.0: mask: 0x3fffffff, table end: 0x80000000
  b43-phy0 ERROR: The machine/kernel does not support the required 30-bit DMA mask

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent f0f0c9a
History
File Mode Size
ac97
ali5451
asihpi
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652
trident
vx222
ymfpci
Kconfig -rw-r--r-- 24.4 KB
Makefile -rw-r--r-- 2.1 KB
ad1889.c -rw-r--r-- 26.2 KB
ad1889.h -rw-r--r-- 7.9 KB
ak4531_codec.c -rw-r--r-- 17.2 KB
als300.c -rw-r--r-- 23.5 KB
als4000.c -rw-r--r-- 31.4 KB
atiixp.c -rw-r--r-- 45.4 KB
atiixp_modem.c -rw-r--r-- 35.8 KB
azt3328.c -rw-r--r-- 85.3 KB
azt3328.h -rw-r--r-- 15.5 KB
bt87x.c -rw-r--r-- 29.4 KB
cmipci.c -rw-r--r-- 101.9 KB
cs4281.c -rw-r--r-- 64.6 KB
cs5530.c -rw-r--r-- 7.2 KB
ens1370.c -rw-r--r-- 78.9 KB
ens1371.c -rw-r--r-- 38 bytes
es1938.c -rw-r--r-- 55.4 KB
es1968.c -rw-r--r-- 78.5 KB
fm801.c -rw-r--r-- 41.5 KB
intel8x0.c -rw-r--r-- 92.4 KB
intel8x0m.c -rw-r--r-- 37.6 KB
maestro3.c -rw-r--r-- 81.7 KB
rme32.c -rw-r--r-- 57.6 KB
rme96.c -rw-r--r-- 66.4 KB
sis7019.c -rw-r--r-- 40.0 KB
sis7019.h -rw-r--r-- 13.3 KB
sonicvibes.c -rw-r--r-- 51.6 KB
via82xx.c -rw-r--r-- 77.1 KB
via82xx_modem.c -rw-r--r-- 34.5 KB

back to top