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)
Tue, Mar 3, 9:09 PM
Unknown Object (File)
Tue, Mar 3, 3:52 AM
Unknown Object (File)
Feb 18 2026, 8:01 AM
Unknown Object (File)
Feb 18 2026, 8:01 AM
Unknown Object (File)
Feb 2 2026, 9:13 PM
Unknown Object (File)
Feb 2 2026, 4:39 PM
Unknown Object (File)
Feb 1 2026, 8:19 PM
Unknown Object (File)
Jan 20 2026, 3:04 PM
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.