Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp719837imm; Mon, 1 Oct 2018 17:57:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Ie7BThPepuKe6wOCAikd7ZSt2kkAsZQFifGdcpXsZ2ReEH6Nj79M8+/y5HESrdeYCJtsx X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr12362512pgb.411.1538441862662; Mon, 01 Oct 2018 17:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538441862; cv=none; d=google.com; s=arc-20160816; b=HUcTrWjFLsldH3TSa3q7mnPC/m+Npc4wB3SmsbhCBr8ha+q635cGv61VHJLtFCAKMu o3Qu0Arfq9RBvbsFUUjScZqUe/XDfIXRxv2iRj0ZYz2qHjARQmjkPy4x6Nd+SyZypYuW HgOXZqV+zrID3dD0p4q/73j3oMPYSjR2T1MVdZ2KzbmKa3yX9MNKCiMUWXWEVgRhJSOB QuWb5/T8UuRca16I/VC2uUm+qplPB2FcObvy0Q47eaTMr9fvOlOs0uFzdwK5+1204pLy 5yqKC9Vwnhp1NBjQw9j3PeAFK1OYYom/fHajn/+pl1FAOx9A3lacQqN+24h5J79tPjID HeKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=P8thqRzbH/vVX1Tw7ZoJFmlZren7s9H1+jnmUedrz3k=; b=oIbM3EzyOric8/5oSXY3OZqioa/DMYB+lz3PQu6gvZl7NGVO9FZ1AWYMjh7yflkFz/ LRtxEx4abPf545GDsGEPQ/IabOGbhJxyhegzvCnHVmuCG8Ue0M4o4fR7UVxm/La7SFX2 alITvjAUlYaEDJaEKw3r68NoBE0NNafh7Chb8+Fej877OdeHvEn8LVTO5FL8HXirPSGR XZmmSquPLhtRFbpM6uu8bwtqpLElss3RTGjbGCxGrQ1kOlg88CqdbYwKxCivuhiIKSma VBYtTyfHJZeSCVyieQJfYFZVB15PsIyZ5ouJOpbeSSBPfKBltIQjyN5fltqDVfCZ8WsV vzJg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 136-v6si12601941pfw.278.2018.10.01.17.57.28; Mon, 01 Oct 2018 17:57:42 -0700 (PDT) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727201AbeJBHhT (ORCPT + 99 others); Tue, 2 Oct 2018 03:37:19 -0400 Received: from mga14.intel.com ([192.55.52.115]:15926 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbeJBHhT (ORCPT ); Tue, 2 Oct 2018 03:37:19 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2018 17:56:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,329,1534834800"; d="scan'208";a="267604233" Received: from hubermic-mobl.ger.corp.intel.com (HELO localhost) ([10.252.54.31]) by fmsmga005.fm.intel.com with ESMTP; 01 Oct 2018 17:56:36 -0700 Date: Tue, 2 Oct 2018 03:56:35 +0300 From: Jarkko Sakkinen To: Tomas Winkler Cc: Jason Gunthorpe , Nayna Jain , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 13/21] tpm: add tpm_auto_startup() into tpm-interface.c Message-ID: <20181002005635.GI23753@linux.intel.com> References: <20180928223035.14471-1-tomas.winkler@intel.com> <20180928223035.14471-14-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928223035.14471-14-tomas.winkler@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 29, 2018 at 01:30:27AM +0300, Tomas Winkler wrote: > Add wrapper tpm_auto_startup() to tpm-interface.c > instead of open coded decision between TPM 1.x and TPM 2.x > in tpm-chip.c > > Signed-off-by: Tomas Winkler > Tested-by: Jarkko Sakkinen Reviewed-by: Jarkko Sakkinen /Jarkko