Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4675382ybg; Tue, 29 Oct 2019 10:41:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqytvyhIxC+biTcebfDucmPLifzzZA7xKmpOAUje3h80ggTY4K/AGL63WJdpiNoh3Kbp5SWf X-Received: by 2002:a17:906:6083:: with SMTP id t3mr4525934ejj.145.1572370873120; Tue, 29 Oct 2019 10:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572370873; cv=none; d=google.com; s=arc-20160816; b=EL2MNKwplWd1+81o3TST6FclgNhX3adGF/RWa1VrpIhzlK1mLYBfJw5JVwrG6E80mk 4mBZpnjjrnjxwKmGha6h9CXDG2V+rzIY6eI5ZKbF0WNthVT5FZ76DrllFqAWoC1s+JQ0 mulYhQENDcYT6JJHhOUSJ+FiByMVgVEnSNjyOJSpGR7DHtFMl3ziruT0+GqmQS5GV7gQ L491XMfwccewhAYSoN28kI1uWsqqZqAEBII8OrK8wK80TKewzQ7WakSfWnDjN1K+hTjs LTkGfkcogFCAfpnBMEGfBEejlmtJv4UAib3K9zCfNU63LbCEQjGMBP4/5v9CM4XTWkrE CIKA== 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=96qlE1OXZDW+WHGtkpXxo64A1wTkRsCPRjVVBHBiGjY=; b=VQc4knMcUwxQVyMw5hVt81S+CtkUSb71DTrpnuuH9CPjL1gveqG/205ujSmCCtzGhD dq+8jVa8K4j+4gm97ivDGsgkYqCYArqcdT8U/cDVPB3SqJ6+sX26GA9ZS9ncFsSL6wB9 glt9Jx0WXgZhWGwZjBy1J03ueyiPTl9Cjh072DLtxZR3fDysb48sA3AN/eIMsgmokpq7 i701Bh/rHiubG3PijwgRWGrexBNZ4KwxqcgNHn4XoMgtHuWw/dyt9lLWAv4tSTTQePEs a46rH7LqogYhHC2iM0E+1kcuwj+H+aBIfrZrSLXW0bqgJI/mBADDcYJtQP1+QMgsaJlq Qy1A== 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 us9si8877525ejb.195.2019.10.29.10.40.49; Tue, 29 Oct 2019 10:41:13 -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 S1731354AbfJ2JOX (ORCPT + 99 others); Tue, 29 Oct 2019 05:14:23 -0400 Received: from mga05.intel.com ([192.55.52.43]:42281 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730552AbfJ2JOW (ORCPT ); Tue, 29 Oct 2019 05:14:22 -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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 02:14:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,243,1569308400"; d="scan'208";a="399721579" Received: from jsakkine-mobl1.tm.intel.com (HELO localhost) ([10.237.50.122]) by fmsmga005.fm.intel.com with ESMTP; 29 Oct 2019 02:14:20 -0700 Date: Tue, 29 Oct 2019 11:14:19 +0200 From: Jarkko Sakkinen To: Jason Gunthorpe Cc: Jerry Snitselaar , linux-kernel@vger.kernel.org, Peter Huewe , linux-integrity@vger.kernel.org Subject: Re: [PATCH] tpm: Add major_version sysfs file Message-ID: <20191029091419.GA9896@linux.intel.com> References: <20191025142847.14931-1-jsnitsel@redhat.com> <20191027153541.GA5222@linux.intel.com> <20191027230046.GJ23952@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191027230046.GJ23952@ziepe.ca> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 27, 2019 at 08:00:46PM -0300, Jason Gunthorpe wrote: > On Sun, Oct 27, 2019 at 05:35:41PM +0200, Jarkko Sakkinen wrote: > > On Fri, Oct 25, 2019 at 07:28:47AM -0700, Jerry Snitselaar wrote: > > > Easily determining what TCG version a tpm device implements > > > has been a pain point for userspace for a long time, so > > > add a sysfs file to report the tcg version of a tpm device. > > > > > > Cc: Jarkko Sakkinen > > > Cc: Peter Huewe > > > Cc: Jason Gunthorpe > > > Cc: linux-integrity@vger.kernel.org > > > Signed-off-by: Jerry Snitselaar > > > > Please use version_major (e.g. if there is ever version_minor > > they order nicely alphabetically). > > That is not the convention in sysfs What is wrong with that name? /Jarkko