]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Check V7VE as well as LPAE in arm_pamax
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 19 Jun 2022 00:15:41 +0000 (17:15 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2022 10:18:17 +0000 (11:18 +0100)
commit59e1b8a22ea9f947d038ccac784de1020f266e14
treea0bd532283b2a545635bae5cc1d6affbfad6be45
parent22536b13247cf041b6dcabf0d708f486058989a9
target/arm: Check V7VE as well as LPAE in arm_pamax

In machvirt_init we create a cpu but do not fully initialize it.
Thus the propagation of V7VE to LPAE has not been done, and we
compute the wrong value for some v7 cpus, e.g. cortex-a15.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1078
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reported-by: He Zhe <zhe.he@windriver.com>
Message-id: 20220619001541.131672-3-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c