gicv2-mmio-up and gicv2-mmio-3p failed on Moonshot ARM64 with Cosmic

Bug #1802492 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

These two tests were skipped on Cavium ThunderX (QEMU Aborted)

For gicv2-mmio-up

# TESTNAME=gicv2-mmio-up TIMEOUT=90s ACCEL= ./arm/run arm/gic.flat -smp 1 -machine gic-version=2 -append 'mmio'
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 arm/gic.flat -smp 1 -machine gic-version=2 -append mmio # -initrd /tmp/tmp.DQWZ285Qge
INFO: gicv2: mmio: number of implemented SPIs: 256
PASS: gicv2: mmio: all 1 CPUs have interrupts
INFO: gicv2: mmio: IIDR: 0x00000000
PASS: gicv2: mmio: GICD_TYPER is read-only
PASS: gicv2: mmio: GICD_IIDR is read-only
PASS: gicv2: mmio: ICPIDR2 is read-only (0x0000002b)
PASS: gicv2: mmio: IPRIORITYR: consistent priority masking (0xffffffff)
PASS: gicv2: mmio: IPRIORITYR: implements at least 4 priority bits (8)
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 (0xff7fbf3f => 0xbf)
PASS: gicv2: mmio: IPRIORITYR: byte writes successful (0x1f => 0xff1fbf3f)
PASS: gicv2: mmio: ITARGETSR: bits for 7 non-existent CPUs masked
PASS: gicv2: mmio: ITARGETSR: accesses beyond limit RAZ/WI
FAIL: gicv2: mmio: ITARGETSR: register content preserved (01010001 => 00000000)
PASS: gicv2: mmio: ITARGETSR: byte reads successful (0x01010001 => 0x00)
FAIL: gicv2: mmio: ITARGETSR: byte writes successful (0x1f => 0x00000000)
SUMMARY: 17 tests, 2 unexpected failures

For gicv2-mmio-3p:
# TESTNAME=gicv2-mmio-3p TIMEOUT=90s ACCEL= ./arm/run arm/gic.flat -smp $((($MAX_SMP < 3)?$MAX_SMP:3)) -machine gic-version=2 -append 'mmio'
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 arm/gic.flat -smp 2 -machine gic-version=2 -append mmio # -initrd /tmp/tmp.LrtVFrCn2b
INFO: gicv2: mmio: number of implemented SPIs: 256
PASS: gicv2: mmio: all 2 CPUs have interrupts
INFO: gicv2: mmio: IIDR: 0x00000000
PASS: gicv2: mmio: GICD_TYPER is read-only
PASS: gicv2: mmio: GICD_IIDR is read-only
PASS: gicv2: mmio: ICPIDR2 is read-only (0x0000002b)
PASS: gicv2: mmio: IPRIORITYR: consistent priority masking (0xffffffff)
PASS: gicv2: mmio: IPRIORITYR: implements at least 4 priority bits (8)
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 (0xff7fbf3f => 0xbf)
PASS: gicv2: mmio: IPRIORITYR: byte writes successful (0x1f => 0xff1fbf3f)
FAIL: gicv2: mmio: ITARGETSR: bits for 6 non-existent CPUs masked
PASS: gicv2: mmio: ITARGETSR: accesses beyond limit RAZ/WI
FAIL: gicv2: mmio: ITARGETSR: register content preserved (01030203 => 0103020f)
PASS: gicv2: mmio: ITARGETSR: byte reads successful (0x01030203 => 0x02)
FAIL: gicv2: mmio: ITARGETSR: byte writes successful (0x1f => 0x011f020f)
SUMMARY: 17 tests, 3 unexpected failures

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-10-generic 4.18.0-10.11
ProcVersionSignature: User Name 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic aarch64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Nov 9 10:50 seq
 crw-rw---- 1 root audio 116, 33 Nov 9 10:50 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu13
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Fri Nov 9 10:54:46 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:

ProcFB:

ProcKernelCmdLine: console=ttyS0,9600n8r ro
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-10-generic N/A
 linux-backports-modules-4.18.0-10-generic N/A
 linux-firmware 1.175
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Brad Figg (brad-figg)
tags: added: cscc
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.