[PATCH v2 0/3] vTPM/aarch64 ACPI support

Eric Auger posted 3 patches 5 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
include/hw/acpi/aml-build.h |  2 ++
include/sysemu/tpm.h        |  2 ++
hw/acpi/aml-build.c         | 31 ++++++++++++++++++++++++
hw/arm/virt-acpi-build.c    | 47 +++++++++++++++++++++++++++++++++++++
hw/i386/acpi-build.c        | 30 -----------------------
5 files changed, 82 insertions(+), 30 deletions(-)
[PATCH v2 0/3] vTPM/aarch64 ACPI support
Posted by Eric Auger 5 years, 6 months ago
Those patches bring MMIO TPM TIS ACPI support in machvirt.
The first patch moves the TPM2 ACPI table generation code
in the generic code. Then the table is added if the TPM2
sysbus device is dynamically instantiated in machvirt.
Also 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-v2

History:
v1 -> v2:
- move build_tpm2() in the generic code (Michael)
- collect Stefan's R-b on 3/3

Eric Auger (3):
  acpi: Move build_tpm2() in the generic part
  arm/acpi: TPM2 ACPI table support
  arm/acpi: Add the TPM2.0 device under the DSDT

 include/hw/acpi/aml-build.h |  2 ++
 include/sysemu/tpm.h        |  2 ++
 hw/acpi/aml-build.c         | 31 ++++++++++++++++++++++++
 hw/arm/virt-acpi-build.c    | 47 +++++++++++++++++++++++++++++++++++++
 hw/i386/acpi-build.c        | 30 -----------------------
 5 files changed, 82 insertions(+), 30 deletions(-)

-- 
2.20.1


Re: [PATCH v2 0/3] vTPM/aarch64 ACPI support
Posted by Ard Biesheuvel 5 years, 6 months ago
On Tue, 5 May 2020 at 16:44, Eric Auger <eric.auger@redhat.com> wrote:
>
> Those patches bring MMIO TPM TIS ACPI support in machvirt.
> The first patch moves the TPM2 ACPI table generation code
> in the generic code. Then the table is added if the TPM2
> sysbus device is dynamically instantiated in machvirt.
> Also the TPM2 device object is described in the DSDT.
>
> Many thanks to Ard for his support.
>
> Tested with LUKS partition automatic decryption.
>

Thanks Eric

Tested-by: Ard Biesheuvel <ardb@kernel.org>