HomeFreeBSD

arm64: Fix the gicv3 check in locore.S

Description

arm64: Fix the gicv3 check in locore.S

In locore.S we need to configure access to the GICv3. To check if it's
available we read the id_aa64pfr0_el1 register, however we then only
check if a GICv3.0 or 4.0 is present. If the system has a GICv4.1 this
check would fail.

Move to checking if the GICV3+ is not absent so this will still work if
the field is updated again.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45530

(cherry picked from commit 57ef7935eb114e98e7e554c5ffbded68fd038c04)

Details

Provenance
andrewAuthored on Jul 23 2024, 9:18 AM
Parents
rG570fae59a8bf: arm64: Support counter access with E2H
Branches
Unknown
Tags
Unknown