New: kvm-unit-test pmu_pebs is skipped on SPR
https://bugzilla.kernel.org/show_bug.cgi?id=216923
Bug ID: 216923
Summary: kvm-unit-test pmu_pebs is skipped on SPR
Product: Virtualization
Version: unspecified
Kernel Version: 6.1
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Environment:
Platform: Intel(R) Xeon(R) Platinum 8487C (Sapphire Rapids) CPU Architecture: x86_64
Host OS: Red Hat Enterprise Linux 9 (Ootpa)
Host kernel: Linux 6.1 release
gcc: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Host kernel source:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Branch: master
Commit: 830b3c68
Qemu source: https://git.qemu.org/git/qemu.git
Branch: master
Commit: 5204b499
kvm-unit-tests source: https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git
Branch: master
Commit: 7cefda524604fe1138333315ce06224d4d864dab
Bug Detailed Description:
kvm-unit-test pmu_pebs is skipped on the linux 6.1 release kernel on Sapphire Rapids. PEBS should be supported on SPR. However, the kvm-unit-test pmu_pebs is skipped on SPR with linux 6.1 release kernel. In addition, kvm-unit-test pmu_pebs can pass on Ice Lake rather than being skipped.
Reproducing Steps:
git clone https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git
cd kvm-unit-tests
./configure
make standalone
cd tests
./pmu_pebs
Actual Result:
BUILD_HEAD=7cefda52
timeout -k 1s --foreground 90s /usr/local/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.6qzCjJnrIy -smp 1 -cpu host,migratable=no # -initrd /tmp/tmp.yEVIxAWSsB
enabling apic
smp: waiting for 0 APs
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
PMU version: 2
SKIP: PEBS not enumerated in PERF_CAPABILITIES
SUMMARY: 1 tests, 1 skipped
SKIP pmu_pebs (1 tests, 1 skipped)
Expected Result:pmu_pebs successfully executed
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216923] kvm-unit-test pmu_pebs is skipped on SPR
https://bugzilla.kernel.org/show_bug.cgi?id=216923
Like Xu ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Like Xu ([email protected]) --- The guest PEBS support for Intel SPR are not merged. [email protected]
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 216923] kvm-unit-test pmu_pebs is skipped on SPR
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216923
--- Comment #2 from Yang Lixiao ([email protected]) --- (In reply to Like Xu from comment #1)
Quoted 2 lines
The guest PEBS support for Intel SPR are not merged. [email protected]
Thanks for the information! I'll test it after it's merged.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.