Skip to content

Commit 5bf5f46

Browse files
Marc Zyngiergregkh
authored andcommitted
PCI: Add MSI masking quirk for Nvidia ION AHCI
commit f21082f upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f28c620 commit 5bf5f46

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/pci/quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5756,3 +5756,9 @@ static void apex_pci_fixup_class(struct pci_dev *pdev)
57565756
}
57575757
DECLARE_PCI_FIXUP_CLASS_HEADER(0x1ac1, 0x089a,
57585758
PCI_CLASS_NOT_DEFINED, 8, apex_pci_fixup_class);
5759+
5760+
static void nvidia_ion_ahci_fixup(struct pci_dev *pdev)
5761+
{
5762+
pdev->dev_flags |= PCI_DEV_FLAGS_HAS_MSI_MASKING;
5763+
}
5764+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, 0x0ab8, nvidia_ion_ahci_fixup);

0 commit comments

Comments
 (0)