kernel-hacking-2024-linux-s.../arch/powerpc/platforms
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
..
4xx
8xx [POWERPC] 8xx: Remove unnecessary loops_per_jiffy initialization code 2007-08-17 11:01:51 +10:00
44x
52xx [POWERPC] efika rtas_pci_ops: Use named structure member initializers 2007-08-17 11:01:54 +10:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Revert "[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC" 2007-08-10 21:04:22 +10:00
85xx [POWERPC] Revert "[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC" 2007-08-10 21:04:22 +10:00
86xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
cell [POWERPC] cell: Fix errno for modular spufs_create with invalid neighbour 2007-08-15 15:12:44 +10:00
celleb [POWERPC] celleb_epci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
chrp [POWERPC] chrp pci_ops: Use named structure member initializers 2007-08-17 11:01:54 +10:00
embedded6xx [POWERPC] Typo fixes interrrupt -> interrupt 2007-08-17 11:01:51 +10:00
iseries [POWERPC] Typo fixes interrrupt -> interrupt 2007-08-17 11:01:51 +10:00
maple [POWERPC] maple pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pasemi [POWERPC] Remove gratuitous reads from pasemi pci config space methods 2007-08-17 11:01:54 +10:00
powermac [POWERPC] Remove gratuitous reads from powermac pci config space methods 2007-08-17 11:01:54 +10:00
prep
ps3 [POWERPC] ps3: Fix no storage devices found 2007-08-15 15:12:50 +10:00
pseries [POWERPC] pseries: Eliminate global error_log_cnt variable 2007-08-17 11:01:52 +10:00
Kconfig [CELL] driver for DDR2 memory on AXON 2007-07-20 21:41:42 +02:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile