This patch adds assembler/disassembler support for
RME MEC (Memory Encryption Contexts).
Cache maintence instructions added:
- DC CIPAPA
- DC CIGDPAPA
System registers added:
- MECIDR_EL2
- MECID_P0_EL2
- MECID_A0_EL2
- MECID_P1_EL2
- MECID_A1_EL2
- VMECID_P_EL2
- VMECID_A_EL2
- MECID_RL_A_EL3
Memory Encryption Contexts were announced in
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022
The instruction encodings for the MEC feature is available at
https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/DC--Data-Cache-operation--an-alias-of-SYS-?lang=en
The system register encodings available at
https://developer.arm.com/documentation/ddi0601/2022-09/AArch64-Registers?lang=en
Based on patches by Son Tuan Vu
This should not be included. These names are supposed to be the same as command-line extension options, which MEC doesn't have.
At the very least, it's also untested, but I think it should be removed, not tested.