opnsense-src/sys/dev/tpm
Kornel Dulęba cbe3966fb9 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

(cherry picked from commit e23ad9c4ba)
2022-09-09 14:35:16 +02:00
..
tpm.c unifdef -D__FreeBSD__ to remove the OpenBSD support 2021-01-13 22:35:22 -08:00
tpm20.c tpm: Fix entropy harvesting logic 2022-09-09 14:35:16 +02:00
tpm20.h tpm: Fix entropy harvesting logic 2022-09-09 14:35:16 +02:00
tpm_acpi.c tpm: clean up empty lines in .c and .h files 2020-09-01 21:50:31 +00:00
tpm_crb.c TPM: do not set device description if probe fails 2022-09-01 09:14:40 +02:00
tpm_isa.c
tpm_tis.c tpm: clean up empty lines in .c and .h files 2020-09-01 21:50:31 +00:00
tpmvar.h