2022-07-08 07:04:58

by kernel test robot

[permalink] [raw]
Subject: [KVM] cf8e55fe50: kvm-unit-tests.msr.fail



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: cf8e55fe50df0c0292b389a165daa81193cd39d1 ("KVM: x86/pmu: Expose CPUIDs feature bits PDCM, DS, DTES64")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: kvm-unit-tests
version: kvm-unit-tests-x86_64-8719e83-1_20220518
with following parameters:

ucode: 0xd000331



on test machine: 128 threads 2 sockets Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz with 128G 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]>

2022-07-05 14:55:00 ./run_tests.sh
...
PASS memory (7 tests)
FAIL msr <--- we noticed this always can pass on parent
PASS pmu (250 tests)
...


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



Attachments:
(No filename) (1.38 kB)
config-5.19.0-rc1-00074-gcf8e55fe50df (170.02 kB)
job-script (5.48 kB)
dmesg.xz (23.92 kB)
kvm-unit-tests (2.82 kB)
job.yaml (4.59 kB)
reproduce (16.00 B)
Download all attachments

2022-07-08 15:17:19

by Sean Christopherson

[permalink] [raw]
Subject: Re: [KVM] cf8e55fe50: kvm-unit-tests.msr.fail

On Fri, Jul 08, 2022, kernel test robot wrote:
>
>
> Greeting,
>
> FYI, we noticed the following commit (built with gcc-11):
>
> commit: cf8e55fe50df0c0292b389a165daa81193cd39d1 ("KVM: x86/pmu: Expose CPUIDs feature bits PDCM, DS, DTES64")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> in testcase: kvm-unit-tests
> version: kvm-unit-tests-x86_64-8719e83-1_20220518

kvm-unit-tests needs to be updated, commit bab19ca ("x86: do not overwrite bits
7, 11 and 12 of MSR_IA32_MISC_ENABLE") fixes a test bug where it attempts to toggle
read-only bits.