BUILD_HEAD=a9c3bb11 timeout -k 1s --foreground 3000s /usr/libexec/qemu-kvm -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.n4uRg1sV5G -smp 1 -append pmu-basic-event-count # -initrd /tmp/tmp.WlLTbVnqxe INFO: PMU version: 0x1 INFO: PMU implementer/ID code: 0x50("P")/0 INFO: Implements 6 event counters PASS: pmu: pmu-basic-event-count: pmcntenclr: disable all counters PASS: pmu: pmu-basic-event-count: pmcr: reset counters PASS: pmu: pmu-basic-event-count: counter #0 preset to pre-overflow value PASS: pmu: pmu-basic-event-count: counter #1 is 0 PASS: pmu: pmu-basic-event-count: pmcntenset: enabled implemented_counters PASS: pmu: pmu-basic-event-count: pmcntenset: just enabled #0 and #1 PASS: pmu: pmu-basic-event-count: check overflow reg is 0 PASS: pmu: pmu-basic-event-count: pmintenclr_el1=0, all interrupts disabled PASS: pmu: pmu-basic-event-count: overflow interrupts enabled on all implemented counters INFO: pmu: pmu-basic-event-count: counter #0 is 0xd3 (CPU_CYCLES) INFO: pmu: pmu-basic-event-count: counter #1 is 0x29 (INST_RETIRED) INFO: pmu: pmu-basic-event-count: overflow reg = 0x1 PASS: pmu: pmu-basic-event-count: check overflow happened on #0 only SUMMARY: 10 tests PASS pmu-basic-event-count (10 tests)