* 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread