| From 415072a041bf50dbd6d56934ffc0cbbe14c97be8 Mon Sep 17 00:00:00 2001 |
| From: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
| Date: Tue, 7 Oct 2014 16:12:55 +1100 |
| Subject: powerpc/pseries: Honor the generic "no_64bit_msi" flag |
| |
| From: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
| |
| commit 415072a041bf50dbd6d56934ffc0cbbe14c97be8 upstream. |
| |
| Instead of the arch specific quirk which we are deprecating |
| |
| Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| arch/powerpc/platforms/pseries/msi.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/arch/powerpc/platforms/pseries/msi.c |
| +++ b/arch/powerpc/platforms/pseries/msi.c |
| @@ -428,7 +428,7 @@ static int rtas_setup_msi_irqs(struct pc |
| */ |
| 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) { |
| /* |