All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: Luis Machado <luis.machado@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [RESOLVED] aarch64 edk2 + linux kernel crash with gicv4
Date: Wed, 22 Jun 2022 06:03:54 +0100	[thread overview]
Message-ID: <87tu8dqod9.fsf@linaro.org> (raw)
In-Reply-To: <dbf7e57b-a57e-8ed8-67b9-6d43c534a317@linaro.org>


Richard Henderson <richard.henderson@linaro.org> writes:

> Hi Luis,
>
> Cc'ing qemu-devel just in case someone else runs into this problem:
>
> The symptom is an early-ish crash booting the linux kernel -- without
> earlycon there is no output at all.  Reproducing it requires both
> -bios QEMU_EFI.fd and -kernel Image.gz. Using only one of the two
> options works.

What should the combination of the two options mean? Usually the
firmware loads the kernel and -kernel is a shortcut hack to avoid the
firmware setup. If you specify both does the firmware still run but
somehow find the kernel mapped in memory?

>
> I tracked the crash to the qemu commit that enabled GICv4.  So I tried
> using -M gic-version=3, and that works.
>
> I wondered if the problem is that the edk2 image from Ubuntu 20.04 is
> too old and can't properly handle GICv4, leaving the device in an
> inconsistent state for the kernel.  So I tried an image from
> https://retrage.github.io/edk2-nightly/ with gic-version=max, and that
> works.
>
> So... solved.
>
>
> r~


-- 
Alex Bennée


  reply	other threads:[~2022-06-22  5:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 22:50 [RESOLVED] aarch64 edk2 + linux kernel crash with gicv4 Richard Henderson
2022-06-22  5:03 ` Alex Bennée [this message]
2022-06-22  9:15   ` Peter Maydell

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=87tu8dqod9.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=luis.machado@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.