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

From: Justin He
Date: Mon Feb 06 2023 - 22:21:57 EST


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.


--
Cheers,
Justin (Jia He)