diff options
author | Wei Liu <wei.liu@kernel.org> | 2025-08-12 19:48:45 +0000 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-09-08 22:10:46 +0000 |
commit | 47691ced158ab3a7ce2189b857b19c0c99a9aa80 (patch) | |
tree | 0f431e7993f9717192e283a9177f52f370f17e11 /scripts/generate_rust_analyzer.py | |
parent | 4cd661c248b6671914ad59e16760bb6d908dfc61 (diff) |
clocksource: hyper-v: Skip unnecessary checks for the root partition
The HV_ACCESS_TSC_INVARIANT bit is always zero when Linux runs as the
root partition. The root partition will see directly what the hardware
provides.
The old logic in ms_hyperv_init_platform caused the native TSC clock
source to be incorrectly marked as unstable on x86. Fix it.
Skip the unnecessary checks in code for the root partition. Add one
extra comment in code to clarify the behavior.
Reviewed-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions