diff options
author | Stefan Berger | 2020-01-21 16:29:32 +0100 |
---|---|---|
committer | David Gibson | 2020-02-02 04:07:57 +0100 |
commit | 3676bc69b358d84a6b32d9cd44325048659a32a2 (patch) | |
tree | 0116c4e50ee6e48cbafe9cd07d3ba2e6b66d9d9b /hw/tpm/Kconfig | |
parent | spapr: Implement get_dt_compatible() callback (diff) | |
download | qemu-3676bc69b358d84a6b32d9cd44325048659a32a2.tar.gz qemu-3676bc69b358d84a6b32d9cd44325048659a32a2.tar.xz qemu-3676bc69b358d84a6b32d9cd44325048659a32a2.zip |
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>
Diffstat (limited to 'hw/tpm/Kconfig')
-rw-r--r-- | hw/tpm/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/tpm/Kconfig b/hw/tpm/Kconfig index 4c8ee87d67..4d4ab0855c 100644 --- a/hw/tpm/Kconfig +++ b/hw/tpm/Kconfig @@ -22,3 +22,9 @@ config TPM_EMULATOR bool default y depends on TPMDEV + +config TPM_SPAPR + bool + default n + depends on TPM && PSERIES + select TPMDEV |