Commit 67f3e840 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Luis Henriques

powerpc/pseries: Honor the generic "no_64bit_msi" flag

commit 415072a0 upstream.

Instead of the arch specific quirk which we are deprecating
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 6bb21858
......@@ -428,7 +428,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) {
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment