tpm_tis: opt-in interrupts
Subsystems (3)
Jarkko Sakkinen
maintainercover tpm_tis: opt-in interrupts
Hopefully the last IRQ fixes for some time.
Jarkko Sakkinen (1):
tpm_tis: Opt-in interrupts
Peter Ujfalusi (1):
tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
drivers/char/tpm/tpm_tis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.2
Jarkko Sakkinen
maintainerPATCH 1/2 tpm: tpm_tis: Fix UPX-i11 DMI_MATCH condition
From: Peter Ujfalusi <[email protected]>
The patch which made it to the kernel somehow changed the match condition fromDMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01")
toDMI_MATCH(DMI_PRODUCT_VERSION, "UPX-TGL")
Revert back to the correct match condition to disable the interrupt mode on the board.
Cc [email protected] # v6.4+
Fixes edb13d7bb034 ("tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11")
Signed-off-by Peter Ujfalusi <[email protected]>
Signed-off-by Jarkko Sakkinen <[email protected]>
--- drivers/char/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/tpm/tpm_tis.c +1 -1
@@ -183,7 +183,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"), + DMI_MATCH(DMI_PRODUCT_NAME, "UPX-TGL01"), }, }, {}
Signature · 1 line
2.39.2
Jarkko Sakkinen
maintainerPATCH 2/2 tpm_tis: Opt-in interrupts
In reply to Jarkko SakkinenCc [email protected] # v6.4+
Link https://lore.kernel.org/linux-integrity/CAHk-=whRVp4h8uWOX1YO+Y99+44u4s=XxMK4v00B6F1mOfqPLg@mail.gmail.com/ open here
Fixes e644b2f498d2 ("tpm, tpm_tis: Enable interrupt test")
Signed-off-by Jarkko Sakkinen <[email protected]>
--- drivers/char/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/tpm/tpm_tis.c +1 -1
@@ -89,7 +89,7 @@ static inline void tpm_tis_iowrite32(u32 b, void __iomem *iobase, u32 addr)tpm_tis_flush (iobase); } -static int interrupts =-1 ; +static int interrupts;module_param (interrupts, int,0444 );MODULE_PARM_DESC (interrupts,"Enable interrupts" );
Signature · 1 line
2.39.2