Jetson AGX Orin devKit 34.1.1 GICv3 - Vgic creation failed


I’ve been experimenting around with the Orin and was able to run an ubuntu20.04 Arm64 vm using “gic-version 2” with up to 8 vcpu’s.

However in order to utilize more than 8 vcpu’s a VGIC of GICv3 is required.

From docs regarding the Orin it should fully support GICv3 using the GIC-600AE in the Soc.

When starting qemu with gic-version 3 the output is as follows.

user@orin ~> virsh start ubuntu20.04

error: Failed to start domain ubuntu20.04

error: internal error: process exited while connecting to monitor: 2022-06-01T09:30:58.465325Z qemu-system-aarch64: Initialization of device kvm-arm-gicv3 failed: error creating in-kernel VGIC: No such device

From historical posts there was some patching done in dts to introduce GICV and GICH for GICv2 on the GIC-400 in Xavier:

However this Orin is a more modern GICv3 using GIC-600AE that as far as i know doesnt have GICH and GICV anymore. But should be able to create a VGIC.


Orin Series SoC Technical Reference Manual

"2.2.3 vGIC in CCPLEX

The Interrupt controller used for the CCPLEX cluster is a GICv3 which supports virtualization. The vGIC is an SMP

Interrupt controller with eight channels (one per CPU core in the CCPLEX) and receiving Interrupts targeted to (any) one

or more of the CPUs in the CCPLEX."

Please help. What am i missing?

Our team will do the investigation and provide update soon. Thanks

Please try with the below command and share if it works. In cpu, you can provide options like e.g: cortex-a57, cortex-a72, cortex-a78, max etc

sudo ./qemu-system-aarch64 -cpu max -machine virt,gic-version=3,kernel-irqchip=on -m 1024 -nographic -monitor none -kernel /boot/Image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.