freebsd-dev/sys/dev/tpm
Kornel Dulęba e23ad9c4ba tpm: Fix entropy harvesting logic
Use a taskqueue instead of a callout.
Callout functions mustn't sleep, where as the TPM driver
uses a sx lock in order to serialize accesses to the device.
Since the entropy harvesting feature is not enabled by default,
this commit should not bring any functional changes to the GENERIC
kernel.

Approved by:	mw(mentor)
Sponsored by:	Stormshield
Obtained from:	Semihalf
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D36412
2022-09-02 13:09:41 +02:00
..
tpm20.c tpm: Fix entropy harvesting logic 2022-09-02 13:09:41 +02:00
tpm20.h tpm: Fix entropy harvesting logic 2022-09-02 13:09:41 +02:00
tpm_acpi.c tpm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:04 -07:00
tpm_crb.c TPM: do not set device description if probe fails 2022-08-16 11:07:12 +02:00
tpm_isa.c tpm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:04 -07:00
tpm_tis.c tpm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 12:22:04 -07:00
tpm.c
tpmvar.h