18c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/ 28c2ecf20Sopenharmony_ciDate: August 2012 38c2ecf20Sopenharmony_ciKernelVersion: 3.6 48c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci This folder includes the attributes related with PPI (Physical 78c2ecf20Sopenharmony_ci Presence Interface). Only if TPM is supported by BIOS, this 88c2ecf20Sopenharmony_ci folder makes sense. The folder path can be got by command 98c2ecf20Sopenharmony_ci 'find /sys/ -name 'pcrs''. For the detail information of PPI, 108c2ecf20Sopenharmony_ci please refer to the PPI specification from 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci http://www.trustedcomputinggroup.org/ 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci In Linux 4.2 ppi was moved to the character device directory. 158c2ecf20Sopenharmony_ci A symlink from tpmX/device/ppi to tpmX/ppi to provide backwards 168c2ecf20Sopenharmony_ci compatibility. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/version 198c2ecf20Sopenharmony_ciDate: August 2012 208c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 218c2ecf20Sopenharmony_ciDescription: 228c2ecf20Sopenharmony_ci This attribute shows the version of the PPI supported by the 238c2ecf20Sopenharmony_ci platform. 248c2ecf20Sopenharmony_ci This file is readonly. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/request 278c2ecf20Sopenharmony_ciDate: August 2012 288c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 298c2ecf20Sopenharmony_ciDescription: 308c2ecf20Sopenharmony_ci This attribute shows the request for an operation to be 318c2ecf20Sopenharmony_ci executed in the pre-OS environment. It is the only input from 328c2ecf20Sopenharmony_ci the OS to the pre-OS environment. The request should be an 338c2ecf20Sopenharmony_ci integer value range from 1 to 160, and 0 means no request. 348c2ecf20Sopenharmony_ci This file can be read and written. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/response 378c2ecf20Sopenharmony_ciDate: August 2012 388c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 398c2ecf20Sopenharmony_ciDescription: 408c2ecf20Sopenharmony_ci This attribute shows the response to the most recent operation 418c2ecf20Sopenharmony_ci request it acted upon. The format is "<request> <response num> 428c2ecf20Sopenharmony_ci : <response description>". 438c2ecf20Sopenharmony_ci This file is readonly. 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/transition_action 468c2ecf20Sopenharmony_ciDate: August 2012 478c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 488c2ecf20Sopenharmony_ciDescription: 498c2ecf20Sopenharmony_ci This attribute shows the platform-specific action that should 508c2ecf20Sopenharmony_ci take place in order to transition to the BIOS for execution of 518c2ecf20Sopenharmony_ci a requested operation. The format is "<action num>: <action 528c2ecf20Sopenharmony_ci description>". 538c2ecf20Sopenharmony_ci This file is readonly. 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/tcg_operations 568c2ecf20Sopenharmony_ciDate: August 2012 578c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 588c2ecf20Sopenharmony_ciDescription: 598c2ecf20Sopenharmony_ci This attribute shows whether it is allowed to request an 608c2ecf20Sopenharmony_ci operation to be executed in the pre-OS environment by the BIOS 618c2ecf20Sopenharmony_ci for the requests defined by TCG, i.e. requests from 1 to 22. 628c2ecf20Sopenharmony_ci The format is "<request> <status num>: <status description>". 638c2ecf20Sopenharmony_ci This attribute is only supported by PPI version 1.2+. 648c2ecf20Sopenharmony_ci This file is readonly. 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciWhat: /sys/class/tpm/tpmX/ppi/vs_operations 678c2ecf20Sopenharmony_ciDate: August 2012 688c2ecf20Sopenharmony_ciContact: xiaoyan.zhang@intel.com 698c2ecf20Sopenharmony_ciDescription: 708c2ecf20Sopenharmony_ci This attribute shows whether it is allowed to request an 718c2ecf20Sopenharmony_ci operation to be executed in the pre-OS environment by the BIOS 728c2ecf20Sopenharmony_ci for the verdor specific requests, i.e. requests from 128 to 738c2ecf20Sopenharmony_ci 255. The format is same with tcg_operations. This attribute 748c2ecf20Sopenharmony_ci is also only supported by PPI version 1.2+. 758c2ecf20Sopenharmony_ci This file is readonly. 76