[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
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 - to relocate Xen and setup the xenheap pages For the latter, some part is common code which use printk. So if an error occurred, the user will never see the log. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |