qemu/hw/tpm/Kconfig
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

31 lines
463 B
Plaintext

config TPMDEV
bool
depends on TPM
config TPM_TIS
bool
depends on TPM && ISA_BUS
select TPMDEV
config TPM_CRB
bool
depends on TPM && PC
select TPMDEV
config TPM_PASSTHROUGH
bool
default y
# FIXME: should check for x86 host as well
depends on TPMDEV && LINUX
config TPM_EMULATOR
bool
default y
depends on TPMDEV
config TPM_SPAPR
bool
default n
depends on TPM && PSERIES
select TPMDEV