Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 5fc3cfa62b85fb60d2383229791f755f333963ed ("KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES")
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
in testcase: kernel-selftests
version: kernel-selftests-x86_64-a6eb654d-1_20220501
with following parameters:
group: kvm
ucode: 0xec
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz with 16G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>
# selftests: kvm: vmx_pmu_msrs_test
# ==== Test Assertion Failure ====
# x86_64/vmx_pmu_msrs_test.c:117: ret == 0
# pid=10285 tid=10285 errno=0 - Success
# 1 0x0000000000402643: main at vmx_pmu_msrs_test.c:117
# 2 0x00007f8bb619309a: ?? ??:0
# 3 0x0000000000402759: _start at ??:?
# Bad PERF_CAPABILITIES didn't fail.
not ok 32 selftests: kvm: vmx_pmu_msrs_test # exit=254
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
+Weijiang who submitted a fix patch.
> -----Original Message-----
> From: Sang, Oliver <[email protected]>
> Sent: Tuesday, May 17, 2022 9:17 PM
> To: Vitaly Kuznetsov <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>; [email protected]; lkp
> <[email protected]>; Hao, Xudong <[email protected]>; LKML <linux-
> [email protected]>
> Subject: [KVM] 5fc3cfa62b: kernel-selftests.kvm.vmx_pmu_msrs_test.fail
>
>
>
> Greeting,
>
> FYI, we noticed the following commit (built with gcc-11):
>
> commit: 5fc3cfa62b85fb60d2383229791f755f333963ed ("KVM: x86: Drop guest
> CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES")
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
>
> in testcase: kernel-selftests
> version: kernel-selftests-x86_64-a6eb654d-1_20220501
> with following parameters:
>
> group: kvm
> ucode: 0xec
>
> test-description: The kernel contains a set of "self tests" under the
> tools/testing/selftests/ directory. These are intended to be small unit tests to
> exercise individual code paths in the kernel.
> test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
>
>
> on test machine: 4 threads Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz with 16G
> memory
>
> caused below changes (please refer to attached dmesg/kmsg for entire
> log/backtrace):
>
>
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <[email protected]>
>
>
>
> # selftests: kvm: vmx_pmu_msrs_test
> # ==== Test Assertion Failure ====
> # x86_64/vmx_pmu_msrs_test.c:117: ret == 0
> # pid=10285 tid=10285 errno=0 - Success
> # 1 0x0000000000402643: main at vmx_pmu_msrs_test.c:117
> # 2 0x00007f8bb619309a: ?? ??:0
> # 3 0x0000000000402759: _start at ??:?
> # Bad PERF_CAPABILITIES didn't fail.
> not ok 32 selftests: kvm: vmx_pmu_msrs_test # exit=254
>
>
>
> To reproduce:
>
> git clone https://github.com/intel/lkp-tests.git
> cd lkp-tests
> sudo bin/lkp install job.yaml # job file is attached in this email
> bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
> sudo bin/lkp run generated-yaml-file
>
> # if come across any failure that blocks the test,
> # please remove ~/.lkp and /lkp dir to run from a clean state.
>
>
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
>