mbox series

[v4,0/2] acpi: Make TPM version configurable.

Message ID 20230504175146.208936-1-jennifer.herbert@citrix.com (mailing list archive)
Headers show
Series acpi: Make TPM version configurable. | expand

Message

Jennifer Herbert May 4, 2023, 5:51 p.m. UTC
This patch series makes the TPM version, for which the ACPI library probes,
configurable, and then add support for TPM version 2.

Changes from version 3:

* Omit tpm_version 0 case, to fallback to 1.2,  previously intended for
  compatibility for unknown code.
* Add checks for xenstore tpm_version field.
* Convert copyright header to SPDX
* Minor code style fixes.


Jennifer Herbert (2):
  acpi: Make TPM version configurable.
  acpi: Add TPM2 interface definition.

 docs/misc/xenstore-paths.pandoc |  10 +++
 tools/firmware/hvmloader/util.c |  39 +++++++++---
 tools/libacpi/Makefile          |   3 +-
 tools/libacpi/acpi2_0.h         |  33 ++++++++++
 tools/libacpi/build.c           | 106 +++++++++++++++++++++++---------
 tools/libacpi/libacpi.h         |   4 +-
 tools/libacpi/ssdt_tpm2.asl     |  27 ++++++++
 7 files changed, 184 insertions(+), 38 deletions(-)
 create mode 100644 tools/libacpi/ssdt_tpm2.asl