Page MenuHomeFreeBSD

tpm: Fix entropy harvesting logic
ClosedPublic

Authored by kd on Sep 1 2022, 12:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 31, 8:41 PM
Unknown Object (File)
Tue, Dec 30, 2:55 AM
Unknown Object (File)
Tue, Dec 30, 2:55 AM
Unknown Object (File)
Dec 21 2025, 7:52 AM
Unknown Object (File)
Dec 20 2025, 3:50 AM
Unknown Object (File)
Dec 15 2025, 3:31 AM
Unknown Object (File)
Dec 12 2025, 7:18 AM
Unknown Object (File)
Dec 10 2025, 7:59 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