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, Jun 16, 8:45 PM
Unknown Object (File)
Wed, Jun 10, 9:30 AM
Unknown Object (File)
May 22 2026, 11:52 PM
Unknown Object (File)
May 17 2026, 3:50 PM
Unknown Object (File)
May 17 2026, 2:13 PM
Unknown Object (File)
May 16 2026, 4:42 PM
Unknown Object (File)
May 13 2026, 10:24 PM
Unknown Object (File)
Apr 27 2026, 7:53 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.