summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kvm.c
diff options
context:
space:
mode:
authorYang Weijiang <weijiang.yang@intel.com>2022-05-12 10:40:46 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-05-25 11:07:10 +0200
commit825be3b5abae1e67db45ff7d4b9a7764a2419bd9 (patch)
tree14e065544ea3a720605b962b7475a080de243ce9 /arch/x86/kernel/kvm.c
parentKVM: LAPIC: Trace LAPIC timer expiration on every vmentry (diff)
downloadlinux-825be3b5abae1e67db45ff7d4b9a7764a2419bd9.tar.xz
linux-825be3b5abae1e67db45ff7d4b9a7764a2419bd9.zip
KVM: selftests: x86: Fix test failure on arch lbr capable platforms
On Arch LBR capable platforms, LBR_FMT in perf capability msr is 0x3f, so the last format test will fail. Use a true invalid format(0x30) for the test if it's running on these platforms. Opportunistically change the file name to reflect the tests actually carried out. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Yang Weijiang <weijiang.yang@intel.com> Message-Id: <20220512084046.105479-1-weijiang.yang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/kvm.c')
0 files changed, 0 insertions, 0 deletions