Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753005AbdFVKDB (ORCPT ); Thu, 22 Jun 2017 06:03:01 -0400 Received: from mga11.intel.com ([192.55.52.93]:56227 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdFVKDA (ORCPT ); Thu, 22 Jun 2017 06:03:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,372,1493708400"; d="scan'208";a="117473206" Date: Thu, 22 Jun 2017 12:02:56 +0200 From: Jarkko Sakkinen To: Stefan Berger Cc: tpmdd-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org, Peter Huewe , Marcel Selhorst , Jason Gunthorpe , open list Subject: Re: [PATCH v2] tpm: consolidate the TPM startup code Message-ID: <20170622100256.ehlcwkjp4iduxkbm@linux.intel.com> References: <20170621073134.7436-1-jarkko.sakkinen@linux.intel.com> <1ff1a552-15a9-d8a6-3bcd-3c0f9ff6d71e@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ff1a552-15a9-d8a6-3bcd-3c0f9ff6d71e@linux.vnet.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170306 (1.8.0) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 28 On Wed, Jun 21, 2017 at 07:04:53AM -0400, Stefan Berger wrote: > 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 Thank you! I will also add your Tested-by to - https://patchwork.kernel.org/patch/9799059/ - https://patchwork.kernel.org/patch/9799057/ I'm in the process of enhancing my BuildRoot enviroment with libtpms and swtpm packages. My first target is TPM 1.2 test environment by using tpm_vtpm_proxy driver. http://git.infradead.org/users/jjs/buildroot-tpmdd.git Should be easy as you have nicely autooled projects :-) /Jarkko