aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2022-11-24 14:55:37 +0100
committerJarkko Sakkinen <[email protected]>2023-04-24 16:15:53 +0300
commit548eb516ec0f7a484a23a902835899341164b8ea (patch)
treeb9b86468c8367d4f7b31509ff297d3a69330d471 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent955df4f87760b3bb2af253d3fbb12fb712b3ffa6 (diff)
tpm, tpm_tis: startup chip before testing for interrupts
In tpm_tis_gen_interrupt() a request for a property value is sent to the TPM to test if interrupts are generated. However after a power cycle the TPM responds with TPM_RC_INITIALIZE which indicates that the TPM is not yet properly initialized. Fix this by first starting the TPM up before the request is sent. For this the startup implementation is removed from tpm_chip_register() and put into the new function tpm_chip_startup() which is called before the interrupts are tested. Signed-off-by: Lino Sanfilippo <[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