From: Benjamin Herrenschmidt Date: Tue, 7 Oct 2014 05:12:55 +0000 (+1100) Subject: powerpc/pseries: Honor the generic "no_64bit_msi" flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e90e3b342f4462d5930a103ca3cf01ccca1450ec;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git powerpc/pseries: Honor the generic "no_64bit_msi" flag commit 415072a041bf50dbd6d56934ffc0cbbe14c97be8 upstream. Instead of the arch specific quirk which we are deprecating Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/powerpc/platforms/pseries/msi.c b/arch/powerpc/platforms/pseries/msi.c index 6d2f0abce6fa..3b350fb91285 100644 --- a/arch/powerpc/platforms/pseries/msi.c +++ b/arch/powerpc/platforms/pseries/msi.c @@ -426,7 +426,7 @@ static int rtas_setup_msi_irqs(struct pci_dev *pdev, int nvec_in, int type) */ again: if (type == PCI_CAP_ID_MSI) { - if (pdn->force_32bit_msi) { + if (pdev->no_64bit_msi) { rc = rtas_change_msi(pdn, RTAS_CHANGE_32MSI_FN, nvec); if (rc < 0) { /*