]> git.baikalelectronics.ru Git - uboot.git/commit
arm: qemu: disable the EFI workaround for older GRUB
authorArd Biesheuvel <ardb@kernel.org>
Tue, 7 Jul 2020 10:07:10 +0000 (12:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commit9815f7dcf5ba88011b87b7dc95f3761f7c9f341f
tree344ed5bf7d8ec97a1671cb2fe59947c30cc0142c
parent8106234bf0e37a6df7d4b05a3c02173932fc855d
arm: qemu: disable the EFI workaround for older GRUB

The QEMU/mach-virt targeted port of u-boot currently only runs on
QEMU under TCG emulation, which does not model the caches at all,
and so no users can exist that are relying on the GRUB hack for
EFI boot.

We will shortly enable support for running under KVM, but the GRUB
hack (which disables all caches without doing cache cleaning by VA
during ExitBootServices()) is likely to cause more problems than it
solves, given that KVM hosts require correct maintenance if they
incorporate non-architected system caches.

So let's disable the GRUB hack by default on the QEMU/mach-virt
port.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
configs/qemu_arm_defconfig