[PATCH] PCI: Mark Creative Labs EMU20k2 INTx masking as broken

Alex Williamson posted 1 patch 2 months, 2 weeks ago
drivers/pci/quirks.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] PCI: Mark Creative Labs EMU20k2 INTx masking as broken
Posted by Alex Williamson 2 months, 2 weeks ago
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(+)

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)
-- 
2.46.0
Re: [PATCH] PCI: Mark Creative Labs EMU20k2 INTx masking as broken
Posted by Krzysztof Wilczyński 2 months, 2 weeks ago
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