Alright, I built 5.8-rc2 with you patch v2. Then tried resuming in 3 cases and noting the kernel log.
no tis params on kernel command line
tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis 00:08: Could not get TPM timeouts and durations
ima: No TPM chip found, activating TPM-bypass!
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: reboot on resume
Kernel command line: tpm_tis.force=1
tpm_tis tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis tpm_tis: Could not get TPM timeouts and durations
tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis 00:08: Could not get TPM timeouts and durations
ima: No TPM chip found, activating TPM-bypass!
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: reboot on resume
Kernel command line: tpm_tis.force=1 tpm_tis.interrupts=0
tpm_tis tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16)
tpm_tis 00:08: can't request region for resource [mem 0xfed40000-0xfed44fff]
tpm_tis: probe of 00:08 failed with error -16
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: resume correct
Looks like there is another trigger to probe tpm_tis first.
Alright, I built 5.8-rc2 with you patch v2. Then tried resuming in 3 cases and noting the kernel log.
no tis params on kernel command line
tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis 00:08: Could not get TPM timeouts and durations
ima: No TPM chip found, activating TPM-bypass!
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: reboot on resume
Kernel command line: tpm_tis.force=1
tpm_tis tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis tpm_tis: Could not get TPM timeouts and durations
tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
tpm tpm0: tpm_try_transmit: send(): error -5
tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
tpm_tis 00:08: Could not get TPM timeouts and durations
ima: No TPM chip found, activating TPM-bypass!
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: reboot on resume
Kernel command line: tpm_tis.force=1 tpm_tis. interrupts= 0 0xfed44fff]
tpm_tis tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16)
tpm_tis 00:08: can't request region for resource [mem 0xfed40000-
tpm_tis: probe of 00:08 failed with error -16
tpm_inf_pnp 00:08: Found TPM with ID IFX0102
result: resume correct
Looks like there is another trigger to probe tpm_tis first.