summaryrefslogtreecommitdiff
path: root/patches/efi__Allow_efiruntime.patch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-07-07 22:23:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2021-07-07 22:39:49 +0200
commitc8eff2bb1abeaf5d911fd8a66aed24a549f639c4 (patch)
treefcd29fe7e619bd1533fd6a3a1fbffc13fbe709f6 /patches/efi__Allow_efiruntime.patch
parentc6725e2f14b523bba0f8fe4472a07aaf8681ad75 (diff)
downloadlinux-rt-c8eff2bb1abeaf5d911fd8a66aed24a549f639c4.tar.gz
[ANNOUNCE] v5.13-rt1
Dear RT folks! I'm pleased to announce the v5.13-rt1 patch set. Changes since v5.12-rc3-rt3: - Fast forward to v5.13 - Rework of the locking core bits - Rework of large parts of the mm bits. Thanks to Mel Gorman and Vlastimil Babka for picking this up and polishing it with -mm wizardry. - The latest respin of the printk overhaul from John Ogness - Patch queue reordered Known issues - config dependent build fails on ARM (also in plain v5.13) - netconsole triggers WARN. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v5.13-rt1 The RT patch against v5.13 can be found here: https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.13/patch-5.13-rt1.patch.xz The split quilt queue is available at: https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.13/patches-5.13-rt1.tar.xz Thanks, tglx Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'patches/efi__Allow_efiruntime.patch')
-rw-r--r--patches/efi__Allow_efiruntime.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/patches/efi__Allow_efiruntime.patch b/patches/efi__Allow_efiruntime.patch
new file mode 100644
index 000000000000..45857a11eb61
--- /dev/null
+++ b/patches/efi__Allow_efiruntime.patch
@@ -0,0 +1,32 @@
+Subject: efi: Allow efi=runtime
+From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+Date: Thu Jul 26 15:06:10 2018 +0200
+
+From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+
+In case the command line option "efi=noruntime" is default at built-time, the user
+could overwrite its state by `efi=runtime' and allow it again.
+
+Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+
+
+---
+ drivers/firmware/efi/efi.c | 3 +++
+ 1 file changed, 3 insertions(+)
+---
+diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
+index 85496063022d..abb18c958e3b 100644
+--- a/drivers/firmware/efi/efi.c
++++ b/drivers/firmware/efi/efi.c
+@@ -97,6 +97,9 @@ static int __init parse_efi_cmdline(char *str)
+ if (parse_option_str(str, "noruntime"))
+ disable_runtime = true;
+
++ if (parse_option_str(str, "runtime"))
++ disable_runtime = false;
++
+ if (parse_option_str(str, "nosoftreserve"))
+ set_bit(EFI_MEM_NO_SOFT_RESERVE, &efi.flags);
+