[PATCH] tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11

From: Jarkko Sakkinen
Date: Mon May 29 2023 - 22:19:35 EST


From: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx>

Further restrict with DMI_PRODUCT_VERSION.

Link: https://lore.kernel.org/linux-integrity/20230517122931.22385-1-peter.ujfalusi@xxxxxxxxxxxxxxx/
Fixes: 95a9359ee22f ("tpm: tpm_tis: Disable interrupts for AEON UPX-i11")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx>
Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
---
I do not believe that this necessarily needs to be backported but please
shout, if I'm wrong.
drivers/char/tpm/tpm_tis.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 7db3593941ea..9cb4e81fc548 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -143,6 +143,7 @@ static const struct dmi_system_id tpm_tis_dmi_table[] = {
.ident = "UPX-TGL",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "AAEON"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL"),
},
},
{}
--
2.39.2