aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJames Bottomley <[email protected]>2020-09-28 11:00:12 -0700
committerJarkko Sakkinen <[email protected]>2020-10-02 00:21:03 +0300
commit55707d531af62bd87c1b7e8d66fd9798094f9b3b (patch)
tree4c874510faad3ff787284e22459493d82e7d1883 /tools/perf/scripts/python/export-to-sqlite.py
parente08c6d3b19930f84a8da8c18710eefdfa48a9ceb (diff)
tpm_tis: Add a check for invalid status
Some TIS based TPMs can return 0xff to status reads if the locality hasn't been properly requested. Detect this condition by checking the bits that the TIS spec specifies must return zero are clear and return zero in that case. Also drop a warning so the problem can be identified in the calling path and fixed (usually a missing try_get_ops()). Signed-off-by: James Bottomley <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions