]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix sve_probe_page
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Jan 2023 19:00:56 +0000 (11:00 -0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Mar 2023 07:20:04 +0000 (10:20 +0300)
commitde605876ebda47fc56298576b13acbdfc55732fc
tree5325608e505969f08de5350451ab161e6d6bf345
parentf549ee8c258cc599024cd38126da206352d18c7b
target/arm: Fix sve_probe_page

Don't dereference CPUTLBEntryFull until we verify that
the page is valid.  Move the other user-only info field
updates after the valid check to match.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1412
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230104190056.305143-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit ce848378b999214777fa984a8a0a3e3deb1cf687)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/sve_helper.c