Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: L2 cache has to be disabled in the efi boot case



Jared McNeill <jmcneill%invisible.ca@localhost> writes:

> Maybe we need to bring in this U-Boot patch from FreeBSD:
>
> https://svnweb.freebsd.org/ports/head/sysutils/u-boot-master/files/patch-lib_efi__loader_efi__boottime.c?revision=499100&view=markup

Nice. It does remove the need for my kernel patch. Here is the
equivalent patch for the version of u-boot in pkgsrc.

Still, cpu1 doesn't go online in EFI mode, but I'll leave that for
later.

Regards,
 Aymeric

$NetBSD$

--- lib/efi_loader/efi_boottime.c.orig	2018-11-14 16:10:06.000000000 +0000
+++ lib/efi_loader/efi_boottime.c
@@ -1838,6 +1838,8 @@ static efi_status_t EFIAPI efi_exit_boot
 
 	board_quiesce_devices();
 
+	cleanup_before_linux();
+
 	/* This stops all lingering devices */
 	bootm_disable_interrupts();
 


Home | Main Index | Thread Index | Old Index