projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a912a75
)
x86/jailhouse: Set X86_FEATURE_TSC_KNOWN_FREQ
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 19 Jan 2018 10:06:17 +0000
(11:06 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 20 Jan 2018 07:15:43 +0000
(08:15 +0100)
Otherwise, Linux will not recognize precalibrated_tsc_khz and disable
the tsc as clocksource.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jailhouse <jailhouse-dev@googlegroups.com>
Link:
https://lkml.kernel.org/r/975fbfc9-2a64-cc56-40d5-164992ec3916@siemens.com
arch/x86/kernel/jailhouse.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/jailhouse.c
b/arch/x86/kernel/jailhouse.c
index 7ade152133c7ea25bad7f516c9bf95971f07dc6e..2b7ebbe9043d8b7a2fd8ee486ad4ddfc69afa1e2 100644
(file)
--- a/
arch/x86/kernel/jailhouse.c
+++ b/
arch/x86/kernel/jailhouse.c
@@
-176,6
+176,7
@@
static void __init jailhouse_init_platform(void)
pr_debug("Jailhouse: PM-Timer IO Port: %#x\n", pmtmr_ioport);
precalibrated_tsc_khz = setup_data.tsc_khz;
+ setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
pci_probe = 0;