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
Unknown Object (File)
Fri, Oct 17, 9:45 PM
Unknown Object (File)
Tue, Oct 14, 4:48 AM
Unknown Object (File)
Sep 17 2025, 5:05 AM
Unknown Object (File)
Sep 13 2025, 6:45 AM
Unknown Object (File)
Sep 6 2025, 2:28 AM
Unknown Object (File)
Aug 31 2025, 10:32 AM
Unknown Object (File)
Aug 25 2025, 9:55 AM
Unknown Object (File)
Aug 23 2025, 7:05 PM
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 Not Applicable
Unit
Tests Not Applicable