GitHub PushEvent at 2014-11-10 12:40:32
Repository: linux-tpm2
Actor: jsakkine
Payload: {"shas":[["b90eb5c6a38c9cf715f253e4b0c15ae0602472db","6e0a3da6445cd298bc4a6b3aaa269075849c9510@linux.intel.com","tpm: fix race condition with sysfs attributes\n\nsysfs attributes were created into wrong place (platform device\ndirectory) and they had a race condition where user space might\nget announced about the device before sysfs were created. This\npatch uses the groups field in struct device to resolve this issue.\n\nBIOS log and PPI are still kept racy in order to not break up\nbackwards compatibility. Moving device sysfs attributes to a\ndifferent place should not be a problem because they are not\nmachine consumable anyway (which is of course wrong but what can\nyou do since they already exist).\n\nSigned-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>","Jarkko Sakkinen",true],["5657be1e28c1be8238494b738190c6de5e641f94","6e0a3da6445cd298bc4a6b3aaa269075849c9510@linux.intel.com","tpm: TPM 2.0 baseline support\n\nTPM 2.0 devices are separated by adding a field 'flags' to struct\ntpm_chip and defining a flag TPM_CHIP_FLAG_TPM2 for tagging them.\n\nThis patch adds the following internal functions:\n\n- tpm2_get_random()\n- tpm2_get_tpm_pt()\n- tpm2_pcr_extend()\n- tpm2_pcr_read()\n- tpm2_startup()\n\nAdditionally, the following exported functions are implemented for\nimplementing TPM 2.0 device drivers:\n\n- tpm2_do_selftest()\n- tpm2_calc_ordinal_durations()\n- tpm2_gen_interrupt()\n\nThe existing functions that are exported for the use for existing\nsubsystems have been changed to check the flags field in struct\ntpm_chip and use appropriate TPM 2.0 counterpart if\nTPM_CHIP_FLAG_TPM2 is est.\n\nThe code for tpm2_calc_ordinal_duration() and tpm2_startup() were\noriginally written by Will Arthur.\n\nSigned-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\nSigned-off-by: Will Arthur <will.c.arthur@intel.com>","Jarkko Sakkinen",true],["f46572587a04de5aaf4abd6914fb7b259477e93b","6e0a3da6445cd298bc4a6b3aaa269075849c9510@linux.intel.com","tpm: TPM 2.0 CRB Interface\n\ntpm_crb is a driver for TPM 2.0 Command Response Buffer (CRB) Interface\nas defined in PC Client Platform TPM Profile (PTP) Specification.\n\nOnly polling and single locality is supported as these are the limitations\nof the available hardware, Platform Trust Techonlogy (PTT) in Haswell\nCPUs.\n\nThe driver always applies CRB with ACPI start because PTT reports using\nonly ACPI start as start method but as a result of my testing it requires\nalso CRB start.\n\nSigned-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>","Jarkko Sakkinen",true],["48d3ccd108a0c8e23cede9f6afc704f3d359a8fa","7c014bd5702d3498acb9a930eff932d53d5378f7@intel.com","tpm: TPM 2.0 FIFO Interface\n\nDetect TPM 2.0 by using the extended STS (STS3) register. For TPM 2.0,\ninstead of calling tpm_get_timeouts(), assign duration and timeout\nvalues defined in the TPM 2.0 PTP specification.\n\nSigned-off-by: Will Arthur <will.c.arthur@intel.com>\nSigned-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>","Will Arthur",true],["a194755961b342cd4e03e9695ea00aae4503faf6","6e0a3da6445cd298bc4a6b3aaa269075849c9510@linux.intel.com","tpm: TPM 2.0 sysfs attributes\n\nManadatory sysfs attributes for TPM 2.0 devices so that it is easy\nto check whether storage hierarchies are enabled.\n\nSigned-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>","Jarkko Sakkinen",true]],"size":5,"ref":"refs/heads/tpm2-v6","head":"a194755961b342cd4e03e9695ea00aae4503faf6"}