Hi All, I am currently working on getting root cell up and running on Renesas RZ/V2L SoC, which is equipped with 2 arm cortex A55.
I have written a simple root cell configuration and verified against using the "jailhouse config check", but as soon as I enable the root cell configuration I get the below panic. root@smarc-rzg2l:~# insmod jailhouse.ko [ 17.327338] jailhouse: loading out-of-tree module taints kernel. root@smarc-rzg2l:~# root@smarc-rzg2l:~# jailhouse config check -a arm64 renesas-r9a07g054l2.cell Reading configuration set: Root cell: Renesas RZ/V2L SMARC (renesas-r9a07g054l2.cell) Overlapping memory regions inside cell: None Overlapping memory regions with hypervisor: None Missing resource interceptions for architecture arm64: None root@smarc-rzg2l:~# root@smarc-rzg2l:~# root@smarc-rzg2l:~# jailhouse enable renesas-r9a07g054l2.cell [ 32.430107] ------------[ cut here ]------------ [ 32.430111] ------------[ cut here ]------------ [ 32.430126] kernel BUG at arch/arm64/kernel/traps.c:407! [ 32.434730] kernel BUG at arch/arm64/kernel/traps.c:407! [ 32.439323] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP [ 32.455346] Modules linked in: jailhouse(O) [ 32.459523] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 5.10.112-cip6+ #8 [ 32.467490] Hardware name: Renesas SMARC EVK based on r9a07g054l2 (DT) [ 32.473990] pstate: 00400085 (nzcv daIf +PAN -UAO -TCO BTYPE=--) [ 32.479981] pc : do_undefinstr+0x26c/0x320 [ 32.484059] lr : do_undefinstr+0x1cc/0x320 [ 32.488134] sp : ffff80001128bd00 [ 32.491432] x29: ffff80001128bd00 x28: ffff800011102a80 [ 32.496723] x27: ffff800011102a80 x26: ffff80001128c000 [ 32.502018] x25: ffff800011288000 x24: ffff8000110fa344 [ 32.507309] x23: 0000000020400085 x22: ffff800012004064 [ 32.512600] x21: ffff80001128bee0 x20: ffff80001128bd90 [ 32.517891] x19: ffff800010e4f000 x18: 0000000000000001 [ 32.523181] x17: ffff800008b0180c x16: 0000000000000000 [ 32.528473] x15: ffff800012004064 x14: 000000001004b800 [ 32.533764] x13: 0000ffffc0200000 x12: 00000000b6f00000 [ 32.539054] x11: ffff0000f6d00000 x10: ffff800011181580 [ 32.544345] x9 : ffff800011181578 x8 : ffff000009c00270 [ 32.549636] x7 : ffff800010e4f000 x6 : ffff80001128bd58 [ 32.554927] x5 : 00000000d5300000 x4 : ffff800011104f50 [ 32.560218] x3 : 00000000d4000000 x2 : 0000000000000000 [ 32.565509] x1 : ffff800011102a80 x0 : 0000000020400085 [ 32.570801] Call trace: [ 32.573238] do_undefinstr+0x26c/0x320 [ 32.576975] el1_undef+0x30/0x50 [ 32.580189] el1_sync_handler+0xc4/0xe0 [ 32.584007] el1_sync+0x84/0x140 [ 32.587221] 0xffff800012004064 [ 32.590352] flush_smp_call_function_queue+0xf8/0x268 [ 32.595381] generic_smp_call_function_single_interrupt+0x14/0x20 [ 32.601449] ipi_handler+0x8c/0x158 [ 32.604924] handle_percpu_devid_fasteoi_ipi+0x74/0x88 [ 32.610043] generic_handle_irq+0x30/0x48 [ 32.614035] __handle_domain_irq+0x60/0xb8 [ 32.618116] gic_handle_irq+0x58/0x128 [ 32.621846] el1_irq+0xc8/0x180 [ 32.624974] arch_cpu_idle+0x18/0x28 [ 32.628534] default_idle_call+0x24/0x5c [ 32.632440] do_idle+0x1ec/0x288 [ 32.635653] cpu_startup_entry+0x24/0x68 [ 32.639557] rest_init+0xd8/0xe8 [ 32.642772] arch_call_rest_init+0x10/0x1c [ 32.646850] start_kernel+0x4b0/0x4e8 [ 32.650500] Code: f94013b5 17fffff1 a9025bb5 f9001bb7 (d4210000) [ 32.656575] ---[ end trace 6f8e50d223964988 ]--- [ 32.661173] Kernel panic - not syncing: Oops - BUG: Fatal exception in interrupt [ 32.668537] SMP: stopping secondary CPUs [ 33.756157] SMP: failed to stop secondary CPUs 0-1 [ 33.760926] Kernel Offset: disabled [ 33.764399] CPU features: 0x0040026,2a00a238 [ 33.768648] Memory Limit: 750 MB [ 33.771863] ---[ end Kernel panic - not syncing: Oops - BUG: Fatal exception in interrupt ]--- Any pointers where I should be looking into for the above issue? Cheers, Prabhakar -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/2dcadf3d-1df9-497a-a530-be01a5da96e9n%40googlegroups.com.
