aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/msi.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-01-22 15:54:32 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-02-10 21:38:01 -0500
commit649781f82782d142443d895b98edbd8be4e75c56 (patch)
treeb91e5a16ea4b381175da9057ef91a40ff61d60d9 /arch/powerpc/platforms/pseries/msi.c
parent3a51c0cbea947dc9194e18f11661eaa4dbfc5c13 (diff)
powerpc/pseries: Check for MSI-X also in rtas_msi_pci_irq_fixup()
We also need to check that the device isn't using MSI-X in the irq fixup routine, otherwise we might leave MSI-Xs configured at boot. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/msi.c')
-rw-r--r--arch/powerpc/platforms/pseries/msi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c
index acf1070d65c0..e6c80ac07697 100644
--- a/arch/powerpc/platforms/pseries/msi.c
+++ b/arch/powerpc/platforms/pseries/msi.c
@@ -244,8 +244,8 @@ static void rtas_msi_pci_irq_fixup(struct pci_dev *pdev)
244 } 244 }
245 245
246 /* No MSI -> MSIs can't have been assigned by fw, leave LSI */ 246 /* No MSI -> MSIs can't have been assigned by fw, leave LSI */
247 if (check_req_msi(pdev, 1)) { 247 if (check_req_msi(pdev, 1) && check_req_msix(pdev, 1)) {
248 dev_dbg(&pdev->dev, "rtas_msi: no req#msi, nothing to do.\n"); 248 dev_dbg(&pdev->dev, "rtas_msi: no req#msi/x, nothing to do.\n");
249 return; 249 return;
250 } 250 }
251 251