Skip to content

Add TPM driver and ACPI support to SeaBIOS

Corey Bryant qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add an implementation of a TPM TIS driversrc/tpm_drivers.c src/tpm_drivers.h+348 -00 replies
2/2Provide ACPI SSDT table for TPM deviceMakefile src/acpi-tpm-ssdt.dsl src/acpi-tpm-ssdt.hex +5 more+248 -27 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Add TPM driver and ACPI support to SeaBIOS

The following set of patches is being resubmitted to add TPM support to SeaBIOS. This series only includes a subset of the total seabios TPM support that is planned. The patches included in this series provide initial foundational support that make sense to include at this point now that a passthrough vTPM is available in QEMU.

In particular, these patches add:
- a TPM driver for QEMU's TPM TIS emulation
- ACPI support for the TPM device (SSDT table)
- ACPI support for measurement logging (TCPA table)

Corey Bryant (2):
Add an implementation of a TPM TIS driver
Provide ACPI SSDT table for TPM device

 Makefile              |    9 ++-
 src/acpi-tpm-ssdt.dsl |   24 +++++
 src/acpi-tpm-ssdt.hex |   27 +++++
 src/acpi.c            |   41 ++++++++
 src/acpi.h            |   20 ++++
 src/config.h          |    2 +-
 src/tcgbios.c         |   70 +++++++++++++
 src/tcgbios.h         |   57 +++++++++++
 src/tpm_drivers.c     |  258 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/tpm_drivers.h     |   90 +++++++++++++++++
 10 files changed, 596 insertions(+), 2 deletions(-)
 create mode 100644 src/acpi-tpm-ssdt.dsl
 create mode 100644 src/acpi-tpm-ssdt.hex
 create mode 100644 src/tcgbios.c
 create mode 100644 src/tcgbios.h
 create mode 100644 src/tpm_drivers.c
 create mode 100644 src/tpm_drivers.h