[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is kexec supported in QEMU for ARM64 (qemu-system-aarch64) with arm-
From: |
Lakshmi Ramasubramanian |
Subject: |
Re: Is kexec supported in QEMU for ARM64 (qemu-system-aarch64) with arm-trusted-firmware, optee, and u-boot. |
Date: |
Tue, 1 Oct 2019 18:32:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
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);
}
Thanks,
-lakshmi