Re: [PATCH 0/2] Fix boot hang issue on Ampere Emag server

From: Ard Biesheuvel
Date: Tue Feb 07 2023 - 03:44:25 EST


On Tue, 7 Feb 2023 at 04:21, Justin He <Justin.He@xxxxxxx> wrote:
>
> Hi Ard
>
> > -----Original Message-----
> [...]
> > As your suggested (comment above execute_with_initialized_rng in latest
> > kernel):
> > The efibootmgr -t X will be hung. Looks like one certain commit before your
> > patch broke the set_variable efi call. I will dig into the further debug and tell
> > you the result.
>
> The root cause of the hung IMO might be similar to
> commit 550b33cfd445296868a478e8413ffb2e963eed32
> Author: Ard Biesheuvel <ardb@xxxxxxxxxx>
> Date: Thu Nov 10 10:36:20 2022 +0100
>
> arm64: efi: Force the use of SetVirtualAddressMap() on Altra machines
>
> Do you agree with the idea if I add Ampere ”eMAG” machine into the list of
> Using SetVirtualAddressMap() forcibly?
>
> Please note that even in previous kernel patch, the efibootmgr -t 10 will make
> kernel hung if I passed "efi=novamap" to the boot parameter.
>

Interesting. What does dmidecode return for the family in the type 1 record?