I am getting kernel panic when trying to enable jailhouse on TI AM62x with 6.1 kernel. Jailhouse was working fine on 5.10 kernel using the same jailhouse config files.
[ 136.823346] Unable to handle kernel execute from non-executable memory at virtual address ffff80000b404000 [ 136.823346] Unable to handle kernel execute from non-executable memory at virtual address ffff80000b404000 [ 136.823347] Unable to handle kernel execute from non-executable memory at virtual address ffff80000b404000 [ 136.823346] Unable to handle kernel execute from non-executable memory at virtual address ffff80000b404000 [ 136.823366] Mem abort info: [ 136.823367] Mem abort info: [ 136.823367] Mem abort info: [ 136.823369] ESR = 0x000000008600000e [ 136.823369] ESR = 0x000000008600000e [ 136.823370] ESR = 0x000000008600000e [ 136.823372] EC = 0x21: IABT (current EL), IL = 32 bits [ 136.823372] EC = 0x21: IABT (current EL), IL = 32 bits [ 136.823374] EC = 0x21: IABT (current EL), IL = 32 bits [ 136.823378] SET = 0, FnV = 0 [ 136.823379] SET = 0, FnV = 0 [ 136.823381] EA = 0, S1PTW = 0 [ 136.823382] EA = 0, S1PTW = 0 [ 136.823385] FSC = 0x0e: level 2 permission fault [ 136.823385] FSC = 0x0e: level 2 permission fault [ 136.823390] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f89000 [ 136.823390] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f89000 [ 136.823396] [ffff80000b404000] pgd=10000000df9ff003 [ 136.823396] [ffff80000b404000] pgd=10000000df9ff003 [ 136.823401] , p4d=10000000df9ff003 [ 136.823401] , p4d=10000000df9ff003 [ 136.823404] , pud=10000000df9fe003 [ 136.823406] , pud=10000000df9fe003 [ 136.823407] , pmd=00680000dfc00701 [ 136.823409] , pmd=00680000dfc00701 [ 136.823410] [ 136.823412] [ 136.823415] Internal error: Oops: 000000008600000e [#1] PREEMPT SMP [ 136.823421] Modules linked in: jailhouse(O) xhci_plat_hcd snd_soc_hdmi_codec dwc3 snd_soc_simple_card snd_soc_simple_card_utils crct 10dif_ce display_connector sii902x dwc3_am62 drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopy area sa2ul sha256_generic libsha256 authenc drm tps6598x drm_panel_orientation_quirks typec ipv6 [ 136.823511] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 6.1.12-00113-g78816b00ff46-dirty #10 [ 136.823521] Hardware name: Texas Instruments AM625 SK (DT) [ 136.823526] pstate: 200000c5 (nzCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 136.823535] pc : 0xffff80000b404000 [ 136.823548] lr : enter_hypervisor+0x44/0xa8 [jailhouse] [ 136.823573] sp : ffff80000800bf10 [ 136.823576] x29: ffff80000800bf10 x28: ffff00000018c600 x27: 0000000000000000 [ 136.823587] x26: ffff00000018c600 x25: 0000000000000000 x24: 0000000000000000 [ 136.823598] x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 [ 136.823609] x20: 0000000000000000 x19: ffff800000d76000 x18: 0000000000000002 [ 136.823619] x17: ffff80005664e000 x16: ffff80000800c000 x15: 0000000000004000 [ 136.823630] x14: 000000000000001d x13: 0000000000000000 x12: 0000000000000001 [ 136.823641] x11: 0000000000000040 x10: ffff000000006170 x9 : ffff000000006168 [ 136.823651] x8 : ffff0000004004b8 x7 : 0000000000000000 x6 : 0000000000000000 [ 136.823661] x5 : ffff80005664e000 x4 : 0000000000000000 x3 : 0000000000000001 [ 136.823672] x2 : ffff80000b400000 x1 : ffff80000b404000 x0 : 0000000000000001 [ 136.823683] Call trace: [ 136.823687] 0xffff80000b404000 [ 136.823693] __flush_smp_call_function_queue+0xd4/0x260 [ 136.823710] generic_smp_call_function_single_interrupt+0x14/0x20 [ 136.823719] ipi_handler+0xac/0x150 [ 136.823730] handle_percpu_devid_irq+0x84/0x138 [ 136.823742] generic_handle_domain_irq+0x2c/0x48 [ 136.823750] gic_handle_irq+0x50/0x130 [ 136.823761] call_on_irq_stack+0x2c/0x54 [ 136.823771] do_interrupt_handler+0x80/0x88 [ 136.823780] el1_interrupt+0x38/0x70 [ 136.823789] el1h_64_irq_handler+0x18/0x28 [ 136.823796] el1h_64_irq+0x64/0x68 [ 136.823802] arch_cpu_idle+0x18/0x28 [ 136.823810] default_idle_call+0x24/0x6c [ 136.823819] do_idle+0x200/0x248 [ 136.823826] cpu_startup_entry+0x24/0x30 [ 136.823832] secondary_start_kernel+0x124/0x148 [ 136.823841] __secondary_switched+0xb0/0xb4 [ 136.823856] Code: 00000000 00000000 00000000 00000000 (aa0003f0) [ 136.823863] ---[ end trace 0000000000000000 ]--- [ 136.823868] Kernel panic - not syncing: Oops: Fatal exception in interrupt [ 136.823873] SMP: stopping secondary CPUs [ 136.833005] Mem abort info: [ 136.833007] ESR = 0x000000008600000e [ 136.833011] EC = 0x21: IABT (current EL), IL = 32 bits [ 136.833015] SET = 0, FnV = 0 [ 136.833018] EA = 0, S1PTW = 0 [ 136.833020] FSC = 0x0e: level 2 permission fault [ 136.833024] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f89000 [ 136.833028] [ffff80000b404000] pgd=10000000df9ff003, p4d=10000000df9ff003, pud=10000000df9fe003, pmd=00680000dfc00701 [ 136.842633] SET = 0, FnV = 0 [ 136.852263] EA = 0, S1PTW = 0 [ 136.861893] FSC = 0x0e: level 2 permission fault [ 136.864676] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f89000 [ 136.867461] [ffff80000b404000] pgd=10000000df9ff003, p4d=10000000df9ff003, pud=10000000df9fe003, pmd=00680000dfc00701 [ 137.899406] SMP: failed to stop secondary CPUs 0-3 [ 138.291494] Kernel Offset: disabled [ 138.294970] CPU features: 0x00000,00800084,0000420b [ 138.299835] Memory Limit: none [ 138.302882] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]--- Thanks -- 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/a89ac0da-35eb-420a-bb5a-0d4edd0ce2ebn%40googlegroups.com.
