]> www.infradead.org Git - users/dwmw2/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)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 16:50:19 +0000 (16:50 +0000)
commitce848378b999214777fa984a8a0a3e3deb1cf687
treee0b3d43535da0b22cce223fb32843eda9e939923
parent22bd244a1cf6fd95117f03004e8a1fc74a39311b
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>
target/arm/sve_helper.c