From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754958AbcGTRGK (ORCPT ); Wed, 20 Jul 2016 13:06:10 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:38169 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbcGTRF6 (ORCPT ); Wed, 20 Jul 2016 13:05:58 -0400 Date: Wed, 20 Jul 2016 11:05:53 -0600 From: Jason Gunthorpe To: Andrey Pronin Cc: Jarkko Sakkinen , Peter Huewe , Marcel Selhorst , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Christophe Ricard Subject: Re: [PATCH v2] tpm: add sysfs attributes for tpm2 Message-ID: <20160720170553.GD21460@obsidianresearch.com> References: <1468547496-16215-1-git-send-email-apronin@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.151 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 19, 2016 at 07:51:52PM -0700, Andrey Pronin wrote: > Add sysfs attributes in TPM2.0 case for: > - TPM_PT_PERMANENT flags > - TPM_PT_STARTUP_CLEAR flags > - lockout-related properties I'm not completely sure we need to have these sysfs attributes. Do you have a reason to expose them? Does udev do something based on them? Is it just for debugging? Otherwise it looks about right to me. Jason