aboutsummaryrefslogtreecommitdiff
path: root/net/9p/conv.c
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-08-09 10:50:44 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:53 +1000
commit1bdb2867e5f0bca7c94f7df92f23fdd20524a488 (patch)
treeeecb27269188c1cb846400b45a309afb6723df43 /net/9p/conv.c
parent96b952dd4b8aaa752b6086ad8bcaf2af23729b5f (diff)
[POWERPC] Remove gratuitous reads from maple PCI config space methods
The maple 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. It definitely causes a system hang for me with a Broadcom 5721 PCIE network adapter, which is fixed by this change. Therefore this removes the gratuitous reads from u3_agp_write_config, u3_ht_write_config, and u4_pcie_write_config. Signed-off-by: Nathan Lynch <ntl@pobox.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'net/9p/conv.c')
0 files changed, 0 insertions, 0 deletions