diff options
| author | Richard Henderson | 2022-03-01 22:59:58 +0100 |
|---|---|---|
| committer | Peter Maydell | 2022-03-07 15:32:21 +0100 |
| commit | 0942820408dc788560f6968e9b5f011803b846c2 (patch) | |
| tree | 455438f799c23504eca41bab6ae61b22ce4a190a /include | |
| parent | target/arm: Provide cpu property for controling FEAT_LPA2 (diff) | |
| download | qemu-0942820408dc788560f6968e9b5f011803b846c2.tar.gz qemu-0942820408dc788560f6968e9b5f011803b846c2.tar.xz qemu-0942820408dc788560f6968e9b5f011803b846c2.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/arm/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index c1ea17d0de..7e76ee2619 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -132,6 +132,7 @@ struct VirtMachineClass { bool no_secure_gpio; /* Machines < 6.2 have no support for describing cpu topology to guest */ bool no_cpu_topology; + bool no_tcg_lpa2; }; struct VirtMachineState { |
