]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl: Support unique MSI addresses per PCIe Root Complex
authorKumar Gala <galak@kernel.crashing.org>
Tue, 12 May 2009 20:51:56 +0000 (15:51 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:50:38 +0000 (00:50 -0500)
commitd0ac98deac927a57c893de1cb679c40b6a95b2d4
treef2cbdc5e8cd09801ca32d26977cbf4eb8feae415
parentaff61bef0b7ed24b5f756319e38a361de851206f
powerpc/fsl: Support unique MSI addresses per PCIe Root Complex

Its feasible based on how the PCI address map is setup that the region
of PCI address space used for MSIs differs for each PHB on the same SoC.

Instead of assuming that the address mappes to CCSRBAR 1:1 we read
PEXCSRBAR (BAR0) for the PHB that the given pci_dev is on.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_msi.c