From: Marc Zyngier <maz@kernel.org>
To: "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>
Cc: kvmarm@lists.linux.dev, Will Deacon <will@kernel.org>,
Quentin Perret <qperret@google.com>
Subject: Re: pkvm boot failures
Date: Mon, 09 Jun 2025 17:24:10 +0100 [thread overview]
Message-ID: <87zfegdgt1.wl-maz@kernel.org> (raw)
In-Reply-To: <yq5ah60pkq03.fsf@kernel.org>
On Mon, 09 Jun 2025 14:23:40 +0100,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org> wrote:
>
> I am hitting the below failure with v6.15 (I tried other kernel versions
> with similar results). I disabled CONFIG_PROTECTED_NVHE_STACKTRACE
> because with CONFIG_NVHE_EL2_DEBUG, the stack was pointing at
> hyp_assert_lock_held() .
Why do you get different results based on the backtrace support?
>
> [ 0.664457] kvm [1]: nVHE hyp panic at: [<ffff80008050b10c>] __kvm_nvhe_handle_trap+0x34/0x10c!
> [ 0.664538] kvm [1]: Cannot dump pKVM nVHE stacktrace: !CONFIG_PROTECTED_NVHE_STACKTRACE
> [ 0.664566] kvm [1]: Hyp Offset: 0xffff000007c00000
> [ 0.664631] Kernel panic - not syncing: HYP panic:
> [ 0.664631] PS:614023c9 PC:000080007890b10c ESR:0000000096000007
ESR_EL2 shows that this is a S1 translation fault, level 3, from
EL2. This is consistent with hitting the BUG() in handle_trap(().
What is at this PC?
> [ 0.664631] FAR:0000800078c252f0 HPFAR:0000000000000000 PAR:0000000000000000
FAR_EL2 is valid (as per the above), so what is EL2 trying to access
at this address?
> I was able to locate a .config that make the pkvm work, But i am not
> able to identify which config dependency is making the difference. I am
> attaching below the working and non working kernel configs. I am using
> FVP to test this.
If you're using a model, it should be pretty easy to track all of the
above.
Thanks,
M.
--
Jazz isn't dead. It just smells funny.
next prev parent reply other threads:[~2025-06-09 16:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-09 13:23 pkvm boot failures Aneesh Kumar K.V
2025-06-09 16:24 ` Marc Zyngier [this message]
2025-06-09 17:25 ` Mostafa Saleh
2025-06-10 6:33 ` Aneesh Kumar K.V
2025-06-10 9:03 ` Mostafa Saleh
2025-06-10 7:34 ` Marc Zyngier
2025-06-10 9:06 ` Mostafa Saleh
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=87zfegdgt1.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=aneesh.kumar@kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=qperret@google.com \
--cc=will@kernel.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