Page MenuHomeFreeBSD

arm64: Fix the sign in ID registers
ClosedPublic

Authored by andrew on Jul 17 2025, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 1:10 AM
Unknown Object (File)
Sun, Oct 12, 1:10 AM
Unknown Object (File)
Sun, Oct 12, 1:10 AM
Unknown Object (File)
Sat, Oct 11, 3:40 PM
Unknown Object (File)
Thu, Sep 25, 8:51 PM
Unknown Object (File)
Sep 22 2025, 7:21 PM
Unknown Object (File)
Sep 20 2025, 7:28 PM
Unknown Object (File)
Sep 15 2025, 1:14 AM
Subscribers

Details

Summary

Some ID registers use 0b0000 to indicate a feature is enabled, and
0b1111 to indicate it's not. In these cases we need to tell the kernel
to treat the value as a signed field.

Set the signed flag in fields we decode that should be signed.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 1 2025, 12:11 PM
This revision was automatically updated to reflect the committed changes.