Page MenuHomeFreeBSD

tpm: Fix entropy harvesting logic
ClosedPublic

Authored by kd on Sep 1 2022, 12:58 PM.
Tags
None
Referenced Files
F157180716: D36412.id.diff
Tue, May 19, 2:08 AM
Unknown Object (File)
Mon, May 18, 6:10 PM
Unknown Object (File)
Fri, May 15, 10:20 AM
Unknown Object (File)
Tue, May 12, 8:04 AM
Unknown Object (File)
Thu, May 7, 10:52 AM
Unknown Object (File)
Sun, May 3, 5:53 PM
Unknown Object (File)
Fri, May 1, 12:21 AM
Unknown Object (File)
Mon, Apr 27, 7:04 AM
Subscribers

Details

Summary

Use a taskqueue instead of a callout.
Callout functions mustn't sleep, where as the TPM driver uses an sx lock in order to serialize accesses to the device.
Note that the entropy harvesting feature is not enabled by default, so this commit should not bring any functional changes to the GENERIC kernel.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable