Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbdFULFG (ORCPT ); Wed, 21 Jun 2017 07:05:06 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51244 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751106AbdFULFE (ORCPT ); Wed, 21 Jun 2017 07:05:04 -0400 Subject: Re: [PATCH v2] tpm: consolidate the TPM startup code To: Jarkko Sakkinen , tpmdd-devel@lists.sourceforge.net References: <20170621073134.7436-1-jarkko.sakkinen@linux.intel.com> Cc: linux-security-module@vger.kernel.org, Peter Huewe , Marcel Selhorst , Jason Gunthorpe , open list From: Stefan Berger Date: Wed, 21 Jun 2017 07:04:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170621073134.7436-1-jarkko.sakkinen@linux.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17062111-0008-0000-0000-000008108F67 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007265; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00877769; UDB=6.00437300; IPR=6.00657909; BA=6.00005434; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015906; XFM=3.00000015; UTC=2017-06-21 11:05:02 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17062111-0009-0000-0000-000042B84DA3 Message-Id: <1ff1a552-15a9-d8a6-3bcd-3c0f9ff6d71e@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-21_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706210188 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 447 Lines: 12 On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote: > Consolidated all the "manual" TPM startup code to a single function > in order to make code flows a bit cleaner and migrate to tpm_buf. > > Signed-off-by: Jarkko Sakkinen Tested-by: Stefan Berger FYI: swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1 --tpm2 swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1