From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqkaA-0001yb-O2 for qemu-devel@nongnu.org; Fri, 08 May 2015 11:52:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yqka7-0002qo-EX for qemu-devel@nongnu.org; Fri, 08 May 2015 11:52:58 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:47951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqka7-0002qe-7w for qemu-devel@nongnu.org; Fri, 08 May 2015 11:52:55 -0400 Received: from /spool/local by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 May 2015 09:52:53 -0600 Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 335241FF004F for ; Fri, 8 May 2015 09:44:02 -0600 (MDT) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t48FqSKA42991728 for ; Fri, 8 May 2015 08:52:28 -0700 Received: from d03av02.boulder.ibm.com (localhost [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t48FqplU010650 for ; Fri, 8 May 2015 09:52:51 -0600 From: Stefan Berger Date: Fri, 8 May 2015 11:52:43 -0400 Message-Id: <1431100366-700144-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v3 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: imammedo@redhat.com, stefanb@us.ibm.com, quan.xu@intel.com, Stefan Berger 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-tpm2.dsl | 44 +++++++++++++++ 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 ++++++++ 15 files changed, 443 insertions(+), 66 deletions(-) create mode 100644 hw/i386/ssdt-tpm2.dsl create mode 100644 hw/tpm/tpm_util.c create mode 100644 hw/tpm/tpm_util.h -- 1.9.3