Page MenuHomeFreeBSD

tpm: Add a cv_wait to the harvesting function.
ClosedPublic

Authored by mindal_semihalf.com on Mar 26 2019, 11:57 AM.

Details

Summary

Harvesting has to compete for the TPM chip with userspace.
Before this change the callout could hijack an unread buffer causing a userspace call to the TPM to fail.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

delphij accepted this revision.Apr 3 2019, 7:40 AM
This revision is now accepted and ready to land.Apr 3 2019, 7:40 AM
This revision was automatically updated to reflect the committed changes.