Page MenuHomeFreeBSD

arm64: Use the PAN msr mnemonic rather than .inst
Needs ReviewPublic

Authored by andrew on Wed, Nov 27, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 9:12 PM
Unknown Object (File)
Thu, Nov 28, 5:18 AM
Unknown Object (File)
Thu, Nov 28, 5:18 AM
Unknown Object (File)
Thu, Nov 28, 5:01 AM
Subscribers

Details

Reviewers
manu
Group Reviewers
ARM
Summary

Switch from creating the msr instructions to manage PAN to use the
"msr pan, #1" instruction directly. When this was added clang didn't
have support to assemble the instructions. This appears to have been
added to clang 13 which is sufficiently old enough.

Binutils releases from around the same time appear to have added this
instruction so any modern gcc should also support this instruction.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60852
Build 57736: arc lint + arc unit