mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 06:50:52 +07:00
powerpc/pseries: Honor the generic "no_64bit_msi" flag
Instead of the arch specific quirk which we are deprecating Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: <stable@vger.kernel.org>
This commit is contained in:
parent
360743814c
commit
415072a041
@ -420,7 +420,7 @@ static int rtas_setup_msi_irqs(struct pci_dev *pdev, int nvec_in, int type)
|
|||||||
*/
|
*/
|
||||||
again:
|
again:
|
||||||
if (type == PCI_CAP_ID_MSI) {
|
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);
|
rc = rtas_change_msi(pdn, RTAS_CHANGE_32MSI_FN, nvec);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user