Page MenuHomeFreeBSD

arm64: Use the PAN msr mnemonic rather than .inst
ClosedPublic

Authored by andrew on Nov 27 2024, 6:12 PM.
Tags
None
Referenced Files
F107428906: D47817.diff
Tue, Jan 14, 1:02 AM
Unknown Object (File)
Sat, Jan 4, 12:28 PM
Unknown Object (File)
Wed, Dec 25, 4:15 PM
Unknown Object (File)
Dec 12 2024, 8:06 PM
Unknown Object (File)
Dec 11 2024, 4:51 PM
Unknown Object (File)
Nov 30 2024, 9:12 PM
Unknown Object (File)
Nov 28 2024, 5:18 AM
Unknown Object (File)
Nov 28 2024, 5:18 AM
Subscribers

Details

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