Those 2 patches bring MMIO TPM TIS ACPI support in machvirt. The TPM2.0 table is added and the TPM2 device object is described in the DSDT.
Many thanks to Ard for his support. Tested with LUKS partition automatic decryption. Best Regards Eric This series can be found at: https://github.com/eauger/qemu/tree/v5.0-tpm-acpi-v1 Eric Auger (2): arm/acpi: TPM2 ACPI table support arm/acpi: Add the TPM2.0 device under the DSDT include/sysemu/tpm.h | 2 ++ hw/arm/virt-acpi-build.c | 70 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) -- 2.20.1