Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp711265imm; Mon, 1 Oct 2018 17:45:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Zzog4mOyvTEtQFcmMApfOKTFfjuSv1r0voE8xetnUbHrNM85NtVRqkkAhB1iMrBDIyP5S X-Received: by 2002:a63:2d43:: with SMTP id t64-v6mr12441621pgt.128.1538441123311; Mon, 01 Oct 2018 17:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538441123; cv=none; d=google.com; s=arc-20160816; b=qozkuAUdwi4HkSLSVymJkKR12S2FqP7zYAfhjp+TnwKZlUxpn3md00rgcywq8zw0wo 9RnDN9nIrbpPxhLi2pdGGviv2IWaDuLhNyXPGdpKoPHdqdm43HIGP8+4yPbiBxK8tRCi 2YuLcpR2XIYiEduK8Irut6UAJh52wY2TNiBMK5NOr/86mgVfhmZtZLeanRYL8/mGMuzF zsEIJ4Rs+OZVGxEdSAF6Zhjzr1ujFgPbmwN8pyBjP/z1dcYXy6Uu/UukvD9AFNGOSl44 eGx2CCqaCw4JSfqZ4Z7SO6hOAgjaKtwUmG+DWp9aHN2EUlGmS1CI0efbAqaetJ7Qy23S L1rA== 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=5S2zZFe0Y6Lt6MZCgBz6fKxOJojF1UFaMZbBXvkmrwE=; b=FhvgXAAKC3HU2g/w3MeT7OCvIlWVhtYKR3wBFS9kb+Ih2eecy1nV6K5VOJnxi1ONub 9D6MMkoEM2ErmfSftmBGoQc3mG2XAmrgTNm5z7nINobbpSay3/wsUG9zgSro3/hxSj5W b7l7sEal8oBHctrdBQ3eB5Gm87O9vUZAl0nKDgFRDNtH9hJGabLyxkpST0XL6WW3sOmv 9fcGK0uSziZqGl3oQU6lurJOqRLksUQa2jMxT+M6y98KVyWMaCmKOOWhMeqxrFWBXuvk aW7EoiEh0TjUbIYyg0RUGOiJj0z7a3uKrPPkW31KBa/w9V6CQ+ORBLhjmiAYTk1hMCTI qs0g== 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 d37-v6si14681592pla.40.2018.10.01.17.45.08; Mon, 01 Oct 2018 17:45:23 -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 S1726618AbeJBHZM (ORCPT + 99 others); Tue, 2 Oct 2018 03:25:12 -0400 Received: from mga14.intel.com ([192.55.52.115]:14761 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbeJBHZM (ORCPT ); Tue, 2 Oct 2018 03:25:12 -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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2018 17:44:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,329,1534834800"; d="scan'208";a="77696279" 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:44:41 -0700 Date: Tue, 2 Oct 2018 03:44:40 +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 00/21] tpm: separate tpm 1.x and tpm 2.x commands Message-ID: <20181002004440.GE23753@linux.intel.com> References: <20180928223035.14471-1-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928223035.14471-1-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:14AM +0300, Tomas Winkler wrote: > This patch series provides initial separation of tpm 1.x and tpm 2.x > commands, in foresight that the tpm 1.x chips will eventually phase out > and can be compiled out for modern systems. > A new file is added tpm1-cmd.c that contains tpm 1.x specific commands. > In addition, tpm 1.x commands are now implemented using tpm_buf > structure and instead of tpm_cmd_t construct. The latter is now removed. > > Note: my tpm 1.x HW availability is limited hence some more testing is needed. > > This series also contains two trivial cleanups and addition of new > commands by TCG spec 1.36, now supported on new Intet's platforms. Would be nice if the change log was here and not scattered into patches. /Jarkko