[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aR-qInzhSf1dFxRC@google.com>
Date: Thu, 20 Nov 2025 15:54:10 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Yosry Ahmed <yosry.ahmed@...ux.dev>
Cc: Paolo Bonzini <pbonzini@...hat.com>, Jim Mattson <jmattson@...gle.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 04/23] KVM: selftests: Extend vmx_nested_tsc_scaling_test
to cover SVM
On Tue, Oct 21, 2025, Yosry Ahmed wrote:
> 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@...ux.dev>
> ---
> tools/testing/selftests/kvm/Makefile.kvm | 2 +-
> ...aling_test.c => nested_tsc_scaling_test.c} | 48 +++++++++++++++++--
> 2 files changed, 44 insertions(+), 6 deletions(-)
> rename tools/testing/selftests/kvm/x86/{vmx_nested_tsc_scaling_test.c => nested_tsc_scaling_test.c} (83%)
>
> diff --git a/tools/testing/selftests/kvm/Makefile.kvm b/tools/testing/selftests/kvm/Makefile.kvm
> index e70a844a52bdc..bb2ff7927ef57 100644
> --- a/tools/testing/selftests/kvm/Makefile.kvm
> +++ b/tools/testing/selftests/kvm/Makefile.kvm
> @@ -119,7 +119,7 @@ TEST_GEN_PROGS_x86 += x86/vmx_msrs_test
> TEST_GEN_PROGS_x86 += x86/vmx_invalid_nested_guest_state
> TEST_GEN_PROGS_x86 += x86/vmx_la57_nested_state_test
> TEST_GEN_PROGS_x86 += x86/vmx_tsc_adjust_test
> -TEST_GEN_PROGS_x86 += x86/vmx_nested_tsc_scaling_test
> +TEST_GEN_PROGS_x86 += x86/nested_tsc_scaling_test
Please keep the tests sorted (bad apic_bus_clock_test, bad test).
Powered by blists - more mailing lists