pmu-cycle-counter in ubuntu_kvm_unit_tests failed with on X ARM64 Moonshots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Issue found on X 4.4.0-215.247 ARM64 Moonshot
Running '/home/
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
INFO: PMU version: 0x1
INFO: PMU implementer/ID code: 0(" ")/0
INFO: Implements 0 event counters
Load address: 40080000
PC: 4008c208 PC offset: c208
Unhandled exception ec=0 (UNKNOWN)
Vector: 4 (el1h_sync)
ESR_EL1: 02000000, ec=0 (UNKNOWN)
FAR_EL1: 1de7ec7edbadc0de (not valid)
Exception frame registers:
pc : [<000000004008c
sp : 00000000400bff50
x29: 0000000000000000 x28: 0000000000000000
x27: 0000000000000000 x26: 00000000400946f0
x25: 0000000040094780 x24: 0000000000000003
x23: 0000000000000000 x22: 0000000040094000
x21: 00000000400947a0 x20: 0000000000000000
x19: 00000000400946f0 x18: 00000000400bfea8
x17: 0000000000000000 x16: 0000000000000000
x15: 00000000000016e0 x14: 0000000000001710
x13: 000000000000170c x12: 0000000000000020
x11: 00000000400bf5a0 x10: 0000000000000000
x9 : 0000000000000060 x8 : 0000000000000039
x7 : 0000000000000039 x6 : 0000000000000040
x5 : 000000000000000a x4 : 0000000000000000
x3 : 0000000000000000 x2 : 0000000000000000
x1 : 0000000000000000 x0 : 0000000080000000
FAIL pmu-cycle-counter
This is not a regression, this failure can be found on 4.4.0-214.246 as well.
With kvm-unit-test repo updated to d8a4f9e5 (ci: Update the list of tests that we run in the Fedora Cirrus-CI), this test will be skipped on this moonshot system:
Running '/home/ ubuntu/ autotest/ client/ tmp/ubuntu_ kvm_unit_ tests/src/ kvm-unit- tests/tests/ pmu-cycle- counter' HEAD=63cdb04b qemu-system- aarch64 -nodefaults -machine virt,gic- version= host -accel kvm -cpu host -device virtio- serial- device -device virtconsole, chardev= ctd -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel _NO_FILE_4Uhere_ -smp 1 -append cycle-counter 0 # -initrd /tmp/tmp.c47gJSA51F aarch64: -accel: invalid option aarch64: -accel: invalid option) kvm_unit_ tests.pmu- cycle-counter ubuntu_ kvm_unit_ tests.pmu- cycle-counter timestamp= 1665027907 localtime=Oct 06 03:45:07 completed successfully
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
qemu-system-
SKIP pmu-cycle-counter (qemu-system-
GOOD ubuntu_