diff options
| author | Thomas Gleixner <[email protected]> | 2007-07-21 17:10:07 +0200 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-21 18:37:08 -0700 |
| commit | 8180a550284bf2c8e13414082fc20b8983c2c401 (patch) | |
| tree | 2e0019b9607573aa5681333861bc46a6f435c2a3 /tools/perf/scripts/python | |
| parent | e82f64e5bb0648a13630d752c35be1e7bd8bab96 (diff) | |
x86_64: hpet tsc calibration fix broken smi detection logic
The current SMI detection logic in read_hpet_tsc() makes sure,
that when a SMI happens between the read of the HPET counter and
the read of the TSC, this wrong value is used for TSC calibration.
This is not the intention of the function. The comparison must ensure,
that we do _NOT_ use such a value.
Fix the check to use calibration values where delta of the two TSC reads
is smaller than a reasonable threshold.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions