[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1380799481-5470-4-git-send-email-leif.lindholm@linaro.org>
Date: Thu, 3 Oct 2013 12:24:41 +0100
From: Leif Lindholm <leif.lindholm@...aro.org>
To: linux-arm-kernel@...ts.infradead.org
Cc: linux-efi@...r.kernel.org, linux-kernel@...r.kernel.org,
matt.fleming@...el.com, grant.likely@...retlab.ca,
roy.franz@...aro.org, msalter@...hat.com,
Leif Lindholm <leif.lindholm@...aro.org>
Subject: [PATCH v2 3/3] init: efi: arm: enable (U)EFI runtime services on arm
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 <leif.lindholm@...aro.org>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists