gicv2-mmio 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
Test log:
Running '/home/
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
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.
tags: | added: 4.4 sru-20210906 ubuntu-kvm-unit-tests xenial |
tags: | added: arm64 |
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' 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 8 -machine gic-version=2 -append mmio # -initrd /tmp/tmp.M5OAJeAgXf aarch64: -accel: invalid option aarch64: -accel: invalid option) kvm_unit_ tests.gicv2- mmio ubuntu_ kvm_unit_ tests.gicv2- mmio timestamp= 1665027873 localtime=Oct 06 03:44:33 completed successfully
BUILD_
timeout -k 1s --foreground 90s /usr/bin/
qemu-system-
SKIP gicv2-mmio (qemu-system-
GOOD ubuntu_