Received: from mx.mylinuxtime.de (mx.mylinuxtime.de [195.201.174.144]) (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 509F95229 for ; Mon, 10 Jul 2023 13:47:41 +0000 (UTC) Received: from leda.eworm.de (unknown [194.36.25.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx.mylinuxtime.de (Postfix) with ESMTPSA id 3E95323469F; Mon, 10 Jul 2023 15:39:05 +0200 (CEST) Received: by leda.eworm.de (Postfix, from userid 1000) id 1AB3D1814B5; Mon, 10 Jul 2023 15:39:05 +0200 (CEST) From: Christian Hesse To: linux-integrity@vger.kernel.org Cc: Thorsten Leemhuis , Lino Sanfilippo , Linux kernel regressions list , Peter Huewe , Christian Hesse , stable@vger.kernel.org, roubro1991@gmail.com Subject: [PATCH 2/2] tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th gen Date: Mon, 10 Jul 2023 15:38:36 +0200 Message-ID: <20230710133836.4367-2-mail@eworm.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230710133836.4367-1-mail@eworm.de> References: <20230710133836.4367-1-mail@eworm.de> Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This device suffer an irq storm, so add it in tpm_tis_dmi_table to force polling. https://bugs.archlinux.org/user/38129 https://bugzilla.kernel.org/show_bug.cgi?id=217631 Fixes: e644b2f498d297a928efcb7ff6f900c27f8b788e Cc: stable@vger.kernel.org Reported-by: Signed-off-by: Christian Hesse --- drivers/char/tpm/tpm_tis.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 2979f8b9aaa0..a8bcd2134e6b 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c @@ -122,6 +122,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "A4"), }, }, + { + .callback = tpm_tis_disable_irq, + .ident = "Framework Laptop Intel 13th gen", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Framework"), + DMI_MATCH(DMI_PRODUCT_VERSION, "A6"), + }, + }, { .callback = tpm_tis_disable_irq, .ident = "ThinkPad T490s", -- 2.41.0