diff mbox series

PCI: Mark Creative Labs EMU20k2 INTx masking as broken

Message ID 20240912215331.839220-1-alex.williamson@redhat.com (mailing list archive)
State Accepted
Delegated to: Krzysztof Wilczyński
Headers show
Series PCI: Mark Creative Labs EMU20k2 INTx masking as broken | expand

Commit Message

Alex Williamson Sept. 12, 2024, 9:53 p.m. UTC
As reported in the link below, a user indicates this device generates
spurious interrupts when used with vfio-pci unless DisINTx masking
support is disabled.  Quirk the device to mark INTx masking as broken.

Reported-by: zdravko delineshev <delineshev@outlook.com>
Closes: https://lore.kernel.org/all/VI1PR10MB8207C507DB5420AB4C7281E0DB9A2@VI1PR10MB8207.EURPRD10.PROD.OUTLOOK.COM/
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---

FWIW, a web search has a couple other hits of users experiencing
problems trying to assign this device which seems to corroborate this
most recent report.

 drivers/pci/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Krzysztof Wilczyński Sept. 13, 2024, 12:51 p.m. UTC | #1
Hello,

> As reported in the link below, a user indicates this device generates
> spurious interrupts when used with vfio-pci unless DisINTx masking
> support is disabled.  Quirk the device to mark INTx masking as broken.

Applied to quirks, thank you!

[1/1] PCI: Mark Creative Labs EMU20k2 INTx masking as broken
      https://git.kernel.org/pci/pci/c/2910306655a7

	Krzysztof
diff mbox series

Patch

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index a2ce4e08edf5..c7596e9aabb0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3608,6 +3608,8 @@  DECLARE_PCI_FIXUP_FINAL(0x1814, 0x0601, /* Ralink RT2800 802.11n PCI */
 			quirk_broken_intx_masking);
 DECLARE_PCI_FIXUP_FINAL(0x1b7c, 0x0004, /* Ceton InfiniTV4 */
 			quirk_broken_intx_masking);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CREATIVE, PCI_DEVICE_ID_CREATIVE_20K2,
+			quirk_broken_intx_masking);
 
 /*
  * Realtek RTL8169 PCI Gigabit Ethernet Controller (rev 10)