Re: TPM selftest failure in 4.15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 19, 2018 at 02:45:31PM +0530, Nayna Jain wrote:

> To query for the result, it need not send self test command again, I think
> we can use TPM2_GetTestResult().
> According to Spec, TPM Rev 2.0 Part 3 - Commands , Section 10.4, the command
> will return the following possible test results.
> 
> TPM_RC_NEEDS_TEST - SelfTest has not been executed.
> TPM_RC_TESTING - Tests are still in progress
> TPM_RC_FAILURE - Tests Failure.
> TPM_RC_SUCCESS - Tests successfully completed.

That sounds like a great way to fix this TPM without creating a whole
new flow..

TPM1 doesn't have this command which is why the self test loop was
written with repeated self test, it just got copied that way when
someone implemented the same thing for TPM2..

Jason>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux