[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/3] tpm: Upgrade TPM TIS for support of a TPM 2
From: |
Stefan Berger |
Subject: |
[Qemu-devel] [PATCH v4 0/3] tpm: Upgrade TPM TIS for support of a TPM 2 |
Date: |
Tue, 26 May 2015 16:51:04 -0400 |
After the previous upgrade of the TPM TIS to version 1.3,
we now upgrade it to support a TPM 2 in the backend.
Stefan Berger (3):
Extend TPM TIS interface to support TPM 2
tpm: Probe for connected TPM 1.2 or TPM 2
TPM2 ACPI table support
backends/tpm.c | 14 +++++
hw/i386/Makefile.objs | 2 +-
hw/i386/acpi-build.c | 38 ++++++++++--
hw/i386/acpi-defs.h | 18 ++++++
hw/i386/ssdt-tpm-common.dsl | 36 ++++++++++++
hw/i386/ssdt-tpm.dsl | 16 +----
hw/i386/ssdt-tpm.hex.generated | 26 +++++++--
hw/i386/ssdt-tpm2.dsl | 29 +++++++++
hw/i386/ssdt-tpm2.hex.generated | 109 ++++++++++++++++++++++++++++++++++
hw/tpm/Makefile.objs | 2 +-
hw/tpm/tpm_int.h | 7 +++
hw/tpm/tpm_passthrough.c | 65 +++++----------------
hw/tpm/tpm_tis.c | 119 ++++++++++++++++++++++++++++++++++---
hw/tpm/tpm_tis.h | 1 +
hw/tpm/tpm_util.c | 126 ++++++++++++++++++++++++++++++++++++++++
hw/tpm/tpm_util.h | 28 +++++++++
include/hw/acpi/tpm.h | 5 ++
include/sysemu/tpm.h | 17 +++++-
include/sysemu/tpm_backend.h | 23 ++++++++
19 files changed, 594 insertions(+), 87 deletions(-)
create mode 100644 hw/i386/ssdt-tpm-common.dsl
create mode 100644 hw/i386/ssdt-tpm2.dsl
create mode 100644 hw/i386/ssdt-tpm2.hex.generated
create mode 100644 hw/tpm/tpm_util.c
create mode 100644 hw/tpm/tpm_util.h
--
1.9.3
- [Qemu-devel] [PATCH v4 0/3] tpm: Upgrade TPM TIS for support of a TPM 2,
Stefan Berger <=