Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1055438imu; Fri, 11 Jan 2019 14:12:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qkqtPxUh0YHJEhHg4BpKuQzC9HP+BKXWg3WHk1QSK3DnrlhZ6jAtFTEQMcOWIGmPnWfNK X-Received: by 2002:a65:4049:: with SMTP id h9mr14680503pgp.304.1547244731902; Fri, 11 Jan 2019 14:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547244731; cv=none; d=google.com; s=arc-20160816; b=m1xHwmtZ/Lz8ApMIce5iW+qs0y32L95GE0AJvGkfPaj2MkV/r7Bv2E/y7xcHBuu3yA 3guSlsnQO0zcwcWCKjmjzgW80zUACkRoYjUS/bGRsJ8B6wz6ghUS8sHaIal4xtSzwp02 3LuBp7PWeZyjyXnu58n0shsQsXNnjqS5frqV/Jj3v2XXvl2RcK9wOpILSCaoshLrdM25 8VvSrimMYQxUAqwmc5uzr6qWKNVfSw53FdTQGlQFkGQD2jya0ZHwD7UnUIc1tGxpMYG9 FObmcnYtaFtQy8ZBrPDB2Bi/LYWLnqMs45YRBOE3RfH24+8SdlQRl47pazoLKT3qp+m/ vW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=I5h3AJo/6HiZ+C/WMHKq6/SKg1X7MbmMy8gSFL3vafg=; b=nBwY7ViffsX0P+o5ADHy1xg0lSl9rJrMYzzP4kNKgV8OE71vf4SLWR8zC3ONG2Uwm3 hse+ztIG1eu3RFnxRtYVdtVH4aeHz0HoSFDpC5o7JJreA500KsyVMPNPEc2S8R1ejaGE 76ps5TZFh0dMvo+AmhrEODx5c0fls9rf8aWGY+Eix84vGWORu//FnOO5JulKvV53UMfE ft62Z1zg+YnJR2Ife7ksM7p//QxfNbJi9dOYRDi1l07P0XY8zpL0p415OPlcDeiYSZj7 2M8lzRuCs9Y2feHY1m5F+pc6gD07/Wjxhypmwxs7yAZlYBeGi0XVwnnBlAiXNuLnWS+j VBFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ge.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c12si23097319pgh.257.2019.01.11.14.11.56; Fri, 11 Jan 2019 14:12:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ge.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726387AbfAKWJx convert rfc822-to-8bit (ORCPT + 99 others); Fri, 11 Jan 2019 17:09:53 -0500 Received: from mx0b-00176a03.pphosted.com ([67.231.157.48]:58760 "EHLO mx0a-00176a03.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725810AbfAKWJx (ORCPT ); Fri, 11 Jan 2019 17:09:53 -0500 X-Greylist: delayed 6108 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 Jan 2019 17:09:53 EST Received: from pps.filterd (m0048205.ppops.net [127.0.0.1]) by m0048205.ppops.net-00176a03. (8.16.0.22/8.16.0.22) with SMTP id x0BKOZYq039770; Fri, 11 Jan 2019 15:28:03 -0500 From: "Safford, David (GE Global Research)" To: Stefan Berger , "linux-integrity@vger.kernel.org" , "jarkko.sakkinen@linux.intel.com" CC: "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 0/5] Extend TPM PPI interface to support revision 1.3 Thread-Topic: [PATCH 0/5] Extend TPM PPI interface to support revision 1.3 Thread-Index: AQHUqGg8qCxFiw8eqEqkK4aYmPL2cqWqhNVg Date: Fri, 11 Jan 2019 20:28:00 +0000 Message-ID: References: <20190109221103.1897677-1-stefanb@linux.vnet.ibm.com> In-Reply-To: <20190109221103.1897677-1-stefanb@linux.vnet.ibm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcMjEyNDczOTUwXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEyOWUzNWJcbXNnc1xtc2ctNWM3ODk2OGUtMTVkZi0xMWU5LTgxZWMtNWNlMGM1OGE4NGIzXGFtZS10ZXN0XDVjNzg5NjhmLTE1ZGYtMTFlOS04MWVjLTVjZTBjNThhODRiM2JvZHkudHh0IiBzej0iMTgyOCIgdD0iMTMxOTE3MTIwNzg3MDAzOTc5IiBoPSJoaG0raXhHUUtlVDkzYnV0eFo2aU1INjBCb009IiBpZD0iIiBibD0iMCIgYm89IjEiLz48L21ldGE+ x-originating-ip: [3.159.16.100] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-11_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901110162 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: linux-integrity-owner@vger.kernel.org owner@vger.kernel.org> On Behalf Of Stefan Berger > Sent: Wednesday, January 09, 2019 5:11 PM > To: linux-integrity@vger.kernel.org; jarkko.sakkinen@linux.intel.com > Cc: linux-security-module@vger.kernel.org; linux-kernel@vger.kernel.org; > Stefan Berger > Subject: EXT: [PATCH 0/5] Extend TPM PPI interface to support revision 1.3 > > This series of patches extends the TPM subsystem's PPI support to support > TPM PPI revision 1.3 where more commands are supported (up to 101) and > the TPM 2 command code '23' takes an additional parameter. > > For the command code '23' see this document here on document page 39: > https://trustedcomputinggroup.org/wp-content/uploads/Physical- > Presence-Interface_1-30_0-52.pdf > > Stefan You might mention that this is an important feature, as on at least some systems, ppi function 23 is the only way to enable/disable PCR banks. I have tested this patch set on my HP Spectre laptop, and I am finally able to turn the sha-1 bank on and off. Much appreciated! Tested-by: David Safford > > Stefan Berger (5): > tpm: ppi: pass function revision ID to tpm_eval_dsm() > tpm: ppi: rename TPM_PPI_REVISION_ID to TPM_PPI_REVISION_1 > tpm: ppi: Display up to 101 operations as define for version 1.3 > tpm: ppi: Possibly show command parameter if TPM PPI 1.3 is used > tpm: ppi: Enable submission of optional command parameter for PPI 1.3 > > drivers/char/tpm/tpm_ppi.c | 78 ++++++++++++++++++++++++++++-------- > -- > 1 file changed, 58 insertions(+), 20 deletions(-) > > -- > 2.17.1