From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd21S-0006vg-Gv for qemu-devel@nongnu.org; Tue, 31 Mar 2015 15:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yd21M-0002so-NQ for qemu-devel@nongnu.org; Tue, 31 Mar 2015 15:40:26 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:45078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yd21M-0002sf-Ir for qemu-devel@nongnu.org; Tue, 31 Mar 2015 15:40:20 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 31 Mar 2015 15:40:20 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 521BA6E803C for ; Tue, 31 Mar 2015 15:32:07 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t2VJeHsa26345484 for ; Tue, 31 Mar 2015 19:40:17 GMT Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t2VJeGO0001617 for ; Tue, 31 Mar 2015 15:40:17 -0400 From: Stefan Berger Date: Tue, 31 Mar 2015 15:40:10 -0400 Message-Id: <1427830813-639306-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3] tpm: Upgrade TPM TIS for support of a TPM 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, mst@redhat.com Cc: quan.xu@intel.com, Stefan Berger The following series of patches is targeted for QEMU 2.4. 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 version 2.0 tpm: Probe for connected TPM1.2 or TPM2.0 TPM2 ACPI tables support backends/tpm.c | 14 +++++ hw/i386/acpi-build.c | 34 ++++++++++-- hw/i386/acpi-defs.h | 18 +++++++ hw/tpm/Makefile.objs | 2 +- hw/tpm/tpm_int.h | 7 +++ hw/tpm/tpm_passthrough.c | 65 ++++++---------------- hw/tpm/tpm_tis.c | 120 +++++++++++++++++++++++++++++++++++++---- 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 ++++++++ 13 files changed, 395 insertions(+), 65 deletions(-) create mode 100644 hw/tpm/tpm_util.c create mode 100644 hw/tpm/tpm_util.h -- 1.9.3