Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp712210imm; Mon, 1 Oct 2018 17:46:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV60LmUrUBgrdgcABF/d7NngqY3+hCBTacRodxUnoXnE2E4zwYIiR7kRtikWflbv6+xKqteUf X-Received: by 2002:a63:c306:: with SMTP id c6-v6mr3606256pgd.133.1538441202328; Mon, 01 Oct 2018 17:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538441202; cv=none; d=google.com; s=arc-20160816; b=LLdGeuqDbM05ECrb6WgZGlIBKT3ZaFOzT19BVrWVUoN25L5qSqXP7o/xgAeBGXPPDY 2+3QSkoMg3TBn2DA0JoyObTPJE0LoFSTnFbZ9rQ1JgwFq4OlUoupUFNReRrQ7ZX+u+ti taii0MvSWzM6fB95gJUnngXoaiyrSWVGGXD2ddnRdrmi3aevFrWz1t/oyteL6SJ6N9H1 X8L4hP+R5c2OFULg2Vx+RzAzUhpJmU2XqM0C6N6xJj8/BODzi8r6FhiHK93Bl3JCoccf DY5a/bh7XpnFxqi1/OSXWfOJvYIbvzEPGQr9kwgYJkixDlZIuymSqlpS1MnbUAL6J6Dr f/Iw== 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=LkxcOTB0oUSu5+8uC2BSEX0Q8T/3zhIrxk8xfTxvIOQ=; b=FbaK3uCJL/yHfN4jM3sG/DA4WcUAZlZ/+b929hcFV8OlJ63pyNddU5RSxQGO49Kikt Gi8+NyFRE5tEa21iEliAafbp3CM2rqKQ7t0nkefy9LRTamnhdF9JJZRC6Rt3GkDszcnY BfScXK7dHhQmGeuIRZ3er7N4BDy1LQgV2Mmdyqn4ddsvTBosuhtWVbhIQaJqdu3cWIhh xs2vcAOeYj0q+uJ3DBEBkjfE6sN+56yor8EQcPt9/gZQAEOyVo0hCdQoQpGQ/MT2NScb 5ki/3DrI8GIZjhsm5jm6o+lVHCfpviAy/KqTsjno/TqfpNCJRWdeSUV6aTh/kcJuAAXJ LCYg== 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 c2-v6si13829358pfn.212.2018.10.01.17.46.27; Mon, 01 Oct 2018 17:46: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 S1726709AbeJBH0g (ORCPT + 99 others); Tue, 2 Oct 2018 03:26:36 -0400 Received: from mga01.intel.com ([192.55.52.88]:27032 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbeJBH0g (ORCPT ); Tue, 2 Oct 2018 03:26:36 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2018 17:46:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,329,1534834800"; d="scan'208";a="77696571" Received: from hubermic-mobl.ger.corp.intel.com (HELO localhost) ([10.252.54.31]) by orsmga007.jf.intel.com with ESMTP; 01 Oct 2018 17:46:05 -0700 Date: Tue, 2 Oct 2018 03:46:03 +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 11/21] tpm: factor out tpm_startup function Message-ID: <20181002004603.GG23753@linux.intel.com> References: <20180928223035.14471-1-tomas.winkler@intel.com> <20180928223035.14471-12-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928223035.14471-12-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:25AM +0300, Tomas Winkler wrote: > TPM manual startup is used only from within TPM 1.x or TPM 2.x > code, hence remove tpm_startup() function from tpm-interface.c > and add two static functions implementations tpm1_startup() > and tpm2_startup() into to tpm1-cmd.c and tpm2-cmd.c respectively. > > Signed-off-by: Tomas Winkler > Tested-by: Jarkko Sakkinen Reviewed-by: Jarkko Sakkinen /Jarkko