Page MenuHomeFreeBSD

tpm: Fix entropy harvesting logic
ClosedPublic

Authored by kd on Sep 1 2022, 12:58 PM.
Tags
None
Referenced Files
F133005805: D36412.id110041.diff
Wed, Oct 22, 12:13 AM
Unknown Object (File)
Tue, Oct 7, 4:20 AM
Unknown Object (File)
Sat, Sep 27, 4:50 PM
Unknown Object (File)
Sep 18 2025, 7:46 PM
Unknown Object (File)
Sep 17 2025, 7:23 AM
Unknown Object (File)
Sep 16 2025, 8:30 PM
Unknown Object (File)
Sep 15 2025, 10:05 PM
Unknown Object (File)
Sep 15 2025, 1:19 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