Page MenuHomeFreeBSD

arm64: Use ISS to search for a special register
ClosedPublic

Authored by andrew on Jun 17 2025, 1:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 28, 2:52 AM
Unknown Object (File)
Sun, Sep 21, 9:00 PM
Unknown Object (File)
Wed, Sep 17, 1:11 PM
Unknown Object (File)
Sep 9 2025, 12:09 PM
Unknown Object (File)
Sep 6 2025, 6:47 PM
Unknown Object (File)
Aug 22 2025, 11:10 PM
Unknown Object (File)
Aug 15 2025, 12:53 AM
Unknown Object (File)
Aug 12 2025, 9:48 PM
Subscribers

Details

Summary

Previously we would use part of the msr/mrs instruction to find what
register was being asked for. This was the only use for these values.

We now have ESR_EL1 ISS field values for the same register so can use
this new value to find what register is asked for. This lets us remove
the old reg field from struct mrs_user_reg.

Add macros to keep the old KPI.

Sponsored by: Arm Ltd

Diff Detail

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