[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 0/5] xen/arm: Merge early_printk function in console code



On Wed, 2014-03-12 at 16:44 +0000, Jan Beulich wrote:
> >>> On 12.03.14 at 16:31, Julien Grall <julien.grall@xxxxxxxxxx> wrote:
> > Hi Jan,
> > 
> > On 03/12/2014 03:15 PM, Jan Beulich wrote:
> >>>>> On 12.03.14 at 15:34, Julien Grall <julien.grall@xxxxxxxxxx> wrote:
> >>> This patch series aims to merge early printk in the console code. This 
> >>> will
> >>> avoid the developper to care whether the message is printed before or 
> >>> after
> >>> the console is initialized.
> >> 
> >> Is ARM setting up the console so much later than x86 that this is
> >> indeed warranted? IOW why can't you set up the console as early
> >> as x86 does, and drop all uses of early_{printk,panic}?
> > 
> > Because to set up the console, you need:
> >     - to partially parse the device tree to know which serial driver Xen
> > will have to use
> 
> This part I understand (but don't know how involved the parsing
> is).
> 
> >     - to relocate Xen and setup the xenheap pages
> 
> But this I don't understand - x86 does both after having set up
> the console.

The former (parsing) depends on the latter (heaps setup), because it has
to allocate.

Ian.

> 
> Jan
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.