linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel-parameters: document earlycon=xenboot
@ 2016-04-05  2:48 Chris Patterson
       [not found] ` <20160405134910.GA20327@char.us.oracle.com>
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
       [not found] ` <20160405134910.GA20327@char.us.oracle.com>
@ 2016-04-05 15:43   ` Chris Patterson
       [not found]     ` <20160405164202.GA8363@char.us.oracle.com>
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
       [not found]     ` <20160405164202.GA8363@char.us.oracle.com>
@ 2016-04-05 21:22       ` Chris Patterson
  2016-04-06  1:16       ` Stefano Stabellini
  1 sibling, 0 replies; 4+ 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] 4+ messages in thread

* Re: [Xen-devel] [PATCH] kernel-parameters: document earlycon=xenboot
       [not found]     ` <20160405164202.GA8363@char.us.oracle.com>
  2016-04-05 21:22       ` Chris Patterson
@ 2016-04-06  1:16       ` Stefano Stabellini
  1 sibling, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2016-04-06  1:17 UTC | newest]

Thread overview: 4+ 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
     [not found] ` <20160405134910.GA20327@char.us.oracle.com>
2016-04-05 15:43   ` [Xen-devel] " Chris Patterson
     [not found]     ` <20160405164202.GA8363@char.us.oracle.com>
2016-04-05 21:22       ` Chris Patterson
2016-04-06  1:16       ` Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).