Page MenuHomeFreeBSD

tpm: Fix entropy harvesting logic
ClosedPublic

Authored by kd on Sep 1 2022, 12:58 PM.
Tags
None
Referenced Files
F120129143: D36412.diff
Sun, Jun 15, 8:53 AM
F120129123: D36412.diff
Sun, Jun 15, 8:53 AM
Unknown Object (File)
Mon, Jun 9, 11:39 AM
Unknown Object (File)
Apr 25 2025, 9:18 PM
Unknown Object (File)
Apr 17 2025, 7:22 AM
Unknown Object (File)
Feb 27 2025, 12:55 AM
Unknown Object (File)
Feb 26 2025, 11:04 PM
Unknown Object (File)
Feb 26 2025, 2:45 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