PCI: Add MSI masking quirk for Nvidia ION AHCI

The ION AHCI device pretends that MSI masking isn't a thing, while it
actually implements it and needs MSIs to be unmasked to work. Add a quirk
to that effect.

Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Rui Salvaterra <rsalvaterra@gmail.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Bjorn Helgaas <helgaas@kernel.org>
Link: https://lore.kernel.org/r/CALjTZvbzYfBuLB+H=fj2J+9=DxjQ2Uqcy0if_PvmJ-nU-qEgkg@mail.gmail.com
Link: https://lore.kernel.org/r/20211104180130.3825416-3-maz@kernel.org

authored by Marc Zyngier and committed by Thomas Gleixner f21082fb 2226667a

+6
+6
drivers/pci/quirks.c
··· 5851 5851 pci_fixup_pericom_acs_store_forward); 5852 5852 DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_PERICOM, 0x2303, 5853 5853 pci_fixup_pericom_acs_store_forward); 5854 + 5855 + static void nvidia_ion_ahci_fixup(struct pci_dev *pdev) 5856 + { 5857 + pdev->dev_flags |= PCI_DEV_FLAGS_HAS_MSI_MASKING; 5858 + } 5859 + DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0ab8, nvidia_ion_ahci_fixup);