From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 29 Jul 2020 09:43:56 -0400 Subject: [PATCH v3 4/5] arm: qemu: disable the EFI workaround for older GRUB In-Reply-To: <20200707100711.7446-5-ardb@kernel.org> References: <20200707100711.7446-1-ardb@kernel.org> <20200707100711.7446-5-ardb@kernel.org> Message-ID: <20200729134356.GR6965@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 07, 2020 at 12:07:10PM +0200, Ard Biesheuvel wrote: > 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 > Reviewed-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: