commit | 1864b6578bd96bee057ed4ce5f69917c9ad9abc9 | [log] [tgz] |
---|---|---|
author | Richard Sandiford <richard.sandiford@arm.com> | Tue Nov 30 17:50:24 2021 +0000 |
committer | Richard Sandiford <richard.sandiford@arm.com> | Tue Nov 30 17:50:24 2021 +0000 |
tree | 6dc19b9e2e0f6f5b33c26f5d65f36f86730e958c | |
parent | 31a8056f2f519fda71682cffd0eac6ba87a59c8e [diff] |
aarch64: Mark PMSIDR_EL1 as read-only We were incorrectly allowing writes to PMSIDR_EL1, which is a read-only register. [https://developer.arm.com/documentation/ddi0595/2021-09/AArch64-Registers/PMSIDR-EL1--Sampling-Profiling-ID-Register?lang=en] opcodes/ * aarch64-opc.c (aarch64_sys_regs): Make pmsidr_el1 as F_REG_READ. gas/ * testsuite/gas/aarch64/msr.s: Remove write to pmsidr_el1. * testsuite/gas/aarch64/msr.d: Update accordingly. * testsuite/gas/aarch64/illegal-sysreg-2.s, * testsuite/gas/aarch64/illegal-sysreg-2.d, * testsuite/gas/aarch64/illegal-sysreg-2.l: New test.