Page MenuHomeFreeBSD

arm64: Use ISS to search for a special register
ClosedPublic

Authored by andrew on Tue, Jun 17, 1:23 PM.
Tags
None
Referenced Files
F122711447: D50905.id.diff
Mon, Jul 7, 4:02 PM
Unknown Object (File)
Sun, Jul 6, 12:36 PM
Unknown Object (File)
Sat, Jul 5, 10:27 PM
Unknown Object (File)
Fri, Jul 4, 4:28 PM
Unknown Object (File)
Wed, Jul 2, 7:39 AM
Unknown Object (File)
Wed, Jul 2, 3:30 AM
Unknown Object (File)
Tue, Jul 1, 2:54 AM
Unknown Object (File)
Mon, Jun 30, 12:18 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64939
Build 61822: arc lint + arc unit