162306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/ 262306a36Sopenharmony_ciDate: August 2012 362306a36Sopenharmony_ciKernelVersion: 3.6 462306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci This folder includes the attributes related with PPI (Physical 762306a36Sopenharmony_ci Presence Interface). Only if TPM is supported by BIOS, this 862306a36Sopenharmony_ci folder makes sense. The folder path can be got by command 962306a36Sopenharmony_ci 'find /sys/ -name 'pcrs''. For the detail information of PPI, 1062306a36Sopenharmony_ci please refer to the PPI specification from 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci http://www.trustedcomputinggroup.org/ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci In Linux 4.2 ppi was moved to the character device directory. 1562306a36Sopenharmony_ci A symlink from tpmX/device/ppi to tpmX/ppi to provide backwards 1662306a36Sopenharmony_ci compatibility. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/version 1962306a36Sopenharmony_ciDate: August 2012 2062306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 2162306a36Sopenharmony_ciDescription: 2262306a36Sopenharmony_ci This attribute shows the version of the PPI supported by the 2362306a36Sopenharmony_ci platform. 2462306a36Sopenharmony_ci This file is readonly. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/request 2762306a36Sopenharmony_ciDate: August 2012 2862306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 2962306a36Sopenharmony_ciDescription: 3062306a36Sopenharmony_ci This attribute shows the request for an operation to be 3162306a36Sopenharmony_ci executed in the pre-OS environment. It is the only input from 3262306a36Sopenharmony_ci the OS to the pre-OS environment. The request should be an 3362306a36Sopenharmony_ci integer value range from 1 to 160, and 0 means no request. 3462306a36Sopenharmony_ci This file can be read and written. 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/response 3762306a36Sopenharmony_ciDate: August 2012 3862306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 3962306a36Sopenharmony_ciDescription: 4062306a36Sopenharmony_ci This attribute shows the response to the most recent operation 4162306a36Sopenharmony_ci request it acted upon. The format is "<request> <response num> 4262306a36Sopenharmony_ci : <response description>". 4362306a36Sopenharmony_ci This file is readonly. 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/transition_action 4662306a36Sopenharmony_ciDate: August 2012 4762306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 4862306a36Sopenharmony_ciDescription: 4962306a36Sopenharmony_ci This attribute shows the platform-specific action that should 5062306a36Sopenharmony_ci take place in order to transition to the BIOS for execution of 5162306a36Sopenharmony_ci a requested operation. The format is "<action num>: <action 5262306a36Sopenharmony_ci description>". 5362306a36Sopenharmony_ci This file is readonly. 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/tcg_operations 5662306a36Sopenharmony_ciDate: August 2012 5762306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 5862306a36Sopenharmony_ciDescription: 5962306a36Sopenharmony_ci This attribute shows whether it is allowed to request an 6062306a36Sopenharmony_ci operation to be executed in the pre-OS environment by the BIOS 6162306a36Sopenharmony_ci for the requests defined by TCG, i.e. requests from 1 to 22. 6262306a36Sopenharmony_ci The format is "<request> <status num>: <status description>". 6362306a36Sopenharmony_ci This attribute is only supported by PPI version 1.2+. 6462306a36Sopenharmony_ci This file is readonly. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/vs_operations 6762306a36Sopenharmony_ciDate: August 2012 6862306a36Sopenharmony_ciContact: xiaoyan.zhang@intel.com 6962306a36Sopenharmony_ciDescription: 7062306a36Sopenharmony_ci This attribute shows whether it is allowed to request an 7162306a36Sopenharmony_ci operation to be executed in the pre-OS environment by the BIOS 7262306a36Sopenharmony_ci for the verdor specific requests, i.e. requests from 128 to 7362306a36Sopenharmony_ci 255. The format is same with tcg_operations. This attribute 7462306a36Sopenharmony_ci is also only supported by PPI version 1.2+. 7562306a36Sopenharmony_ci This file is readonly. 76