powerpc: Make radeon 32-bit MSI quirk work on powernv
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 May 2013 22:58:21 +0000 (22:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 May 2013 08:13:45 +0000 (18:13 +1000)
commitb72c1f651491e4cd33ddec79c504a49071a512f0
treebd17bad6c182c986bbadd5a30d1afe98804f07ea
parent59affcd3e460b97492bc1aa2b843bafe7c54f596
powerpc: Make radeon 32-bit MSI quirk work on powernv

This moves the quirk itself to pci_64.c as to get built on all ppc64
platforms (the only ones with a pci_dn), factors the two implementations
of get_pdn() into a single pci_get_dn() and use the quirk to do 32-bit
MSIs on IODA based powernv platforms.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/pci_dn.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/pseries/msi.c