···24672467 to facilitate early boot debugging.24682468 See also Documentation/trace/events.txt2469246924702470- tsc= Disable clocksource-must-verify flag for TSC.24702470+ tsc= Disable clocksource stability checks for TSC.24712471 Format: <string>24722472 [x86] reliable: mark tsc clocksource as reliable, this24732473- disables clocksource verification at runtime.24742474- Used to enable high-resolution timer mode on older24752475- hardware, and in virtualized environment.24732473+ disables clocksource verification at runtime, as well24742474+ as the stability checks done at bootup. Used to enable24752475+ high-resolution timer mode on older hardware, and in24762476+ virtualized environment.24762477 [x86] noirqtime: Do not use TSC to do irq accounting.24772478 Used to run time disable IRQ_TIME_ACCOUNTING on any24782479 platforms where RDTSC is slow and this accounting
+5-2
arch/x86/kernel/tsc.c
···872872873873 if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC))874874 return 0;875875+876876+ if (tsc_clocksource_reliable)877877+ return 0;875878 /*876879 * Intel systems are normally all synchronized.877880 * Exceptions must mark TSC as unstable:···882879 if (boot_cpu_data.x86_vendor != X86_VENDOR_INTEL) {883880 /* assume multi socket systems are not synchronized: */884881 if (num_possible_cpus() > 1)885885- tsc_unstable = 1;882882+ return 1;886883 }887884888888- return tsc_unstable;885885+ return 0;889886}890887891888static void __init init_tsc_clocksource(void)