Thread (14 messages) 14 messages, 6 authors, 2013-11-15
STALE4610d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 3/3] init: efi: arm: enable (U)EFI runtime services on arm

From: Leif Lindholm <hidden>
Date: 2013-10-03 11:26:24
Also in: linux-efi, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Since the efi_set_virtual_address_map call has strict init ordering
requirements, add an explicit hook in the required place.

Signed-off-by: Leif Lindholm <redacted>
---
 init/main.c |    4 ++++
 1 file changed, 4 insertions(+)
diff --git a/init/main.c b/init/main.c
index af310af..ec6d76e 100644
--- a/init/main.c
+++ b/init/main.c
@@ -875,6 +875,10 @@ static noinline void __init kernel_init_freeable(void)
 	smp_prepare_cpus(setup_max_cpus);
 
 	do_pre_smp_initcalls();
+
+	if (IS_ENABLED(CONFIG_ARM) && efi_enabled(EFI_BOOT))
+		efi_enter_virtual_mode();
+
 	lockup_detector_init();
 
 	smp_init();
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help