This is a respin of Richard's patch https://lore.kernel.org/qemu-devel/[email protected]/ but split in multiple trivial changes, as I was having hard time to understand all changes at once while reviewing it.
Richard Henderson (7): target/arm/sme: Reorg SME access handling in handle_msr_i() target/arm/sme: Rebuild hflags in set_pstate() helpers target/arm/sme: Introduce aarch64_set_svcr() target/arm/sme: Reset SVE state in aarch64_set_svcr() target/arm/sme: Reset ZA state in aarch64_set_svcr() target/arm/sme: Rebuild hflags in aarch64_set_svcr() target/arm/sme: Unify set_pstate() SM/ZA helpers as set_svcr() linux-user/aarch64/cpu_loop.c | 11 ++-------- linux-user/aarch64/signal.c | 13 ++--------- target/arm/cpu.h | 2 +- target/arm/helper-sme.h | 3 +-- target/arm/helper.c | 41 ++++++++++++++++++++++++++++++++--- target/arm/sme_helper.c | 37 ++----------------------------- target/arm/translate-a64.c | 19 ++++++---------- 7 files changed, 53 insertions(+), 73 deletions(-) -- 2.38.1
