Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371141 > unrolled thread

[PATCH] kernel-parameters: document earlycon=xenboot

Started byChris Patterson <cjp256@gmail.com>
First post2016-04-05 04:50 +0200
Last post2016-04-06 03:20 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] kernel-parameters: document earlycon=xenboot Chris Patterson <cjp256@gmail.com> - 2016-04-05 04:50 +0200
    Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot Chris Patterson <cjp256@gmail.com> - 2016-04-05 17:50 +0200
      Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot Chris Patterson <cjp256@gmail.com> - 2016-04-05 23:30 +0200
      Re: [Xen-devel] [PATCH] kernel-parameters: document  earlycon=xenboot Stefano Stabellini <sstabellini@kernel.org> - 2016-04-06 03:20 +0200

#1371141 — [PATCH] kernel-parameters: document earlycon=xenboot

FromChris Patterson <cjp256@gmail.com>
Date2016-04-05 04:50 +0200
Subject[PATCH] kernel-parameters: document earlycon=xenboot
Message-ID<rkpe1-4vv-1@gated-at.bofh.it>
Add earlycon=xenboot option to Documentation/kernel-parameters.txt.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 Documentation/kernel-parameters.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index ecc74fa..e01ec39 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1078,6 +1078,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 			address. The serial port must already be setup
 			and configured. Options are not yet supported.
 
+		xenboot	Use Xen hypervisor console for early console.
+
 	earlyprintk=	[X86,SH,BLACKFIN,ARM,M68k]
 			earlyprintk=vga
 			earlyprintk=efi
-- 
2.1.4

[toc] | [next] | [standalone]


#1371739 — Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot

FromChris Patterson <cjp256@gmail.com>
Date2016-04-05 17:50 +0200
SubjectRe: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
Message-ID<rkBoS-66v-13@gated-at.bofh.it>
In reply to#1371141
On Tue, Apr 5, 2016 at 9:49 AM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On Mon, Apr 04, 2016 at 10:48:11PM -0400, Chris Patterson wrote:
>> Add earlycon=xenboot option to Documentation/kernel-parameters.txt.
>>
>
> But it is not true.
>
> I tried this on x86: "earlycon=xenboot console=tty0"
>

I can investigate further, but hopefully Stefano can chime in more
definitively on what is supported.

I used "earlycon=xenboot console=hvc0" with success for dom0 on my
ARM64 platform.

[toc] | [prev] | [next] | [standalone]


#1371960 — Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot

FromChris Patterson <cjp256@gmail.com>
Date2016-04-05 23:30 +0200
SubjectRe: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
Message-ID<rkGHU-1Ji-29@gated-at.bofh.it>
In reply to#1371739
On Tue, Apr 5, 2016 at 12:42 PM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On Tue, Apr 05, 2016 at 11:43:36AM -0400, Chris Patterson wrote:
>> On Tue, Apr 5, 2016 at 9:49 AM, Konrad Rzeszutek Wilk
>> <konrad.wilk@oracle.com> wrote:
>> > On Mon, Apr 04, 2016 at 10:48:11PM -0400, Chris Patterson wrote:
>> >> Add earlycon=xenboot option to Documentation/kernel-parameters.txt.
>> >>
>> >
>> > But it is not true.
>> >
>> > I tried this on x86: "earlycon=xenboot console=tty0"
>> >
>>
>> I can investigate further, but hopefully Stefano can chime in more
>> definitively on what is supported.
>>
>> I used "earlycon=xenboot console=hvc0" with success for dom0 on my
>> ARM64 platform.
>
> Perhaps the documentation should also have [ARM], like some of the
> other ones?

Absolutely.  I will test some combinations and be explicit about what
should work in v2.  Thanks for the feedback.

Cheers,
-Chris

[toc] | [prev] | [next] | [standalone]


#1372122 — Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot

FromStefano Stabellini <sstabellini@kernel.org>
Date2016-04-06 03:20 +0200
SubjectRe: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
Message-ID<rkKiu-4nJ-9@gated-at.bofh.it>
In reply to#1371739
On Tue, 5 Apr 2016, Konrad Rzeszutek Wilk wrote:
> On Tue, Apr 05, 2016 at 11:43:36AM -0400, Chris Patterson wrote:
> > On Tue, Apr 5, 2016 at 9:49 AM, Konrad Rzeszutek Wilk
> > <konrad.wilk@oracle.com> wrote:
> > > On Mon, Apr 04, 2016 at 10:48:11PM -0400, Chris Patterson wrote:
> > >> Add earlycon=xenboot option to Documentation/kernel-parameters.txt.
> > >>
> > >
> > > But it is not true.
> > >
> > > I tried this on x86: "earlycon=xenboot console=tty0"

Was it a PV guest? Do you have SERIAL_EARLYCON enabled in your kconfig?
Does Xen allow DomU debug output via HYPERVISOR_console_io in your config?


> > I can investigate further, but hopefully Stefano can chime in more
> > definitively on what is supported.
> > 
> > I used "earlycon=xenboot console=hvc0" with success for dom0 on my
> > ARM64 platform.
> 
> Perhaps the documentation should also have [ARM], like some of the
> other ones?
> 

I don't recall whether I actually tested earlycon on x86, but looking at
the code it should work, at least for PV guests (you need to be able to
issue hypercalls and HVM guests cannot do that until they map the
hypercall page). 

In any case given that x86 has earlyprintk, specifying
xenboot as only available for ARM and ARM64 is also OK for me, but I
would prefer to keep it arch-independent given that earlycon is.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web