diff options
author | Lino Sanfilippo <[email protected]> | 2022-11-24 14:55:30 +0100 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2023-04-24 16:15:53 +0300 |
commit | e87fcf0dc2b47fac5b4824f00f74dfbcd4acd363 (patch) | |
tree | 6a2889a065f1123fbd78c38a07d5bcb321c0b7c2 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 15d7aa4e46eba87242a320f39773aa16faddadee (diff) |
tpm, tpm_tis: Only handle supported interrupts
According to the TPM Interface Specification (TIS) support for "stsValid"
and "commandReady" interrupts is only optional.
This has to be taken into account when handling the interrupts in functions
like wait_for_tpm_stat(). To determine the supported interrupts use the
capability query.
Also adjust wait_for_tpm_stat() to only wait for interrupt reported status
changes. After that process all the remaining status changes by polling
the status register.
Signed-off-by: Lino Sanfilippo <[email protected]>
Tested-by: Michael Niewöhner <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions