summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorBin Meng <[email protected]>2018-08-10 02:39:36 -0700
committerBin Meng <[email protected]>2018-08-20 13:52:49 +0800
commit165db7c426f1946376c3643fd635afd6b167e3ee (patch)
tree21f553e20ef034c2094be8ac9717aabec5e92cd0 /include/linux/kernel.h
parent1cf6825a681c289032f6309d3ac5eab2fd71a703 (diff)
x86: tsc: Try hardware calibration first
At present if TSC frequency is provided in the device tree, it takes precedence over hardware calibration result. This swaps the order to try hardware calibration first and uses device tree as last resort. This can be helpful when a generic dts (eg: coreboot/efi payload) is supposed to work on as many hardware as possible, including emulators like QEMU where TSC hardware calibration sometimes fails. Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions