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

Jennifer Herbert posted 2 patches 2 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230504175146.208936-1-jennifer.herbert@citrix.com
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
[PATCH v4 0/2] acpi: Make TPM version configurable.
Posted by Jennifer Herbert 2 years, 9 months ago
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

-- 
2.39.1