From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiVi5-0006TS-5M for qemu-devel@nongnu.org; Wed, 15 Apr 2015 18:23:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiVi2-00088M-0z for qemu-devel@nongnu.org; Wed, 15 Apr 2015 18:23:05 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:33195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiVi1-000884-Pu for qemu-devel@nongnu.org; Wed, 15 Apr 2015 18:23:01 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 15 Apr 2015 16:22:59 -0600 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 54D07C90045 for ; Wed, 15 Apr 2015 18:14:06 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3FMMvi952363432 for ; Wed, 15 Apr 2015 22:22:57 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 t3FMMu1q031087 for ; Wed, 15 Apr 2015 18:22:57 -0400 From: Stefan Berger Date: Wed, 15 Apr 2015 18:22:45 -0400 Message-Id: <1429136568-1068893-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 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 Cc: Stefan Berger , quan.xu@intel.com, mst@redhat.com 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/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