Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp57712ybx; Thu, 31 Oct 2019 15:53:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyc/+f/wNxwhVy9Uya5ZaWgvMn8f/cAaFo8zbemYLnBzP7+Rx8j11HubjNLhb05MzoB1RCu X-Received: by 2002:aa7:df85:: with SMTP id b5mr9150783edy.298.1572562423225; Thu, 31 Oct 2019 15:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572562423; cv=none; d=google.com; s=arc-20160816; b=dgtEsUdhY/F44lelz/JDvpoYZRcIrkkBnPvxF0nGxz2ADJwLm2Kz4k/vfut5mQnzIJ suGlmIP/PiWoWQ3Bh81430vbOEiGurGTRRHSEWZz4Wp6a13cRsHWXky700BQurRlH4Kz WI9HFvNVSI4jJAJpqdn9qM14lcbEVnzWk/cM/CjzTNdRMv2OAvM9i8or2I1W4E+Xgn92 Edh6oqTLWfft2qT5JwCD2o+K5fvEz8Fz0r1kygiAL8J7N4tjlHSwKbeZ6n4ffEypl3jF GX646+fiGh3bRYxhUhTH2LXs9RS6ZjWBMib3j6988/MaKmFWWV/NMCytzeoMHIzU0z33 lXTg== 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=9jLd7fxmty0XAYJSEGkvnDl2mA4stFaBGsEa6dGtBcQ=; b=PrVn9WuPSc6Ws3Ocy6QWj1qE/QRcSVEfP847to6paGHx8zzSr3dH4gOHhOwJbmJoY5 2TrTKIIK8lsFUPGclkf8z+wi0SRbVxIqIA5ksse7jHflyc39n4iHa4fr5I9bccLOC7Ll kczzTBje06lHPTTQAz6e2mHhs+bC6tbZRG9pEdpGhp946ZW1IyoIfvVwjIbJMnV8egle v0F1LEByHOIOHye7pRWiYvYE5fgxlkn6lWAjy4WM843/iAB2CqMBTupLy3IelTI/7N9E Y5n75mcSiro27RLCJoXTQbjkOPDjiOxojMDmF4zFEIutWcyqU4JdnHF68+qzFIjhE1H6 ZCYw== 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 v10si5515996edc.62.2019.10.31.15.53.20; Thu, 31 Oct 2019 15:53:43 -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 S1728497AbfJaVfr (ORCPT + 99 others); Thu, 31 Oct 2019 17:35:47 -0400 Received: from mga05.intel.com ([192.55.52.43]:20463 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbfJaVfr (ORCPT ); Thu, 31 Oct 2019 17:35:47 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Oct 2019 14:35:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,253,1569308400"; d="scan'208";a="375382924" Received: from epobrien-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.10.103]) by orsmga005.jf.intel.com with ESMTP; 31 Oct 2019 14:35:43 -0700 Date: Thu, 31 Oct 2019 23:35:36 +0200 From: Jarkko Sakkinen To: Jerry Snitselaar Cc: linux-kernel@vger.kernel.org, Mimi Zohar , Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org Subject: Re: [PATCH v4] tpm: Add tpm_version_major sysfs file Message-ID: <20191031213536.GF10507@linux.intel.com> References: <20191030225843.23366-1-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030225843.23366-1-jsnitsel@redhat.com> 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 Wed, Oct 30, 2019 at 03:58:43PM -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 major version of a tpm device. > > Also add an entry to Documentation/ABI/stable/sysfs-class-tpm > describing the new file. > > Cc: Jarkko Sakkinen > Cc: Mimi Zohar > Cc: Peter Huewe > Cc: Jason Gunthorpe > Cc: linux-integrity@vger.kernel.org > Signed-off-by: Jerry Snitselaar Reviewed-by: Jarkko Sakkinen /Jarkko