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

Details

Provenance
andrewAuthored on Jul 23 2024, 9:18 AM
Differential Revision
D45530: arm64: Fix the gicv3 check in locore.S
Parents
rG997511dffe65: arm64: Support counter access with E2H
Branches
Unknown
Tags
Unknown