[PATCH v3] tpm: tis: Double the timeout B to 4s

2025-04-04 Thread Michal Suchanek
(device-id 0x1B, rev-id 22) Firmware Revision: 7.83 tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1A, rev-id 16) Firmware Revision: 5.63 Link: https://lore.kernel.org/linux-integrity/z5pi07m0muapy...@kitsune.suse.cz/ Signed-off-by: Michal Suchanek --- v2: Only extend timeout B v3: Update comm

[PATCH] tpm: tis: Increase the default for timeouts B and C

2025-04-02 Thread Michal Suchanek
With some Infineon chips the timeouts in tpm_tis_send_data (both B and C) can reach up to about 2250 ms. Extend the timeout duration to accommodate this. Link: https://lore.kernel.org/linux-integrity/z5pi07m0muapy...@kitsune.suse.cz/ Signed-off-by: Michal Suchanek --- An alternative would be to

[PATCH] tpm: tis: Increase the default for timeout B

2025-04-03 Thread Michal Suchanek
kernel.org/linux-integrity/z5pi07m0muapy...@kitsune.suse.cz/ Signed-off-by: Michal Suchanek --- V2: Only extend timeout B --- drivers/char/tpm/tpm_tis_core.h | 2 +- include/linux/tpm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/tpm/tpm_ti