Page MenuHomeFreeBSD

arm64: Fix the gicv3 check in locore.S
ClosedPublic

Authored by andrew on Jun 7 2024, 2:27 PM.
Tags
None
Referenced Files
F132393898: D45530.id139625.diff
Thu, Oct 16, 1:14 PM
F132393892: D45530.id141248.diff
Thu, Oct 16, 1:14 PM
F132393889: D45530.id.diff
Thu, Oct 16, 1:14 PM
F132340191: D45530.diff
Thu, Oct 16, 1:30 AM
Unknown Object (File)
Sun, Oct 12, 11:33 PM
Unknown Object (File)
Sat, Oct 4, 10:46 PM
Unknown Object (File)
Sep 15 2025, 9:28 AM
Unknown Object (File)
Aug 24 2025, 12:42 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable