projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf330a
)
xen/x86: allow "earlyprintk=xen" to work for PV Dom0
author
Jan Beulich
<jbeulich@suse.com>
Thu, 30 Sep 2021 12:18:12 +0000
(14:18 +0200)
committer
Juergen Gross
<jgross@suse.com>
Tue, 5 Oct 2021 06:36:02 +0000
(08:36 +0200)
With preferred consoles "tty" and "hvc" announced as preferred,
registering "xenboot" early won't result in use of the console: It also
needs to be registered as preferred. Generalize this from being DomU-
only so far.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link:
https://lore.kernel.org/r/d4a34540-a476-df2c-bca6-732d0d58c5f0@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pv.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/enlighten_pv.c
b/arch/x86/xen/enlighten_pv.c
index e46953249e397ddbe0d2d827b62368d2823a48ea..b1c0e06dcaa820b5c32d37dd0511b9b413717deb 100644
(file)
--- a/
arch/x86/xen/enlighten_pv.c
+++ b/
arch/x86/xen/enlighten_pv.c
@@
-1348,7
+1348,6
@@
asmlinkage __visible void __init xen_start_kernel(void)
boot_params.hdr.hardware_subarch = X86_SUBARCH_XEN;
if (!xen_initial_domain()) {
- add_preferred_console("xenboot", 0, NULL);
if (pci_xen)
x86_init.pci.arch_init = pci_xen_init;
x86_platform.set_legacy_features =
@@
-1393,6
+1392,7
@@
asmlinkage __visible void __init xen_start_kernel(void)
#endif
}
+ add_preferred_console("xenboot", 0, NULL);
if (!boot_params.screen_info.orig_video_isVGA)
add_preferred_console("tty", 0, NULL);
add_preferred_console("hvc", 0, NULL);