summaryrefslogtreecommitdiff
path: root/include/asm-generic/ftrace.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-02-09 16:08:42 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-02-10 09:47:17 +0100
commit5f2e71e71410ecb858cfec184ba092adaca61626 (patch)
treedae498d353d35fd4e89597143e9f5e125c886968 /include/asm-generic/ftrace.h
parentf2e04214ef7f7e49d1e06109ad1b2718155dab25 (diff)
x86/tsc: Make the TSC ADJUST sanitizing work for tsc_reliable
When the TSC is marked reliable then the synchronization check is skipped, but that also skips the TSC ADJUST sanitizing code. So on a machine with a wreckaged BIOS the TSC deviation between CPUs might go unnoticed. Let the TSC adjust sanitizing code run unconditionally and just skip the expensive synchronization checks when TSC is marked reliable. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Olof Johansson <olof@lixom.net> Link: http://lkml.kernel.org/r/20170209151231.491189912@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-generic/ftrace.h')
0 files changed, 0 insertions, 0 deletions