^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/tpm/tpmX/ppi/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 3.6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) This folder includes the attributes related with PPI (Physical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Presence Interface). Only if TPM is supported by BIOS, this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) folder makes sense. The folder path can be got by command
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) 'find /sys/ -name 'pcrs''. For the detail information of PPI,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) please refer to the PPI specification from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) http://www.trustedcomputinggroup.org/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) In Linux 4.2 ppi was moved to the character device directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) A symlink from tpmX/device/ppi to tpmX/ppi to provide backwards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatibility.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/class/tpm/tpmX/ppi/version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) This attribute shows the version of the PPI supported by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) This file is readonly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) What: /sys/class/tpm/tpmX/ppi/request
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) This attribute shows the request for an operation to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) executed in the pre-OS environment. It is the only input from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) the OS to the pre-OS environment. The request should be an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) integer value range from 1 to 160, and 0 means no request.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) This file can be read and written.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) What: /sys/class/tpm/tpmX/ppi/response
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) This attribute shows the response to the most recent operation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) request it acted upon. The format is "<request> <response num>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) : <response description>".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) This file is readonly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) What: /sys/class/tpm/tpmX/ppi/transition_action
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) This attribute shows the platform-specific action that should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) take place in order to transition to the BIOS for execution of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) a requested operation. The format is "<action num>: <action
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) description>".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) This file is readonly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) What: /sys/class/tpm/tpmX/ppi/tcg_operations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) This attribute shows whether it is allowed to request an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) operation to be executed in the pre-OS environment by the BIOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) for the requests defined by TCG, i.e. requests from 1 to 22.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) The format is "<request> <status num>: <status description>".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) This attribute is only supported by PPI version 1.2+.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) This file is readonly.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) What: /sys/class/tpm/tpmX/ppi/vs_operations
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Date: August 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) Contact: xiaoyan.zhang@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) This attribute shows whether it is allowed to request an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) operation to be executed in the pre-OS environment by the BIOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) for the verdor specific requests, i.e. requests from 128 to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) 255. The format is same with tcg_operations. This attribute
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) is also only supported by PPI version 1.2+.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) This file is readonly.