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)
Thu, Feb 27, 12:55 AM
Unknown Object (File)
Wed, Feb 26, 11:04 PM
Unknown Object (File)
Wed, Feb 26, 2:45 AM
Unknown Object (File)
Tue, Feb 25, 10:37 PM
Unknown Object (File)
Sun, Feb 9, 2:23 AM
Unknown Object (File)
Thu, Feb 6, 4:45 AM
Unknown Object (File)
Wed, Feb 5, 3:37 PM
Unknown Object (File)
Jan 27 2025, 1:48 PM
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