From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BC2A1E22FB; Fri, 4 Oct 2024 18:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728066729; cv=none; b=DCgkT+W+syCx60UnrWJ4IMoZ1bywomO5I3BfUIdeay888H5RR1eyKJRAUYGu85A19XIEaWRJgFdIcPvYjaTFKXChU30rryKSR3JkgATd6VuZrrjH66qdo3eVybicg1xz5mcqQGSBIOfzSQVnNn4lgALSoJ7H/zcAkDrwJPSH7ZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728066729; c=relaxed/simple; bh=vlTp0gNwWkpQGr7wLw0OtQPlzy/VwTq3fY375i/I1XU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=B4PETdaFbnOzyv0jh6iICphs0pSOg7zy2Q/4x3gS0TCmt71OhW8JomzPfLmZP0r+qwYiEJYE9csInBc51iZLieyz9QpoNM/HoAyB+DIQu1yRswNiq3O5rksUrBWf9mjL4tQ3Jp45lizGSLGPc52jdiUqcNbbD2jo+zxsAjRO3uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V93xy/wt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V93xy/wt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5D99C4CECD; Fri, 4 Oct 2024 18:32:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728066728; bh=vlTp0gNwWkpQGr7wLw0OtQPlzy/VwTq3fY375i/I1XU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V93xy/wtWof6G+PAapFk3vwGy0drlLBP6RCe8TJLS1ifrVNTb3yz8PFgv1V1jaRKk wverzR9u13Lu1cm+N1SzMPK+ys8cMR9TZqbrv3agOkS0l55eeYLnAX+J0cyGP8ua08 w6fdoLDqtb+D5BSRS2imqe/KGpI8awBJt5RFDsj0NCcTygvlO3S/uCSPQ5Klf/qRtv 4BXHYJhG7n2wc0mwru0bHCChZWx5w34s5acYpbhsqV6MNqKy19qVs7YNjdaDm6AwCZ e8hV3DVOa2QVNwtXM0WZ3n1aWP1LXrpsV5xiLAdAUQMO5uOXOIK3W5rBekrZ3Qtf9H kgyK9auu0NoCw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Alex Williamson , zdravko delineshev , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Sasha Levin , bhelgaas@google.com, linux-pci@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 11/16] PCI: Mark Creative Labs EMU20k2 INTx masking as broken Date: Fri, 4 Oct 2024 14:31:38 -0400 Message-ID: <20241004183150.3676355-11-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241004183150.3676355-1-sashal@kernel.org> References: <20241004183150.3676355-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 4.19.322 Content-Transfer-Encoding: 8bit From: Alex Williamson [ Upstream commit 2910306655a7072640021563ec9501bfa67f0cb1 ] Per user reports, the Creative Labs EMU20k2 (Sound Blaster X-Fi Titanium Series) generates spurious interrupts when used with vfio-pci unless DisINTx masking support is disabled. Thus, quirk the device to mark INTx masking as broken. Closes: https://lore.kernel.org/all/VI1PR10MB8207C507DB5420AB4C7281E0DB9A2@VI1PR10MB8207.EURPRD10.PROD.OUTLOOK.COM Link: https://lore.kernel.org/linux-pci/20240912215331.839220-1-alex.williamson@redhat.com Reported-by: zdravko delineshev Signed-off-by: Alex Williamson [kwilczynski: commit log] Signed-off-by: Krzysztof WilczyƄski Signed-off-by: Sasha Levin --- drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index bb51820890965..e496670d7994e 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3347,6 +3347,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.43.0