aarch64: Allow writes to MFAR_EL3
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 30 Nov 2021 17:50:24 +0000 (17:50 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 30 Nov 2021 17:50:24 +0000 (17:50 +0000)
commitb009f915c9e744b1671f72806c5714af00a8ee89
treed3168c5d2ac3fcf81d62277f08c6ec32672322cf
parent1864b6578bd96bee057ed4ce5f69917c9ad9abc9
aarch64: Allow writes to MFAR_EL3

MFAR_EL3 is a read/write register, but was incorrectly marked as
read-only
[https://developer.arm.com/documentation/ddi0601/2021-09/AArch64-Registers/MFAR-EL3--PA-Fault-Address-Register?lang=en]

opcodes/
* aarch64-opc.c (aarch64_sys_regs): Mark mfar_el3 as read-write.

gas/
* testsuite/gas/aarch64/rme.s: Test writing to mfar_el3.
* testsuite/gas/aarch64/rme.d: Update accordingly.
* testsuite/gas/aarch64/rme-invalid.s: Delete.
* testsuite/gas/aarch64/rme-invalid.l: Likewise.
* testsuite/gas/aarch64/rme-invalid.d: Likewise.
gas/testsuite/gas/aarch64/rme-invalid.d [deleted file]
gas/testsuite/gas/aarch64/rme-invalid.l [deleted file]
gas/testsuite/gas/aarch64/rme-invalid.s [deleted file]
gas/testsuite/gas/aarch64/rme.d
gas/testsuite/gas/aarch64/rme.s
opcodes/aarch64-opc.c