Skip to contentSkip to conversation

tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7

PATCH In review Takashi Iwai 2 participants 5 messages Jul 26, 2023 – Jul 31, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7

TUXEDO InfinityBook S 15/17 Gen7 suffers from an IRQ problem on tpm_tis like a few other laptops. Add an entry for the workaround.

Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
---
 drivers/char/tpm/tpm_tis.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/char/tpm/tpm_tis.c +8 -0
index cc42cf3de960..a98773ac2e55 100644
@@ -162,6 +162,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "TUXEDO InfinityBook S 15/17 Gen7",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "TUXEDO InfinityBook S 15/17 Gen7"),
+		},
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
Signature · 1 line
2.35.3
maintainer
#1 lore raw
Quoted 32 lines · Takashi Iwai

TUXEDO InfinityBook S 15/17 Gen7 suffers from an IRQ problem on tpm_tis like a few other laptops. Add an entry for the workaround.

Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
---
 drivers/char/tpm/tpm_tis.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/char/tpm/tpm_tis.c +8 -0
index cc42cf3de960..a98773ac2e55 100644
@@ -162,6 +162,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "TUXEDO InfinityBook S 15/17 Gen7",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "TUXEDO InfinityBook S 15/17 Gen7"),
+		},
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
Signature · 1 line
2.35.3

Hi does this occur with the latest linux-next and/or v6.5-rc3?

BR, Jarkko

#2 lore raw
Quoted 28 lines · Jarkko Sakkinen
Quoted 26 lines · Takashi Iwai

TUXEDO InfinityBook S 15/17 Gen7 suffers from an IRQ problem on tpm_tis like a few other laptops. Add an entry for the workaround.

Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
---
 drivers/char/tpm/tpm_tis.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/char/tpm/tpm_tis.c +7 -0
index cc42cf3de960..a98773ac2e55 100644
@@ -162,6 +162,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "TUXEDO InfinityBook S 15/17 Gen7",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "TUXEDO InfinityBook S 15/17 Gen7"),
+		},
Quoted 8 lines
Quoted 6 lines
drivers/char/tpm/tpm_tis.c +1 -0
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
Signature · 1 line
2.35.3

Hi does this occur with the latest linux-next and/or v6.5-rc3?

Not tested yet, but do you have any relevant fix except for the commit 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")? That commit was already tested, at least.

thanks,

Takashi

#3 lore raw
Quoted 40 lines · Takashi Iwai
Quoted 28 lines · Jarkko Sakkinen
Quoted 26 lines · Takashi Iwai

TUXEDO InfinityBook S 15/17 Gen7 suffers from an IRQ problem on tpm_tis like a few other laptops. Add an entry for the workaround.

Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
---
 drivers/char/tpm/tpm_tis.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/char/tpm/tpm_tis.c +7 -0
index cc42cf3de960..a98773ac2e55 100644
@@ -162,6 +162,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "TUXEDO InfinityBook S 15/17 Gen7",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "TUXEDO InfinityBook S 15/17 Gen7"),
+		},
Quoted 8 lines
Quoted 6 lines
drivers/char/tpm/tpm_tis.c +1 -0
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
Signature · 1 line
2.35.3

Hi does this occur with the latest linux-next and/or v6.5-rc3?

Quoted 3 lines

Not tested yet, but do you have any relevant fix except for the commit 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")? That commit was already tested, at least.

And now it's confirmed that the problem persists with 6.5-rc3.

thanks,

Takashi

maintainer Reviewed-by
#4 lore raw
In reply to Takashi Iwai
Quoted 39 lines · Takashi Iwai
Quoted 28 lines · Jarkko Sakkinen
Quoted 26 lines · Takashi Iwai

TUXEDO InfinityBook S 15/17 Gen7 suffers from an IRQ problem on tpm_tis like a few other laptops. Add an entry for the workaround.

Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
---
 drivers/char/tpm/tpm_tis.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/char/tpm/tpm_tis.c +7 -0
index cc42cf3de960..a98773ac2e55 100644
@@ -162,6 +162,14 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L590"),
 		},
 	},
+	{
+		.callback = tpm_tis_disable_irq,
+		.ident = "TUXEDO InfinityBook S 15/17 Gen7",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "TUXEDO InfinityBook S 15/17 Gen7"),
+		},
Quoted 8 lines
Quoted 6 lines
drivers/char/tpm/tpm_tis.c +1 -0
+	},
 	{
 		.callback = tpm_tis_disable_irq,
 		.ident = "UPX-TGL",
Signature · 1 line
2.35.3

Hi does this occur with the latest linux-next and/or v6.5-rc3?

Quoted 3 lines

Not tested yet, but do you have any relevant fix except for the commit 481c2d14627d ("tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQs")? That commit was already tested, at least.

OK, I will pick this, thank you.

BR, Jarkko