android_kernel_xiaomi_sdm845/arch/powerpc/platforms/powermac
Nathan Lynch 0f7f2fb85a [POWERPC] Remove gratuitous reads from powermac pci config space methods
The powermac pci configuration space write methods read the written
location immediately after the write is performed, presumably in order
to flush the write.  However, configuration space writes are not
allowed to be posted, making these reads gratuitous.  Furthermore,
this behavior potentially causes us to violate the PCI PM spec when
changing between e.g. D0 and D3 states, because a delay of up to 10ms
may be required before the OS accesses configuration space after the
write which initiates the transition.

Remove the unnecessary reads from macrisc_write_config,
u3_ht_write_config, and u4_pcie_write_config.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-17 11:01:54 +10:00
..
backlight.c [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
bootx_init.c [POWERPC] Fix BootX booting with an initrd 2006-08-23 15:51:18 +10:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
cpufreq_64.c [POWERPC] powermac: Fix G5-cpufreq for cpu on/offline 2007-05-02 20:04:28 +10:00
feature.c [POWERPC] Fix a compile warning in powermac/feature.c 2007-08-03 19:36:01 +10:00
Kconfig [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
low_i2c.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pci.c [POWERPC] Remove gratuitous reads from powermac pci config space methods 2007-08-17 11:01:54 +10:00
pfunc_base.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
pfunc_core.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
pic.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pmac.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
setup.c [POWERPC] Fix powermac late initcall to only run on powermac 2007-06-20 22:07:38 +10:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c [POWERPC] Fix per-cpu allocation on oldworld SMP powermacs 2007-06-14 11:56:17 +10:00
time.c [POWERPC] Generic time suspend/resume code 2007-03-26 12:35:14 +10:00
udbg_adb.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
udbg_scc.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00