qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] vTPM/aarch64 ACPI support
@ 2020-06-19 14:18 Eric Auger
  2020-06-19 14:18 ` [PATCH v6 1/3] acpi: Some build_tpm2() code reshape Eric Auger
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Eric Auger @ 2020-06-19 14:18 UTC (permalink / raw)
  To: eric.auger.pro, eric.auger, stefanb, qemu-devel, qemu-arm,
	peter.maydell, mst, imammedo
  Cc: thuth, lersek, drjones, shannon.zhaosl, marcandre.lureau, philmd,
	ardb

Those patches bring MMIO TPM TIS ACPI support in machvirt.

On ARM, the TPM2 table is added when the TPM TIS 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. Also
tested with new bios-tables-test dedicated tests,
sent separately.

Best Regards

Eric

This series can be found at:
https://github.com/eauger/qemu/tree/v5.0-tpm-acpi-v6

History:
v5 -> v6:
- added reference to the spec
- add some comments about LAML and LASA fields which are
  strangely undocumented in the spec for TPM2.0. So I kept
  the decision to keep the Acpi20TPM2 struct for documentation
  purpose.
v4 -> v5:
- Move of build_tpm2() in the generic acpi code was upstreamed
  but this does not correspond to latest proposed version.
- Rebase on top of edfcb1f21a

v3 -> v4:
- some rework in build_tpm2() as suggested by Igor
- Restored tpm presence check in acpi_dsdt_add_tpm()
- add the doc related patch

v2 -> v3:
- Rebase on top of Stefan's
  "acpi: tpm: Do not build TCPA table for TPM 2"
- brings conversion to build_append

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


Eric Auger (3):
  acpi: Some build_tpm2() code reshape
  arm/acpi: Add the TPM2.0 device under the DSDT
  docs/specs/tpm: ACPI boot now supported for TPM/ARM

 docs/specs/tpm.rst       |  2 --
 hw/acpi/aml-build.c      | 54 ++++++++++++++++++++++++++--------------
 hw/arm/virt-acpi-build.c | 34 +++++++++++++++++++++++++
 3 files changed, 69 insertions(+), 21 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-22 12:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-19 14:18 [PATCH v6 0/3] vTPM/aarch64 ACPI support Eric Auger
2020-06-19 14:18 ` [PATCH v6 1/3] acpi: Some build_tpm2() code reshape Eric Auger
2020-06-19 15:07   ` Stefan Berger
2020-06-19 15:34     ` Auger Eric
2020-06-19 16:09   ` Stefan Berger
2020-06-19 16:14     ` Auger Eric
2020-06-22 12:51   ` Igor Mammedov
2020-06-19 14:18 ` [PATCH v6 2/3] arm/acpi: Add the TPM2.0 device under the DSDT Eric Auger
2020-06-22 12:48   ` Igor Mammedov
2020-06-19 14:18 ` [PATCH v6 3/3] docs/specs/tpm: ACPI boot now supported for TPM/ARM Eric Auger
2020-06-19 16:10   ` Stefan Berger
2020-06-22 12:47   ` Igor Mammedov
2020-06-19 15:13 ` [PATCH v6 0/3] vTPM/aarch64 ACPI support no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).