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)
Fri, Nov 1, 1:59 AM
Unknown Object (File)
Wed, Oct 30, 9:54 AM
Unknown Object (File)
Fri, Oct 18, 4:29 PM
Unknown Object (File)
Mon, Oct 14, 6:28 AM
Unknown Object (File)
Sep 30 2024, 7:29 PM
Unknown Object (File)
Sep 29 2024, 7:32 PM
Unknown Object (File)
Sep 29 2024, 7:20 PM
Unknown Object (File)
Sep 29 2024, 5:32 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