]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/sme: Reset SVE state in aarch64_set_svcr()
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 12 Jan 2023 10:24:33 +0000 (11:24 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 29 Jul 2025 17:15:11 +0000 (20:15 +0300)
commit4f50e20ec33d363816bd2ef43483060785d3f5af
treee8387b2cc58d4c6fd5a5c4ebd91454757d8f3467
parenta2f3bbf35e3a1b82ad6bc0fd612e43245a255995
target/arm/sme: Reset SVE state in aarch64_set_svcr()

Move arm_reset_sve_state() calls to aarch64_set_svcr().

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230112102436.1913-5-philmd@linaro.org
Message-Id: <20230112004322.161330-1-richard.henderson@linaro.org>
[PMD: Split patch in multiple tiny steps]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 7f2a01e7368f960fadea38f437d0f6de7f249686)
(Mjt: re-apply v7.2.15-32-g3559e90146d8 (v9.2.0-1311-g1edc3d43f20d)
 "target/arm: arm_reset_sve_state() should set FPSR, not FPCR"
 on top of this one, as it's been picked up for 7.2.x series earlier
 with adjustments for this change)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/aarch64/cpu_loop.c
linux-user/aarch64/signal.c
target/arm/cpu.h
target/arm/helper.c
target/arm/sme_helper.c