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
Unknown Object (File)
Sat, Dec 13, 9:51 PM
Unknown Object (File)
Thu, Dec 11, 12:21 AM
Unknown Object (File)
Tue, Dec 2, 4:51 AM
Unknown Object (File)
Fri, Nov 28, 3:36 AM
Unknown Object (File)
Nov 21 2025, 10:05 PM
Unknown Object (File)
Nov 17 2025, 5:29 PM
Unknown Object (File)
Nov 15 2025, 6:02 AM
Unknown Object (File)
Nov 3 2025, 6:23 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 58103
Build 54991: arc lint + arc unit