qemu-patch-raspberry4/hw/tpm
Stefan Berger ad4aca69bb tpm_tis: Return TPM_VERSION_UNSPEC in case of BE failure
In case the backend has a failure, such as the tpm_emulator's CMD_INIT
failing, the TIS goes into failure mode and does not respond to reads
or writes to MMIO registers. In this case we need to prevent the ACPI
table from being added and the straight-forward way is to indicate that
there's no known TPM version being used.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2017-11-15 06:47:35 -05:00
..
Makefile.objs tpm: Added support for TPM emulator 2017-10-13 07:34:33 -04:00
tpm_emulator.c tpm-emulator: protect concurrent ctrl_chr access 2017-11-15 06:47:35 -05:00
tpm_int.h tpm: move recv_data_callback to TPM interface 2017-10-19 11:42:33 -04:00
tpm_ioctl.h tpm: Added support for TPM emulator 2017-10-13 07:34:33 -04:00
tpm_passthrough.c tpm: move recv_data_callback to TPM interface 2017-10-19 11:42:33 -04:00
tpm_tis.c tpm_tis: Return TPM_VERSION_UNSPEC in case of BE failure 2017-11-15 06:47:35 -05:00
tpm_util.c tpm-tis: move TPMState to TIS header 2017-10-19 11:42:30 -04:00
tpm_util.h tpm-passthrough: move reusable code to utils 2017-10-13 07:34:33 -04:00