HomeFreeBSD

tpm_tis: Improve interrupt allocation

Description

tpm_tis: Improve interrupt allocation

Validate the irq received from ACPI. Test if it works by sending a simple command and checking if the interrupt handler was executed.
Internal buffer allocation was moved away from common code to tis and crb parts - in order to test the interrupt we need to have it allocated early.

Obtained from: Semihalf
Differential revision: https://reviews.freebsd.org/D31395

Details

Provenance
kdAuthored on Aug 16 2021, 4:26 AM
wmaCommitted on Aug 16 2021, 4:28 AM
Differential Revision
D31395: tpm_tis: Improve interrupt allocation
Parents
rG4a77a9b64910: routing: Use process fib instead of fib 0 when conducting tests.
Branches
Unknown
Tags
Unknown