Message ID | 20200228030330.18081-1-stefanb@linux.vnet.ibm.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=rwm0=4Q=vger.kernel.org=linux-integrity-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93DF5924 for <patchwork-linux-integrity@patchwork.kernel.org>; Fri, 28 Feb 2020 03:05:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CFFF20658 for <patchwork-linux-integrity@patchwork.kernel.org>; Fri, 28 Feb 2020 03:05:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730782AbgB1DE4 (ORCPT <rfc822;patchwork-linux-integrity@patchwork.kernel.org>); Thu, 27 Feb 2020 22:04:56 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:30976 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730545AbgB1DEz (ORCPT <rfc822;linux-integrity@vger.kernel.org>); Thu, 27 Feb 2020 22:04:55 -0500 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01S32WU8003565; Thu, 27 Feb 2020 22:04:48 -0500 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yepy35mr9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Feb 2020 22:04:48 -0500 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01S2vqf8027474; Fri, 28 Feb 2020 03:04:47 GMT Received: from b01cxnp23033.gho.pok.ibm.com (b01cxnp23033.gho.pok.ibm.com [9.57.198.28]) by ppma04dal.us.ibm.com with ESMTP id 2yepv2sn25-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 03:04:47 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01S34kB752101610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 03:04:46 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3C32C280E8; Fri, 28 Feb 2020 03:04:45 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D0B7F280BB; Fri, 28 Feb 2020 03:03:33 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 28 Feb 2020 03:03:33 +0000 (GMT) From: Stefan Berger <stefanb@linux.vnet.ibm.com> To: jarkko.sakkinen@linux.intel.com, linux-integrity@vger.kernel.org Cc: aik@ozlabs.ru, david@gibson.dropbear.id.au, linux-kernel@vger.kernel.org, nayna@linux.vnet.ibm.com, gcwilson@linux.ibm.com, jgg@ziepe.ca, Stefan Berger <stefanb@linux.ibm.com> Subject: [PATCH v5 0/3] Enable vTPM 2.0 for the IBM vTPM driver Date: Thu, 27 Feb 2020 22:03:27 -0500 Message-Id: <20200228030330.18081-1-stefanb@linux.vnet.ibm.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-27_08:2020-02-26,2020-02-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 mlxlogscore=999 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280025 Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: <linux-integrity.vger.kernel.org> X-Mailing-List: linux-integrity@vger.kernel.org |
Series |
Enable vTPM 2.0 for the IBM vTPM driver
|
expand
|
From: Stefan Berger <stefanb@linux.ibm.com> QEMU 5.0 will support the PAPR vTPM device model for TPM 1.2 and TPM 2.0. This series of patches enables vTPM 2.0 support for the IBM vTPM driver. Regards, Stefan - v4->v5: - Added error path in case tpm2_get_cc_attrs_tbl() fails - v3->v4: - Dropped patch 3; getting command code attributes table in IBM driver - v2->v3: - Added fixes tag to patch 2/4; the race seems to have existed since the driver was first added - Renamed tpm2_init to tpm2_init_commands in 3/4 - v1->v2: - Addressed comments to v1; added patch 3 to handle case when TPM_OPS_AUTO_STARTUP is not set Stefan Berger (3): tpm: of: Handle IBM,vtpm20 case when getting log parameters tpm: ibmvtpm: Wait for buffer to be set before proceeding tpm: ibmvtpm: Add support for TPM 2 drivers/char/tpm/eventlog/of.c | 8 +++++++- drivers/char/tpm/tpm.h | 1 + drivers/char/tpm/tpm2-cmd.c | 2 +- drivers/char/tpm/tpm_ibmvtpm.c | 17 +++++++++++++++++ drivers/char/tpm/tpm_ibmvtpm.h | 1 + 5 files changed, 27 insertions(+), 2 deletions(-)