aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorPavel Tatashin <[email protected]>2018-07-19 20:55:45 +0000
committerThomas Gleixner <[email protected]>2018-07-19 22:02:44 +0000
commit8dbe438589f373544a1af8b4a859e4da853c0f90 (patch)
treed5677d86892654b28d3db26bae192b3ece2637b3 /tools/perf/util/llvm-utils.c
parentx86/tsc: Split native_calibrate_cpu() into early and late parts (diff)
downloadkernel-8dbe438589f373544a1af8b4a859e4da853c0f90.tar.gz
kernel-8dbe438589f373544a1af8b4a859e4da853c0f90.zip
x86/tsc: Make use of tsc_calibrate_cpu_early()
During early boot enable tsc_calibrate_cpu_early() and switch to tsc_calibrate_cpu() only later. Do this unconditionally, because it is unknown what methods other cpus will use to calibrate once they are onlined. If by the time tsc_init() is called tsc frequency is still unknown do only pit_hpet_ptimer_calibrate_cpu() to calibrate, as this function contains the only methods wich have not been called and tried earlier. Signed-off-by: Pavel Tatashin <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions