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 4B22C1EBFF4; Wed, 6 Nov 2024 13:12:46 +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=1730898766; cv=none; b=eRRBGYMUzoP73mwnM6smYF3gBzm9KlfcTPjY1FCRjEVIpzgAuT6CIr+9fHrWDgMHmNwup88rmAQq5UTQXeJyPJ+4cvETTAjT1CLaaCDF/+U1XLwiu4zM/WfJV71P0y6BrEyazQVjquZ953q1upl/b7kUvpIthMz4MH8UIlTG1lc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730898766; c=relaxed/simple; bh=eG0T02f5iXHgeLuEj2Htnt3hPD6DNRmTRMzcK55Pqc4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dB/5ygL1P/zvvY1pNxsiuolWY006graSxuifpuIZ4EIdfV5b7s6IqayvFD93o21bRpHvHCN3AcGH2+vDVxXsGVKJSvdsgrG+II15hm61gdn2bymLojZeMl9+B5dV/h8UMYG1P22AZu1nFuzbyMBYxPuNEeSgn+aca5utPSW53d0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PSjNaaSo; 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="PSjNaaSo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6234C4CECD; Wed, 6 Nov 2024 13:12:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730898766; bh=eG0T02f5iXHgeLuEj2Htnt3hPD6DNRmTRMzcK55Pqc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PSjNaaSoFSdjIGjuR5eL2GYMT/GCCN+VoAnQfLHlbjbQ6T+afr8gUIPWNtSP7LIz3 GeWq/LvIP/XMzHP0ODBUJ9QxPJ6WyaGMxSJ0bTlbOveBTfj2DFuP9l1fSS1gtBcsxb tq8JpY6YGcZmJF/StnTphv+v6AX+JEfqJzsJf/mM= 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.4 312/462] PCI: Mark Creative Labs EMU20k2 INTx masking as broken Date: Wed, 6 Nov 2024 13:03:25 +0100 Message-ID: <20241106120339.233259017@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241106120331.497003148@linuxfoundation.org> References: <20241106120331.497003148@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.4-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 1e846b62feba5..805200feaec82 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3441,6 +3441,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