Hi
I am working on 2160 processor to use kexec to jump into a new kenel, but after "kexec -e", the board haltled, like this:
# /usr/kexec -e
[ 93.742151] kexec_core: Starting new kernel
[ 93.746328] Disabling non-boot CPUs ...
[ 93.804342] IRQ 136: no longer affine to CPU1
[ 93.804408] CPU1: shutdown
[ 93.811460] psci: CPU1 killed.
[ 93.836301] IRQ 137: no longer affine to CPU2
[ 93.836347] CPU2: shutdown
[ 93.843387] psci: CPU2 killed.
[ 93.876308] IRQ 138: no longer affine to CPU3
[ 93.876337] CPU3: shutdown
[ 93.883378] psci: CPU3 killed.
[ 93.916273] IRQ 139: no longer affine to CPU4
[ 93.916316] CPU4: shutdown
[ 93.923356] psci: CPU4 killed.
[ 93.964293] IRQ 140: no longer affine to CPU5
[ 93.964328] CPU5: shutdown
[ 93.971367] psci: CPU5 killed.
[ 94.008262] IRQ 141: no longer affine to CPU6
[ 94.008305] CPU6: shutdown
[ 94.015345] psci: CPU6 killed.
[ 94.044271] IRQ 142: no longer affine to CPU7
[ 94.044303] CPU7: shutdown
[ 94.051343] psci: CPU7 killed.
[ 94.096257] IRQ 143: no longer affine to CPU8
[ 94.096302] CPU8: shutdown
[ 94.103342] psci: CPU8 killed.
[ 94.144255] IRQ 144: no longer affine to CPU9
[ 94.144286] CPU9: shutdown
[ 94.151325] psci: CPU9 killed.
[ 94.200237] IRQ 145: no longer affine to CPU10
[ 94.200293] CPU10: shutdown
[ 94.207506] psci: CPU10 killed.
[ 94.248282] CPU11: shutdown
[ 94.251065] psci: CPU11 killed.
[ 94.308281] CPU12: shutdown
[ 94.311065] psci: CPU12 killed.
[ 94.344271] CPU13: shutdown
[ 94.347054] psci: CPU13 killed.
[ 94.380258] CPU14: shutdown
[ 94.383042] psci: CPU14 killed.
[ 94.400252] CPU15: shutdown
[ 94.403035] psci: CPU15 killed.
[ 94.417654] Bye!
Then the console has no output, After reading kexec code, I got some question:
1. Does 2160 processor support VHE? I got message from 2160 datasheet that the core support all ARMv8 feature, but the value of register id_aa64mmfr1_el1 is 0.
2. Should I configure CONFIG_KVM to reconfigure the interrupt vector table? The function el2_setup has configure the el1_sync.
Thanks!
Do you use LSDK 21.08?
In previous LSDK, The second kernel with kexec cannot boot up on LX2160A, this issue is fixed in LSDK 21.08.
You need to install kexec-tools 2.0.21 in Ubuntu 20.04.
Please refer to section "7.3 kdump/kexec User Manual" in LSDKUG_Rev21.08.pdf for details.