Skip to contentSkip to conversation

TPM2_RC_TESTING and tpm_transmit_cmd

DISCUSSION Jerry Snitselaar 2 participants 2 messages Jan 22, 2019 – Jan 29, 2019 Keys-trusted

lore
Share & tools
lore
#0 lore raw

Would it make sense to filter out TPM2_RC_TESTING when reporting an error in tpm_transmit_cmd, or possibly spitting out a follow on message in the selftest code that the tpm is still testing?

Had a bz opened here because someone had the error message in their logs, and I can see how it would be confusing. We have the intermittent selftest patch already so it should be functioning, but just wondering if not printing out that error message would make sense.

Regards,
Jerry

#1 lore raw
Quoted 11 lines · Jerry Snitselaar

Would it make sense to filter out TPM2_RC_TESTING when reporting an error in tpm_transmit_cmd, or possibly spitting out a follow on message in the selftest code that the tpm is still testing?

Had a bz opened here because someone had the error message in their logs, and I can see how it would be confusing. We have the intermittent selftest patch already so it should be functioning, but just wondering if not printing out that error message would make sense.

Regards,
Jerry

Yes, I think so. The caller can decide to print something in this case.

/Jarkko