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)
Wed, Mar 4, 10:57 AM
Unknown Object (File)
Mon, Mar 2, 12:40 AM
Unknown Object (File)
Tue, Feb 10, 7:43 PM
Unknown Object (File)
Feb 2 2026, 1:57 AM
Unknown Object (File)
Jan 31 2026, 2:27 PM
Unknown Object (File)
Jan 25 2026, 4:16 AM
Unknown Object (File)
Jan 24 2026, 11:32 PM
Unknown Object (File)
Jan 24 2026, 12:37 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 Not Applicable
Unit
Tests Not Applicable