diff options
author | 2023-04-08 14:03:39 -0700 | |
---|---|---|
committer | 2023-04-17 19:19:05 +0000 | |
commit | c0e96acf884a1ce91c9bdd692c6a425b83c90285 (patch) | |
tree | 02216621dc40f08f0e1cd0b26ecbd79e229054fc /tools/perf/scripts/python | |
parent | PCI: hv: Enable PCI pass-thru devices in Confidential VMs (diff) | |
download | wireguard-linux-c0e96acf884a1ce91c9bdd692c6a425b83c90285.tar.xz wireguard-linux-c0e96acf884a1ce91c9bdd692c6a425b83c90285.zip |
clocksource: hyper-v: make sure Invariant-TSC is used if it is available
If Hyper-V TSC page is unavailable and Invariant-TSC is available,
currently hyperv_cs_msr (rather than Invariant-TSC) is used by default.
Use Invariant-TSC by default by downgrading hyperv_cs_msr.rating in
hv_init_tsc_clocksource(), if Invariant-TSC is available.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20230408210339.15085-1-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions