Michal Suchanek
2f661f71fd
tpm: tis: Double the timeout B to 4s
...
With some Infineon chips the timeouts in tpm_tis_send_data (both B and
C) can reach up to about 2250 ms.
Timeout C is retried since
commit de9e33df77 ("tpm, tpm_tis: Workaround failed command reception on Infineon devices")
Timeout B still needs to be extended.
The problem is most commonly encountered with context related operation
such as load context/save context. These are issued directly by the
kernel, and there is no retry logic for them.
When a filesystem is set up to use the TPM for unlocking the boot fails,
and restarting the userspace service is ineffective. This is likely
because ignoring a load context/save context result puts the real TPM
state and the TPM state expected by the kernel out of sync.
Chips known to be affected:
tpm_tis IFX1522:00: 2.0 TPM (device-id 0x1D, rev-id 54)
Description: SLB9672
Firmware Revision: 15.22
tpm_tis MSFT0101:00: 2.0 TPM (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/Z5pI07m0Muapyu9w@kitsune.suse.cz/
Signed-off-by: Michal Suchanek <msuchanek@suse.de >
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org >
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org >
2025-05-15 04:49:15 +03:00
..
2025-03-26 09:32:10 -07:00
2025-04-03 21:35:32 +02:00
2025-04-01 11:02:03 -07:00
2025-04-10 14:47:14 +01:00
2025-03-21 09:46:08 +01:00
2025-04-08 10:41:58 +02:00
2025-03-31 07:08:34 -06:00
2025-04-07 09:23:55 +02:00
2025-03-26 20:58:24 -05:00
2025-04-03 15:31:14 -07:00
2025-03-29 11:12:28 -07:00
2025-04-07 09:05:31 +02:00
2025-03-21 20:57:55 -03:00
2025-03-25 14:22:07 -07:00
2025-04-07 14:50:43 +03:00
2025-03-29 18:11:12 -07:00
2025-04-02 10:30:10 -07:00
2025-03-21 12:44:19 -04:00
2025-04-02 18:23:31 -07:00
2025-04-02 20:04:43 -07:00
2025-03-27 09:05:55 -07:00
2025-04-17 20:10:08 -07:00
2025-03-26 18:08:55 -07:00
2025-04-25 11:34:39 -07:00
2025-03-19 08:03:06 -07:00
2025-03-30 13:45:28 -07:00
2025-04-22 18:16:08 +02:00
2025-04-02 07:06:59 -06:00
2025-04-01 21:46:22 -10:00
2025-04-01 21:46:22 -10:00
2025-03-28 11:22:54 -07:00
2025-04-01 09:29:18 -07:00
2025-04-01 09:29:18 -07:00
2025-04-01 09:12:05 +02:00
2025-05-09 13:22:05 -07:00
2025-04-28 14:36:41 +02:00
2025-03-20 17:33:31 -04:00
2025-03-21 17:39:06 +08:00
2025-03-21 22:03:15 -07:00
2025-04-11 15:24:29 +02:00
2025-04-01 11:02:03 -07:00
2025-04-17 07:44:35 +02:00
2025-03-25 15:00:18 -07:00
2025-05-09 13:36:58 -07:00
2025-04-22 18:16:09 +02:00
2025-03-30 12:43:03 -07:00
2025-03-27 13:27:08 -07:00
2025-04-24 10:58:59 +02:00
2025-03-24 09:34:10 -07:00
2025-04-15 18:10:57 +02:00
2025-03-26 13:54:04 +01:00
2025-04-05 10:30:17 +02:00
2025-04-09 21:00:42 +02:00
2025-03-21 17:12:04 -05:00
2025-05-02 13:59:02 +02:00
2025-03-25 12:35:59 +01:00
2025-04-01 18:03:46 -07:00
2025-05-06 21:27:10 +02:00
2025-03-21 22:10:06 +01:00
2025-03-19 19:17:58 +01:00
2025-03-28 13:45:52 -07:00
2025-03-27 09:46:53 -07:00
2025-03-28 10:45:00 +01:00
2025-04-17 16:44:27 +02:00
2025-03-25 10:18:31 -03:00
2025-03-21 22:10:04 -07:00
2025-04-04 16:39:11 +02:00
2025-03-28 21:10:53 +00:00
2025-04-01 10:06:52 -07:00
2025-03-22 15:36:49 +02:00
2025-04-04 07:07:40 -04:00
2025-03-25 09:20:27 +01:00
2025-04-23 09:04:56 -07:00
2025-04-11 17:32:35 -07:00
2025-03-28 12:37:13 -07:00
2025-03-30 12:43:03 -07:00
2025-03-26 20:58:25 -05:00
2025-03-26 20:58:25 -05:00
2025-03-21 22:03:12 -07:00
2025-04-01 09:29:18 -07:00
2025-04-01 09:29:18 -07:00
2025-04-17 20:10:06 -07:00
2025-04-17 20:10:09 -07:00
2025-05-09 13:36:58 -07:00
2025-03-28 11:22:54 -07:00
2025-03-21 22:10:04 -07:00
2025-04-15 11:32:34 +02:00
2025-05-06 18:52:39 -07:00
2025-03-19 19:17:58 +01:00
2025-03-21 12:44:24 -04:00
2025-03-21 12:44:19 -04:00
2025-04-02 17:06:31 -07:00
2025-04-13 16:39:42 -04:00
2025-03-20 16:53:53 -07:00
2025-03-20 16:53:54 -07:00
2025-03-26 18:08:55 -07:00
2025-03-25 09:20:27 +01:00
2025-03-29 11:23:16 -07:00
2025-04-01 15:14:42 -07:00
2025-04-01 15:14:42 -07:00
2025-04-01 09:29:18 -07:00
2025-03-28 19:36:53 -07:00
2025-03-28 10:07:23 -03:00
2025-03-27 13:14:46 -05:00
2025-04-15 08:32:18 +02:00
2025-04-01 09:29:18 -07:00
2025-04-08 20:55:43 +02:00
2025-04-11 17:32:41 -07:00
2025-03-25 14:35:31 -07:00
2025-04-22 18:21:53 -07:00
2025-03-24 22:06:11 -07:00
2025-04-01 09:12:17 +02:00
2025-03-24 19:41:37 -07:00
2025-03-28 08:39:27 -04:00
2025-04-07 11:13:39 -07:00
2025-03-24 17:27:39 -04:00
2025-03-21 17:33:38 +08:00
2025-04-01 10:06:52 -07:00
2025-03-30 12:43:03 -07:00
2025-03-28 13:37:11 +01:00
2025-03-28 13:37:11 +01:00
2025-03-20 08:00:51 -07:00
2025-03-25 12:48:05 -04:00
2025-04-01 09:29:18 -07:00
2025-04-01 15:20:46 -07:00
2025-03-19 18:06:32 +01:00
2025-03-28 13:37:11 +01:00
2025-04-01 09:29:18 -07:00
2025-03-24 09:34:10 -07:00
2025-03-24 09:55:18 -07:00
2025-03-25 20:52:04 +01:00
2025-04-28 11:17:29 +02:00
2025-04-05 10:30:12 +02:00
2025-03-25 13:16:16 -07:00
2025-05-15 04:49:15 +03:00
2025-03-28 13:37:11 +01:00
2025-03-28 13:37:11 +01:00
2025-03-20 08:00:51 -07:00
2025-03-20 08:00:50 -07:00
2025-04-01 10:06:52 -07:00
2025-03-25 09:15:07 -07:00
2025-03-25 10:18:31 -03:00
2025-04-18 10:05:49 -04:00
2025-04-01 09:29:18 -07:00
2025-05-07 23:39:41 -07:00
2025-04-01 09:29:18 -07:00
2025-03-26 18:08:55 -07:00
2025-04-01 09:29:18 -07:00