[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111118180500.GA19469@phenom.dumpdata.com>
Date: Fri, 18 Nov 2011 13:05:00 -0500
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To: annie li <annie.li@...cle.com>
Cc: Ian Campbell <Ian.Campbell@...rix.com>,
"jeremy@...p.org" <jeremy@...p.org>,
"xen-devel@...ts.xensource.com" <xen-devel@...ts.xensource.com>,
"kurt.hackel@...cle.com" <kurt.hackel@...cle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paul Durrant <Paul.Durrant@...rix.com>
Subject: Re: [Xen-devel] Re: [PATCH 2/3] xen/granttable: Grant tables V2
implementation
> So we have two candidates:
> xen_raw_printk + panic
> panic + earlyprintk=xen
>
> If panic does work with earlyprintk, then the latter one is better.
> Otherwise, there will be duplicated string printed out with
> 'earlyprintk=xen'.
The idea is just to have one function. Whichever prints the
string and panics the machine. If 'panic' does this properly
(and properly meaning it actually prints data when using
the earlyprintk=xen as well as console=hvc0) printout system
the we cuold just use 'panic' and not worry about it.
But if it does not, then we (and by we I mean you) should
provide a variant of panic() that prints the data properly using the
earlprintk mechanism. Preferrabily to make it generic.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists