]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm/sme: Unify set_pstate() SM/ZA helpers as set_svcr()
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 12 Jan 2023 10:24:36 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Jan 2023 13:32:38 +0000 (13:32 +0000)
commit5c922ec5b136b452fe9d21e7581c99554ce650ed
treee7e63e1cd924e6d3da1c715e73f010c0bb3415e9
parentf4318557149184d6dac99e561acabcb602a84ee1
target/arm/sme: Unify set_pstate() SM/ZA helpers as set_svcr()

Unify the two helper_set_pstate_{sm,za} in this function.
Do not call helper_* functions from svcr_write.

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-8-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>
target/arm/helper-sme.h
target/arm/helper.c
target/arm/sme_helper.c
target/arm/translate-a64.c