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 988D71D5147; Tue, 15 Oct 2024 13:19:39 +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=1728998379; cv=none; b=GG62St9xI+Ei1PZ53iHmsbE/oHzdNziavqmm1Llllj01S+wCkJeIkwgsTT7Su7caBTIgHUSiE7EDGx1wP6QHlvi2wasBS79lCE0/I+VYHp/+IAnVOzAQ+urzHAzGcB8ko4gHcH3gcdjSRABaCeImBYGgOkaqhiKgBxRZYfCzjTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728998379; c=relaxed/simple; bh=V8b0LRluAMtqxCbdF21wf6J1u0/ODI/IZBFzSXQe6ZY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S/L2FR3KkikAvSJ9Cfd32a08FGGPH8OPZPMK4iE3uqD4shxo71R1RdAvT4TvzyN2Ly+DltOwDjmi9b3dh+2TXHrY+utHuYpNyPXLQpsGDRE4Sp7Utpuqrb1ghH2/JNjgAnYDbHzhMTvfv3HOuj85pGFMQLKYnkvzi29X46l0gR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UIj3ja0a; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UIj3ja0a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09F60C4CECE; Tue, 15 Oct 2024 13:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728998379; bh=V8b0LRluAMtqxCbdF21wf6J1u0/ODI/IZBFzSXQe6ZY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UIj3ja0a5s28YkuwBb2Mb3ufaAj5sRoOTAExva7nkW/D8fk8NhohDFgnCkQx6zLYH yFtQZmmw5NHE3ewOmWGlAYitPmSYGG4SGMF41gu8MGccRO3LYdq6Tgphbty+r8V67d kIOeaDspKqTJmxj4qNm7CfxeuogeI6V9VXm2GUAY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, zdravko delineshev , Alex Williamson , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Sasha Levin Subject: [PATCH 5.10 460/518] PCI: Mark Creative Labs EMU20k2 INTx masking as broken Date: Tue, 15 Oct 2024 14:46:04 +0200 Message-ID: <20241015123934.760309253@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241015123916.821186887@linuxfoundation.org> References: <20241015123916.821186887@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ 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 f0bbdc72255ed..86b91f8da1caa 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3454,6 +3454,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