With kvm-unit-test repo updated to e11a0e2f88 ("s390x: Fix integer literal in skey.c"), there are 6 failures reported in this test on ARM64 now.
1: pmu-chain-promotion: odd counter did not increment on overflow if disabled
2: pmu-chain-promotion: should have triggered an overflow on #0
3: pmu-chain-promotion: CHAIN counter #1 shouldn.t have incremented
4: pmu-chain-promotion: CHAIN counter enabled: CHAIN counter was incremented and overflow
5: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and overflow
6: pmu-chain-promotion: overflow is expected on counter 0
Test log:
Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/pmu-chain-promotion'
BUILD_HEAD=48af4243
timeout -k 1s --foreground 90s /usr/bin/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 /tmp/tmp.ifKspueFGs -smp 1 -append pmu-chain-promotion # -initrd /tmp/tmp.Am7YCLpPYx
INFO: PMU version: 0x1
INFO: PMU implementer/ID code: 0x50("P")/0
INFO: Implements 6 event counters
PASS: pmu: pmu-chain-promotion: chain counter not counting if even counter is disabled
FAIL: pmu: pmu-chain-promotion: odd counter did not increment on overflow if disabled
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 7
INFO: pmu: pmu-chain-promotion: CHAIN counter #1 has value 1
INFO: pmu: pmu-chain-promotion: overflow counter 0
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff2
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0x9
FAIL: pmu: pmu-chain-promotion: should have triggered an overflow on #0
FAIL: pmu: pmu-chain-promotion: CHAIN counter #1 shouldn't have incremented
INFO: pmu: pmu-chain-promotion: counter #0 = 0xffffffdc, counter #1 = 0x0 overflow=0x0
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff3
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xa
FAIL: pmu: pmu-chain-promotion: CHAIN counter enabled: CHAIN counter was incremented and overflow
INFO: pmu: pmu-chain-promotion: CHAIN counter #1 = 0x1, overflow=0x0
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xfffffff3
INFO: pmu: pmu-chain-promotion: MEM_ACCESS counter #0 has value 0xa
FAIL: pmu: pmu-chain-promotion: 32b->64b: CHAIN counter incremented and overflow
INFO: pmu: pmu-chain-promotion: CHAIN counter #1 = 0x1, overflow=0x0
INFO: pmu: pmu-chain-promotion: counter #0=0xfffffff2, counter #1=0x0
FAIL: pmu: pmu-chain-promotion: overflow is expected on counter 0
INFO: pmu: pmu-chain-promotion: counter #0=0x9, counter #1=0x127 overflow=0x0
SUMMARY: 7 tests, 6 unexpected failures
FAIL pmu-chain-promotion (7 tests, 6 unexpected failures)
Issue found on Hirsute with arm64 node helo 5.11.0- 24.25-generic