Re: [PATCH 04/12] KVM: selftests: Extend vmx_nested_tsc_scaling_test to cover SVM
From: Jim Mattson
Date: Thu Oct 09 2025 - 18:52:05 EST
On Wed, Oct 1, 2025 at 8:03 AM Yosry Ahmed <yosry.ahmed@xxxxxxxxx> wrote:
>
> From: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
>
> Add SVM L1 code to run the nested guest, and allow the test to run with
> SVM as well as VMX.
>
> Signed-off-by: Yosry Ahmed <yosry.ahmed@xxxxxxxxx>
> ---
> ...
> + /* enable TSC scaling for L2 */
> + wrmsr(MSR_AMD64_TSC_RATIO, (L2_SCALE_FACTOR << 32) | 1);
Why set bit 0 here?