public inbox for linux-integrity@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tpm/tpm_tis: Disable interrupts for MSI GS66 Stealth 11UG
@ 2023-08-10  9:18 Jonathan McDowell
  2023-08-10 22:07 ` Jarkko Sakkinen
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan McDowell @ 2023-08-10  9:18 UTC (permalink / raw)
  To: Peter Huewe, Jarkko Sakkinen
  Cc: Jason Gunthorpe, Lino Sanfilippo, linux-integrity@vger.kernel.org,
	linux-kernel@vger.kernel.org

The MSI GS66 Stealth 11UG laptop also suffers from an IRQ problem with
tpm_tis, causing the TPM to be inaccessible. Add an entry to
tpm_tis_dmi_table to force polling mode.

Cc: stable@vger.kernel.org # v6.4+
Fixes: e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
Signed-off-by: Jonathan McDowell <noodles@meta.com>
---
 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 ac4daaf294a3..14dee959ee19 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -130,6 +130,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Laptop (13th Gen Intel Core)"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "MSI GS66 Stealth 11UG",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Micro-Star International Co., Ltd."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "GS66 Stealth 11UG"),
+		},
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "ThinkPad T490s",
-- 
2.41.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-10 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10  9:18 [PATCH] tpm/tpm_tis: Disable interrupts for MSI GS66 Stealth 11UG Jonathan McDowell
2023-08-10 22:07 ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox