On Tue, 3 Nov 2026 at 14:54, Ferdinand Schober <[email protected]> wrote:
>
> The a64fx CPU model wrongfully set GIC bits in the
> processor feature register (ID_AA64PFR0).
>
> I traced this back to e31c70ac04001df5e540b79843834277e283fa71,
> where A64FX got added.
>
> This bit is supposed to get set conditionally in id_aa64pfr0_read,
> depending on whether or not a gicv3 is present, from what I can tell.
> Qemu picks gic-version=2 by default, while v3 gets advertised due to this 
> flag.
> Recent EDK2 firmware accesses ICC_SRE_EL2 in this case and crashes.
>
> Clear the GIC field, as the other CPU models do.
>
> Cc: [email protected]
> Fixes: e31c70ac0400 ("target-arm: Add support for Fujitsu A64FX")
> Signed-off-by: Ferdinand Schober <[email protected]>
> ---



Applied to target-arm.next, thanks.

-- PMM

Reply via email to