Fix interrupts declaration for GICv3

discovered there is a problem with running all hypervisors on NVIDIA Orin that’re trying to utilize the GICv3 featured.
This includes qemu with GICv3 enabled and all RustVMM-based hypervisors – they fail with “failed to create IRQ chip: No such device (os error 19)” diagnostics.
Investigation discovered that nessessary control structures for GICv3 are not created during kernel device initialization in the kvm subsystem. That leads to bug in the DTS – uncomplete interrupts declatation in interrupt-controller section.
Fixed by adding the nesessary declarations.

diff a/tegra234-soc-minimal.dtsi b/tegra234-soc-minimal.dtsi 
45a46,48
	reg = <0x0 0x0f400000 0x0 0x00010000    /* GICD */
		       0x0 0x0f440000 0x0 0x00200000>;  /* GICR CPU 0-15 */
		ranges;
>               interrupts = <GIC_PPI 9
>                       (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
>               interrupt-parent = <&intc>;
	         status = "disabled";

		gic_v2m: v2m@f410000 {

Dear @vadim.likholetov,
May I know the DRIVE OS version?

it is JetPack 5.1 with Jetson Linux 35.2.1 and previous versions

Dear @vadim.likholetov,
This forum is intended for DRIVE AGX Orin platform. Please post your queries on relavant Jetson forum to get attention(Jetson AGX Orin - NVIDIA Developer Forums)

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