qemu-patch-raspberry4/hw/tpm
Stefan Berger 3676bc69b3 tpm_spapr: Support TPM for ppc64 using CRQ based interface
Implement support for TPM on ppc64 by implementing the vTPM CRQ interface
as a frontend. It can use the tpm_emulator driver backend with the external
swtpm.

The Linux vTPM driver for ppc64 works with this emulation.

This TPM emulator also handles the TPM 2 case.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200121152935.649898-4-stefanb@linux.ibm.com>
[dwg: Use device_class_set_props(), tweak Kconfig]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-02-02 14:07:57 +11:00
..
Kconfig tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00
Makefile.objs tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00
tpm_crb.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
tpm_emulator.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
tpm_int.h tpm_emulator: Translate TPM error codes to strings 2019-07-25 11:37:10 -04:00
tpm_ioctl.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tpm_passthrough.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tpm_ppi.c tpm-ppi: page-align PPI RAM 2020-01-29 07:27:07 -05:00
tpm_ppi.h tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_spapr.c tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00
tpm_tis.c tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
tpm_util.c tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
tpm_util.h tpm: Move tpm_tis_show_buffer to tpm_util.c 2020-02-02 14:07:57 +11:00
trace-events tpm_spapr: Support TPM for ppc64 using CRQ based interface 2020-02-02 14:07:57 +11:00