On Wed, 2 Oct 2019 at 03:32, Lakshmi Ramasubramanian <nra...@linux.microsoft.com> wrote: > > On 10/1/19 9:30 AM, Ard Biesheuvel wrote: > > > > > kexec is a linux concept, so whether it is supported should not depend > > on the secure world firmware or the underlying host. > > I agree Ard. > When I don't use ATF I am able to do kexec in QEMU and successfully boot > into the new kernel. > Is the following expected? > > When I execute kexec ("kexec -l <kernel>", followed by "kexec -e") I hit > the following assert in ATF (in the file > arm-trusted-firmware/plat/qemu/qemu_pm.c) > > /******************************************************************************* > * Platform handler called when a power domain is about to be turned > * off. The target_state encodes the power state that each level should > * transition to. > ******************************************************************************/ > void qemu_pwr_domain_off(const psci_power_state_t *target_state) > { > assert(0); > } >
Are you running with multiple CPUs?