android_kernel_xiaomi_sdm845/arch/powerpc/platforms/maple
Nathan Lynch d608df5c7d [POWERPC] Maple U3 HT - reject inappropriate config space access
When there is a PCI-X mode 2 capable device behind the HT<->PCI-X
bridge, the pci core decides that the device has the extended 4K
config space, even though the bus is not operating in mode 2.  This is
because the u3_ht pci ops silently accept offsets greater than 255 but
use only the 8 least significant bits, which means reading at offset
0x100 gets the data at offset 0x0, and causes confusion for lspci.

Reject accesses to configuration space offsets greater than 255.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-09-22 15:19:58 +10:00
..
Makefile powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
maple.h powerpc: Merge maple support code to arch/powerpc/platforms/maple 2005-10-29 22:07:56 +10:00
pci.c [POWERPC] Maple U3 HT - reject inappropriate config space access 2006-09-22 15:19:58 +10:00
setup.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
time.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00