[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJ2pZh4GeBytq7R2@google.com>
Date: Thu, 29 Jun 2023 08:55:18 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Like Xu <like.xu.linux@...il.com>
Cc: David Woodhouse <dwmw@...zon.co.uk>,
Paolo Bonzini <pbonzini@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KVM: selftests: Fix the meta info of test cases in the
header comments
On Thu, Jun 29, 2023, Like Xu wrote:
> From: Like Xu <likexu@...cent.com>
>
> Fix test case names (including descriptions) in comments for
> tsc_scaling_sync and xen_shinfo_test. No functional changes intended.
>
> Fixes: e467b0de82b2 ("KVM: x86: Test case for TSC scaling and offset sync")
> Fixes: 8d4e7e80838f ("KVM: x86: declare Xen HVM shared info capability and add test case")
> Signed-off-by: Like Xu <likexu@...cent.com>
> ---
> tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c | 4 ++--
> tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> index 5b669818e39a..cdb214660e0a 100644
> --- a/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> +++ b/tools/testing/selftests/kvm/x86_64/tsc_scaling_sync.c
> @@ -1,10 +1,10 @@
> // SPDX-License-Identifier: GPL-2.0-only
> /*
> - * svm_vmcall_test
> + * tsc_scaling_sync
> *
> * Copyright � 2021 Amazon.com, Inc. or its affiliates.
> *
> - * Xen shared_info / pvclock testing
> + * Test case for TSC scaling and offset sync
I vote to delete the metadata (but leave the Copyright). IMO it adds zero value,
and has a non-zero chance of becoming stale in the future.
> */
>
> #include "test_util.h"
> diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> index 05898ad9f4d9..60daee9f3514 100644
> --- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0-only
> /*
> - * svm_vmcall_test
> + * xen_shinfo_test
> *
> * Copyright � 2021 Amazon.com, Inc. or its affiliates.
> *
>
> base-commit: 88bb466c9dec4f70d682cf38c685324e7b1b3d60
> --
> 2.32.0
>
Powered by blists - more mailing lists