linux-stable/drivers/char/tpm
Alexander Steffen b62e8838e9 tpm_tis: Resend command to recover from data transfer errors
[ Upstream commit 280db21e15 ]

Similar to the transmission of TPM responses, also the transmission of TPM
commands may become corrupted. Instead of aborting when detecting such
issues, try resending the command again.

Signed-off-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:11:02 +02:00
..
eventlog tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address 2023-03-17 08:50:30 +01:00
st33zp24
Kconfig
Makefile
tpm-chip.c tpm: Add a helper for checking hwrng enabled 2023-08-16 18:27:20 +02:00
tpm-dev-common.c
tpm-dev.c
tpm-dev.h
tpm-interface.c tpm: Prevent hwrng from activating during resume 2023-05-30 14:03:16 +01:00
tpm-sysfs.c
tpm.h tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers 2023-05-30 14:03:16 +01:00
tpm1-cmd.c
tpm2-cmd.c
tpm2-space.c
tpm_atmel.c
tpm_atmel.h
tpm_crb.c tpm_crb: Fix an error handling path in crb_acpi_add() 2023-09-19 12:27:58 +02:00
tpm_ftpm_tee.c tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init() 2022-12-31 13:31:54 +01:00
tpm_ftpm_tee.h
tpm_i2c_atmel.c
tpm_i2c_infineon.c
tpm_i2c_nuvoton.c
tpm_ibmvtpm.c
tpm_ibmvtpm.h
tpm_infineon.c
tpm_nsc.c
tpm_ppi.c
tpm_tis.c tpm, tpm_tis: Avoid cache incoherency in test for interrupts 2023-05-30 14:03:16 +01:00
tpm_tis_core.c tpm_tis: Resend command to recover from data transfer errors 2023-09-23 11:11:02 +02:00
tpm_tis_core.h tpm, tpm_tis: correct tpm_tis_flags enumeration values 2023-06-09 10:34:23 +02:00
tpm_tis_i2c.c tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes 2023-07-23 13:49:31 +02:00
tpm_tis_i2c_cr50.c
tpm_tis_spi.h
tpm_tis_spi_cr50.c
tpm_tis_spi_main.c
tpm_tis_synquacer.c
tpm_vtpm_proxy.c tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation 2023-07-23 13:49:31 +02:00
tpmrm-dev.c
xen-tpmfront.c