hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/firmware/efi/efi.c
....@@ -87,7 +87,7 @@
8787
8888 struct workqueue_struct *efi_rts_wq;
8989
90
-static bool disable_runtime;
90
+static bool disable_runtime = IS_ENABLED(CONFIG_PREEMPT_RT_BASE);
9191 static int __init setup_noefi(char *arg)
9292 {
9393 disable_runtime = true;
....@@ -113,6 +113,9 @@
113113 if (parse_option_str(str, "noruntime"))
114114 disable_runtime = true;
115115
116
+ if (parse_option_str(str, "runtime"))
117
+ disable_runtime = false;
118
+
116119 return 0;
117120 }
118121 early_param("efi", parse_efi_cmdline);