Re: Bug report: kernel paniced while booting
From: Conor Dooley
Date: Mon Jun 05 2023 - 06:59:14 EST
On Mon, Jun 05, 2023 at 10:52:14AM +0000, Song Shuai wrote:
> This report is not identical to my prior report -- "kernel paniced when system hibernates" [1], but both of them
> are closely related with the commit (3335068f8721 "riscv: Use PUD/P4D/PGD pages for the linear mapping").
>
> With this commit, hibernation is trapped with "access fault" while accessing the PMP-protected regions (mmode_resv0@80000000)
> from OpenSbi (BTW, hibernation is marked as nonportable by Conor[2]).
Just to be clear, you enabled NONPORTABLE & hibernation, and then
hibernating panicked for you on a system that uses standard OpenSBI?
This is the existing, known, issue and not something you are trying to
report as a new problem here, right?
(Sorry, I am a bit slow today)
Cheers,
Conor.
> In this report, efi_init handoffs the memory mapping from Boot Services to memblock where reserves mmode_resv0@80000000,
> so there is no "access fault" but "page fault".
>
> And reverting commit 3335068f8721 indeed fixed this panic.
Attachment:
signature.asc
Description: PGP signature