diff options
| author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2016-10-26 16:28:44 -0600 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-11-28 01:31:30 +0200 |
| commit | d1d253cff74fb866bce69c5052764ed571383ea8 (patch) | |
| tree | d84782dd69b550d41168b5699fb79431004bb99d /tools/perf/scripts/python/stackcollapse.py | |
| parent | tpm_tis: Check return values from get_burstcount. (diff) | |
| download | linux-d1d253cff74fb866bce69c5052764ed571383ea8.tar.gz linux-d1d253cff74fb866bce69c5052764ed571383ea8.zip | |
tpm tis: Do not print timeout messages twice
The tis driver does a tpm_get_timeouts out side of tpm_chip_register,
and tpm_get_timeouts can print a message, resulting in two prints, eg:
tpm tpm0: [Hardware Error]: Adjusting reported timeouts: A 10000->750000us B 10000->2000000us C 10000->750000us D 10000->750000us
Keep track and prevent tpm_get_timeouts from running a second time, and
clarify the purpose of the call in tpm_tis_core to only be connected to
irq testing.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
