1. 25 6月, 2016 6 次提交
  2. 20 2月, 2016 1 次提交
  3. 10 2月, 2016 2 次提交
  4. 09 11月, 2015 2 次提交
  5. 19 10月, 2015 1 次提交
  6. 14 7月, 2015 1 次提交
  7. 19 3月, 2015 1 次提交
    • J
      tpm: fix: sanitized code paths in tpm_chip_register() · 34d47b63
      Jarkko Sakkinen 提交于
      I started to work with PPI interface so that it would be available
      under character device sysfs directory and realized that chip
      registeration was still too messy.
      
      In TPM 1.x in some rare scenarios (errors that almost never occur)
      wrong order in deinitialization steps was taken in teardown. I
      reproduced these scenarios by manually inserting error codes in the
      place of the corresponding function calls.
      
      The key problem is that the teardown is messy with two separate code
      paths (this was inherited when moving code from tpm-interface.c).
      
      Moved TPM 1.x specific register/unregister functionality to own helper
      functions and added single code path for teardown in tpm_chip_register().
      Now the code paths have been fixed and it should be easier to review
      later on this part of the code.
      
      Cc: <stable@vger.kernel.org>
      Fixes: 7a1d7e6d ("tpm: TPM 2.0 baseline support")
      Signed-off-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
      Tested-by: NScot Doyle <lkml14@scotdoyle.com>
      Reviewed-by: NPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
      34d47b63
  8. 07 3月, 2015 1 次提交
  9. 06 3月, 2015 1 次提交
  10. 21 1月, 2015 1 次提交
  11. 17 1月, 2015 5 次提交