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, Sep 22, 10:04 AM
Unknown Object (File)
Sun, Sep 20, 8:20 AM
Unknown Object (File)
Sun, Sep 20, 8:05 AM
Unknown Object (File)
Sun, Sep 20, 7:48 AM
Unknown Object (File)
Tue, Sep 8, 7:24 AM
Unknown Object (File)
Mon, Aug 31, 10:09 AM
Unknown Object (File)
Mon, Aug 31, 6:00 AM
Unknown Object (File)
Sun, Aug 30, 9:36 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.