]> git.proxmox.com Git - mirror_qemu.git/commit
tpm_spapr: Support TPM for ppc64 using CRQ based interface
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 21 Jan 2020 15:29:32 +0000 (10:29 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Feb 2020 03:07:57 +0000 (14:07 +1100)
commit3676bc69b358d84a6b32d9cd44325048659a32a2
tree0116c4e50ee6e48cbafe9cd07d3ba2e6b66d9d9b
parent864674fa29ab61681b8c72c3c41251e985daabed
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>
docs/specs/tpm.txt
hw/tpm/Kconfig
hw/tpm/Makefile.objs
hw/tpm/tpm_spapr.c [new file with mode: 0644]
hw/tpm/trace-events
include/sysemu/tpm.h
qapi/tpm.json