From: Leif Lindholm Date: Thu, 18 Jul 2019 21:46:57 +0100 Subject: [U-Boot] [RFC 1/1] efi_loader: usage of cleanup_before_linux() In-Reply-To: References: <20190718174616.5193-1-xypron.glpk@gmx.de> Message-ID: <20190718204657.GL2712@bivouac.eciton.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 18, 2019 at 08:53:01PM +0200, Alexander Graf wrote: > > On 18.07.19 19:46, Heinrich Schuchardt wrote: > > Always call cleanup_before_linux() on ARM 32bit during ExitBootServices(). > > > > This fixes a problem problem for booting BSD on ARM 32bit. > > > > Reported-by: Jonathan Gray > > Signed-off-by: Heinrich Schuchardt > > NAK. Instead this should never call cleanup_before_linux() and we declare > ourselves incompatible to old grub versions. That way we don't lure others > into believing you could boot with caches disabled in a UEFI world. Agreed. This is my fault by the way, for merging a loader in GRUB that was designed to be used without the linux EFI stub (way, waaaay back). Feel free to shout. As of GRUB 2.04 release (and cherry-picked into debian Buster before that), the 32-bit and 64-bit UEFI ports use the same loader. / Leif