Skip to content

Commit e7d3e5c

Browse files
snitsjarkkojs
authored andcommitted
tpm/tpm_tis: Disable interrupts for more Lenovo devices
The P360 Tiny suffers from an irq storm issue like the T490s, so add an entry for it to tpm_tis_dmi_table, and force polling. There also previously was a report from the previous attempt to enable interrupts that involved a ThinkPad L490. So an entry is added for it as well. Cc: stable@vger.kernel.org Reported-by: Peter Zijlstra <peterz@infradead.org> # P360 Tiny Closes: https://lore.kernel.org/linux-integrity/20230505130731.GO83892@hirez.programming.kicks-ass.net/ Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
1 parent 99d4645 commit e7d3e5c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

drivers/char/tpm/tpm_tis.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,22 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
122122
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T490s"),
123123
},
124124
},
125+
{
126+
.callback = tpm_tis_disable_irq,
127+
.ident = "ThinkStation P360 Tiny",
128+
.matches = {
129+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
130+
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkStation P360 Tiny"),
131+
},
132+
},
133+
{
134+
.callback = tpm_tis_disable_irq,
135+
.ident = "ThinkPad L490",
136+
.matches = {
137+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
138+
DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad L490"),
139+
},
140+
},
125141
{}
126142
};
127143

0 commit comments

Comments
 (0)