tpm: update PPI documentation to address the location change.
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 20 May 2015 13:44:40 +0000 (16:44 +0300)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:01:20 +0000 (01:01 +0200)
Updated Documentation/ABI/testing/sysfs-driver-ppi in order to explain
where PPI attributes are located and how backwards compatibility is
addressed.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Documentation/ABI/testing/sysfs-driver-ppi

index 7d1435b..9921ef2 100644 (file)
@@ -1,4 +1,4 @@
-What:          /sys/devices/pnp0/<bus-num>/ppi/
+What:          /sys/class/tpm/tpmX/ppi/
 Date:          August 2012
 Kernel Version:        3.6
 Contact:       xiaoyan.zhang@intel.com
@@ -8,9 +8,14 @@ Description:
                folder makes sense. The folder path can be got by command
                'find /sys/ -name 'pcrs''. For the detail information of PPI,
                please refer to the PPI specification from
+
                http://www.trustedcomputinggroup.org/
 
-What:          /sys/devices/pnp0/<bus-num>/ppi/version
+               In Linux 4.2 ppi was moved to the character device directory.
+               A symlink from tpmX/device/ppi to tpmX/ppi to provide backwards
+               compatibility.
+
+What:          /sys/class/tpm/tpmX/ppi/version
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description:
@@ -18,7 +23,7 @@ Description:
                platform.
                This file is readonly.
 
-What:          /sys/devices/pnp0/<bus-num>/ppi/request
+What:          /sys/class/tpm/tpmX/ppi/request
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description:
@@ -28,7 +33,7 @@ Description:
                integer value range from 1 to 160, and 0 means no request.
                This file can be read and written.
 
-What:          /sys/devices/pnp0/00:<bus-num>/ppi/response
+What:          /sys/class/tpm/tpmX/ppi/response
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description:
@@ -37,7 +42,7 @@ Description:
                : <response description>".
                This file is readonly.
 
-What:          /sys/devices/pnp0/<bus-num>/ppi/transition_action
+What:          /sys/class/tpm/tpmX/ppi/transition_action
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description:
@@ -47,7 +52,7 @@ Description:
                description>".
                This file is readonly.
 
-What:          /sys/devices/pnp0/<bus-num>/ppi/tcg_operations
+What:          /sys/class/tpm/tpmX/ppi/tcg_operations
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description:
@@ -58,7 +63,7 @@ Description:
                This attribute is only supported by PPI version 1.2+.
                This file is readonly.
 
-What:          /sys/devices/pnp0/<bus-num>/ppi/vs_operations
+What:          /sys/class/tpm/tpmX/ppi/vs_operations
 Date:          August 2012
 Contact:       xiaoyan.zhang@intel.com
 Description: