gicv2-mmio in ubuntu_kvm_unit_tests failed with on X ARM64 Moonshots

Bug #1943012 reported by Po-Hsu Lin
6
This bug affects 1 person
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

Test log:
Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/gicv2-mmio'
 BUILD_HEAD=1593e88a
 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.U1fR4DP0rS -smp 8 -machine gic-version=2 -append mmio # -initrd /tmp/tmp.HYPfVhVOna
 INFO: gicv2: mmio: number of implemented SPIs: 256
 INFO: gicv2: mmio: nr_cpus=8
 PASS: gicv2: mmio: all CPUs have interrupts
 INFO: gicv2: mmio: IIDR: 0x4b00043b
 PASS: gicv2: mmio: GICD_TYPER is read-only
 PASS: gicv2: mmio: GICD_IIDR is read-only
 PASS: gicv2: mmio: ICPIDR2 is read-only
 INFO: gicv2: mmio: value of ICPIDR2: 0x00000000
 PASS: gicv2: mmio: IPRIORITYR: consistent priority masking
 INFO: gicv2: mmio: IPRIORITYR: priority mask is 0xffffffff
 PASS: gicv2: mmio: IPRIORITYR: implements at least 4 priority bits
 INFO: gicv2: mmio: IPRIORITYR: 8 priority bits implemented
 PASS: gicv2: mmio: IPRIORITYR: clearing priorities
 PASS: gicv2: mmio: IPRIORITYR: accesses beyond limit RAZ/WI
 PASS: gicv2: mmio: IPRIORITYR: accessing last SPIs
 PASS: gicv2: mmio: IPRIORITYR: priorities are preserved
 PASS: gicv2: mmio: IPRIORITYR: byte reads successful
 PASS: gicv2: mmio: IPRIORITYR: byte writes successful
 SKIP: gicv2: mmio: ITARGETSR: CPU masking (all CPUs implemented)
 PASS: gicv2: mmio: ITARGETSR: accesses beyond limit RAZ/WI
 FAIL: gicv2: mmio: ITARGETSR: register content preserved
 INFO: gicv2: mmio: ITARGETSR: writing 0103020f reads back as 01010201
 PASS: gicv2: mmio: ITARGETSR: byte reads successful
 FAIL: gicv2: mmio: ITARGETSR: byte writes successful
 INFO: gicv2: mmio: ITARGETSR: writing 0x1f into bytes 2 => 0x01010201
 SUMMARY: 17 tests, 2 unexpected failures, 1 skipped
 FAIL gicv2-mmio (17 tests, 2 unexpected failures, 1 skipped)

This is not a regression, this failure can be found on 4.4.0-214.246 as well.

Po-Hsu Lin (cypressyew)
tags: added: 4.4 sru-20210906 ubuntu-kvm-unit-tests xenial
Po-Hsu Lin (cypressyew)
tags: added: arm64
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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/gicv2-mmio'
 BUILD_HEAD=63cdb04b
 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 _NO_FILE_4Uhere_ -smp 8 -machine gic-version=2 -append mmio # -initrd /tmp/tmp.M5OAJeAgXf
 qemu-system-aarch64: -accel: invalid option
 SKIP gicv2-mmio (qemu-system-aarch64: -accel: invalid option)
GOOD ubuntu_kvm_unit_tests.gicv2-mmio ubuntu_kvm_unit_tests.gicv2-mmio timestamp=1665027873 localtime=Oct 06 03:44:33 completed successfully

Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.