From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: mst@redhat.com, qemu-devel@nongnu.org, imammedo@redhat.com
Cc: quan.xu@intel.com, Stefan Berger <stefanb@linux.vnet.ibm.com>
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 [thread overview]
Message-ID: <1432673467-1033008-1-git-send-email-stefanb@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2015-05-26 20:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-26 20:51 Stefan Berger [this message]
2015-05-26 20:51 ` [Qemu-devel] [PATCH v4 1/3] Extend TPM TIS interface to support TPM 2 Stefan Berger
2015-05-26 20:51 ` [Qemu-devel] [PATCH v4 2/3] tpm: Probe for connected TPM 1.2 or " Stefan Berger
2015-05-26 20:51 ` [Qemu-devel] [PATCH v4 3/3] TPM2 ACPI table support Stefan Berger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432673467-1033008-1-git-send-email-stefanb@linux.vnet.ibm.com \
--to=stefanb@linux.vnet.ibm.com \
--cc=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quan.xu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).