Skip to content

Commit e936265

Browse files
ardbiesheuveltrini
authored andcommitted
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 <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
1 parent 3fa914a commit e936265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/qemu_arm_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ CONFIG_USB=y
4747
CONFIG_DM_USB=y
4848
CONFIG_USB_EHCI_HCD=y
4949
CONFIG_USB_EHCI_PCI=y
50+
# CONFIG_EFI_GRUB_ARM32_WORKAROUND is not set

0 commit comments

Comments
 (0)