qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>,
	qemu-arm <qemu-arm@nongnu.org>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	qemu-devel@nongnu.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: Re: Is kexec supported in QEMU for ARM64 (qemu-system-aarch64) with arm-trusted-firmware, optee, and u-boot.
Date: Fri, 27 Sep 2019 11:15:12 +0200	[thread overview]
Message-ID: <65b49cb0-c9fb-d966-8dec-1e39d09ab8c7@redhat.com> (raw)
In-Reply-To: <ca5c74db-cf5d-0c3f-eb6f-27d1092420ae@linux.microsoft.com>

Cc'ing Ard too

On 9/27/19 12:35 AM, Lakshmi Ramasubramanian wrote:
> On 9/26/19 8:17 AM, Lakshmi Ramasubramanian wrote:
> 
> The following commit for ARM Trusted Firmware for QEMU virt ARMv8-A
> is almost 3 years old
> 
> https://salsa.debian.org/debian/atf-allwinner/commit/b6b671c4ac4bd5595306863225bb3bece1e6135c
> 
> 
> Current limitations:
> * Only cold boot is supported
> * No build instructions for QEMU_EFI.fd and rootfs-arm64.cpio.gz
> * No instructions for how to load a BL32 (Secure Payload)
> 
> So looks like only cold boot is supported (no kexec support)
> Is this correct?
> 
>> When I execute kexec ("kexec -l <kernel>", followed by "kexec -e") I
>> hit the following assert (in 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);
>> }
>>
>> Is kexec supported in ARM64 QEMU (qemu-system-aarch64) -
>> using arm-trusted-firmware, optee, and u-boot?
>>
>> Thanks,
>>   -lakshmi
> 
> 



  reply	other threads:[~2019-09-27  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <21633062-b021-a8e7-0cc8-062f4c29dde5@linux.microsoft.com>
2019-09-26 22:35 ` Is kexec supported in QEMU for ARM64 (qemu-system-aarch64) with arm-trusted-firmware, optee, and u-boot Lakshmi Ramasubramanian
2019-09-27  9:15   ` Philippe Mathieu-Daudé [this message]
2019-09-30 22:27     ` Lakshmi Ramasubramanian
2019-10-01 16:30       ` Ard Biesheuvel
2019-10-02  1:32         ` Lakshmi Ramasubramanian
2019-10-09 13:38           ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65b49cb0-c9fb-d966-8dec-1e39d09ab8c7@redhat.com \
    --to=philmd@redhat.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=nramas@linux.microsoft.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).