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)
Dec 10 2024, 9:40 PM
Unknown Object (File)
Nov 28 2024, 6:44 AM
Unknown Object (File)
Nov 18 2024, 7:29 PM
Unknown Object (File)
Oct 29 2024, 4:31 PM
Unknown Object (File)
Oct 15 2024, 3:55 AM
Unknown Object (File)
Oct 4 2024, 9:03 PM
Unknown Object (File)
Oct 4 2024, 4:59 PM
Unknown Object (File)
Oct 2 2024, 12:22 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