Skip to contentSkip to conversation

powerpc/pseries: Honor the generic "no_64bit_msi" flag

PATCH In review Benjamin Herrenschmidt 1 participant 1 message Oct 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 6/7 powerpc/pseries: Honor the generic "no_64bit_msi" flag

Instead of the arch specific quirk which we are deprecating and that drivers don't understand.

---
 arch/powerpc/platforms/pseries/msi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/msi.c +1 -1
index 18ff462..6fd96d8 100644
@@ -429,7 +429,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) {
 				/*