OSDN Git Service

hw/arm/virt: Disable LPA2 for -machine virt-6.2
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Mar 2022 21:59:58 +0000 (11:59 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Mar 2022 14:32:21 +0000 (14:32 +0000)
commit0942820408dc788560f6968e9b5f011803b846c2
tree455438f799c23504eca41bab6ae61b22ce4a190a
parent69b2265d5fe8e0f401d75e175e0a243a7d505e53
hw/arm/virt: Disable LPA2 for -machine virt-6.2

There is a Linux kernel bug present until v5.12 that prevents
booting with FEAT_LPA2 enabled.  As a workaround for TCG,
disable this feature for machine versions prior to 7.0.

Cc: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c
include/hw/arm/virt.h