Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753800Ab2KLQhL (ORCPT ); Mon, 12 Nov 2012 11:37:11 -0500 Received: from smtp2.infineon.com ([217.10.60.23]:2493 "EHLO smtp2.infineon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795Ab2KLQhJ convert rfc822-to-8bit (ORCPT ); Mon, 12 Nov 2012 11:37:09 -0500 X-SBRS: None From: To: CC: , , Subject: RE: [tpmdd-devel] [PATCH] tpm: add documentation for sysfs interfaces Thread-Topic: [tpmdd-devel] [PATCH] tpm: add documentation for sysfs interfaces Thread-Index: AQHNvdXCMTFMLtSZ0U2RcQhDHKg9R5fl6MHQgABc1gCAAB8NIA== Date: Mon, 12 Nov 2012 16:36:49 +0000 Message-ID: <74A44E99E3274B4CB570415926B37D440F6AD6@MUCSE501.eu.infineon.com> References: <20121108171006.GA30286@ennui.austin.ibm.com> <74A44E99E3274B4CB570415926B37D440F6973@MUCSE501.eu.infineon.com> <20121112151846.GA31987@ennui.austin.ibm.com> In-Reply-To: <20121112151846.GA31987@ennui.austin.ibm.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.8.249] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1510 Lines: 32 Hi Kent, > > > +What: /sys/class/misc/tpmX/device/active > > > +Date: April 2006 > > > +KernelVersion: 2.6.17 > > > +Contact: tpmdd-devel@lists.sf.net > > > +Description: The "active" property prints a '1' if the TPM chip is accepting > > > + commands. An inactive TPM chip still contains all the state of > > > + an active chip (Storage Root Key, NVRAM, etc), and can be > > > + visible to the OS, but will not accept commands. > > > > Hmm, I know this is a tricky one (enabled/activated). > > maybe this would be better as: > > - visible to the OS, but will not accept commands. > > + visible to the OS, but will only accept a restricted set of commands. > > + See TCG specification(...) for more information. > > Yeah that's more accurate. I'm just inclined to point to the design > principles and structures spec here unless you have a better idea. Both > have enabled/activated info scattered throughout them. Sigh. :) > Maybe refer to TPM Main - Part 2 TPM Structures_v1.2_rev116 - Section 17 The table of ordinals there has a special column named 'Avail Disabled' and 'Avail Deactivated' which describes quite good which commands can be used and which not. Thanks, Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/