All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel-parameters: document earlycon=xenboot
@ 2016-04-05  2:48 Chris Patterson
  2016-04-05 13:49 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Patterson @ 2016-04-05  2:48 UTC (permalink / raw)
  To: corbet
  Cc: linux-doc, linux-kernel, xen-devel, stefano.stabellini, Chris Patterson

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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05  2:48 [PATCH] kernel-parameters: document earlycon=xenboot Chris Patterson
@ 2016-04-05 13:49 ` Konrad Rzeszutek Wilk
  2016-04-05 15:43   ` Chris Patterson
  2016-04-05 15:43   ` [Xen-devel] " Chris Patterson
  0 siblings, 2 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-04-05 13:49 UTC (permalink / raw)
  To: Chris Patterson
  Cc: xen-devel, stefano.stabellini, linux-doc, linux-kernel, corbet

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"

And nothing from Linux came during earlyboot to the Xen console?

> 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
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 13:49 ` Konrad Rzeszutek Wilk
  2016-04-05 15:43   ` Chris Patterson
@ 2016-04-05 15:43   ` Chris Patterson
  2016-04-05 16:42     ` Konrad Rzeszutek Wilk
  1 sibling, 1 reply; 10+ messages in thread
From: Chris Patterson @ 2016-04-05 15:43 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Jonathan Corbet, xen-devel, Stefano Stabellini, linux-kernel, linux-doc

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 13:49 ` Konrad Rzeszutek Wilk
@ 2016-04-05 15:43   ` Chris Patterson
  2016-04-05 15:43   ` [Xen-devel] " Chris Patterson
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Patterson @ 2016-04-05 15:43 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: xen-devel, Stefano Stabellini, linux-doc, linux-kernel, Jonathan Corbet

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 15:43   ` [Xen-devel] " Chris Patterson
@ 2016-04-05 16:42     ` Konrad Rzeszutek Wilk
  2016-04-05 21:22       ` Chris Patterson
                         ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-04-05 16:42 UTC (permalink / raw)
  To: Chris Patterson
  Cc: xen-devel, Stefano Stabellini, linux-doc, linux-kernel, Jonathan Corbet

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?

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 16:42     ` Konrad Rzeszutek Wilk
  2016-04-05 21:22       ` Chris Patterson
@ 2016-04-05 21:22       ` Chris Patterson
  2016-04-06  1:16       ` Stefano Stabellini
  2016-04-06  1:16       ` Stefano Stabellini
  3 siblings, 0 replies; 10+ messages in thread
From: Chris Patterson @ 2016-04-05 21:22 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Jonathan Corbet, xen-devel, Stefano Stabellini, linux-kernel, linux-doc

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 16:42     ` Konrad Rzeszutek Wilk
@ 2016-04-05 21:22       ` Chris Patterson
  2016-04-05 21:22       ` [Xen-devel] " Chris Patterson
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Chris Patterson @ 2016-04-05 21:22 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: xen-devel, Stefano Stabellini, linux-doc, linux-kernel, Jonathan Corbet

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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 16:42     ` Konrad Rzeszutek Wilk
  2016-04-05 21:22       ` Chris Patterson
  2016-04-05 21:22       ` [Xen-devel] " Chris Patterson
@ 2016-04-06  1:16       ` Stefano Stabellini
  2016-04-08 14:41         ` Konrad Rzeszutek Wilk
  2016-04-06  1:16       ` Stefano Stabellini
  3 siblings, 1 reply; 10+ messages in thread
From: Stefano Stabellini @ 2016-04-06  1:16 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Chris Patterson, xen-devel, Stefano Stabellini, linux-doc,
	linux-kernel, Jonathan Corbet

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-05 16:42     ` Konrad Rzeszutek Wilk
                         ` (2 preceding siblings ...)
  2016-04-06  1:16       ` Stefano Stabellini
@ 2016-04-06  1:16       ` Stefano Stabellini
  3 siblings, 0 replies; 10+ messages in thread
From: Stefano Stabellini @ 2016-04-06  1:16 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk
  Cc: Jonathan Corbet, Chris Patterson, linux-doc, linux-kernel,
	xen-devel, Stefano Stabellini

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] kernel-parameters: document earlycon=xenboot
  2016-04-06  1:16       ` Stefano Stabellini
@ 2016-04-08 14:41         ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 10+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-04-08 14:41 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: Jonathan Corbet, Chris Patterson, linux-doc, linux-kernel,
	xen-devel, Stefano Stabellini

On Tue, Apr 05, 2016 at 06:16:35PM -0700, Stefano Stabellini wrote:
> 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?

Yes, dom0 in fact.
> Does Xen allow DomU debug output via HYPERVISOR_console_io in your config?

Yes. That works.
> 
> 
> > > 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.

/me nods.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-08 14:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05  2:48 [PATCH] kernel-parameters: document earlycon=xenboot Chris Patterson
2016-04-05 13:49 ` Konrad Rzeszutek Wilk
2016-04-05 15:43   ` Chris Patterson
2016-04-05 15:43   ` [Xen-devel] " Chris Patterson
2016-04-05 16:42     ` Konrad Rzeszutek Wilk
2016-04-05 21:22       ` Chris Patterson
2016-04-05 21:22       ` [Xen-devel] " Chris Patterson
2016-04-06  1:16       ` Stefano Stabellini
2016-04-08 14:41         ` Konrad Rzeszutek Wilk
2016-04-06  1:16       ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.