Skip to contentSkip to conversation

x86/boot: properly "ignore" early evaluated "no-real-mode"

PATCH In review Jan Beulich 2 participants 2 messages Sep 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/boot: properly "ignore" early evaluated "no-real-mode"

The option parser takes off "no-" prefixes before matching, so they also shouldn't be specified to match against.

Fixes e44d98608476 ("x86/setup: Ignore early boot parameters like no-real-mode")
xen/arch/x86/setup.c +1 -1
@@ -692,7 +692,7 @@ static void __init noreturn reinit_bsp_s
  * has options that are only used during the very initial boot process,
  * so they can be ignored now.
  */
-ignore_param("no-real-mode");
+ignore_param("real-mode");
 ignore_param("edd");
 ignore_param("edid");
 
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jan Beulich

The option parser takes off "no-" prefixes before matching, so they also shouldn't be specified to match against.

Fixes e44d98608476 ("x86/setup: Ignore early boot parameters like no-real-mode")

Oops.

Quoted 13 lines
xen/arch/x86/setup.c +1 -1
@@ -692,7 +692,7 @@ static void __init noreturn reinit_bsp_s
  * has options that are only used during the very initial boot process,
  * so they can be ignored now.
  */
-ignore_param("no-real-mode");
+ignore_param("real-mode");
 ignore_param("edd");
 ignore_param("edid");