From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH for-4.5 1/4] xen: arm: Add earlyprintk for McDivitt. Date: Wed, 19 Nov 2014 10:02:49 +0000 Message-ID: <546C6AC9.7080908@linaro.org> References: <1416329045.17982.27.camel@citrix.com> <1416329088-23328-1-git-send-email-ian.campbell@citrix.com> <546B7B02.6050104@linaro.org> <1416390860.29243.10.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1416390860.29243.10.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org, Clark Laughlin , Pranavkumar Sawargaonkar List-Id: xen-devel@lists.xenproject.org Hi, On 19/11/2014 09:54, Ian Campbell wrote: > On Tue, 2014-11-18 at 16:59 +0000, Julien Grall wrote: >> Hi Ian, >> >> On 11/18/2014 04:44 PM, Ian Campbell wrote: >>> Signed-off-by: Ian Campbell >>> --- >>> xen/arch/arm/Rules.mk | 6 ++++++ >>> 1 file changed, 6 insertions(+) >>> >>> diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk >>> index 572d854..ef887a5 100644 >>> --- a/xen/arch/arm/Rules.mk >>> +++ b/xen/arch/arm/Rules.mk >>> @@ -95,6 +95,12 @@ EARLY_PRINTK_BAUD := 115200 >>> EARLY_UART_BASE_ADDRESS := 0x1c020000 >>> EARLY_UART_REG_SHIFT := 2 >>> endif >>> +ifeq ($(CONFIG_EARLY_PRINTK), xgene-mcdivitt) >>> +EARLY_PRINTK_INC := 8250 >>> +EARLY_PRINTK_BAUD := 9600 >> >> EARLY_PRINTK_BAUD is not necessary as we don't use the initialization >> function (EARLY_PRINTK_INIT_UART is not set). > > Oh yes, oops. Also the baud is not even what is actually used, so it's > not even serving a documentary purpose. > >> With the EARLY_PRINTK_BAUD dropped, this could be merged with the >> xgene-storm early printk > > It's at a different base address. Long term I either want to make this > (somewhat) runtime configurable or at least to rationalise the options > into the form -uart, or perhaps even <8250|pl011| > etc>@
[,], if it's not to skanky to arrange to > parse that somewhere in the build system. Not for 4.5 though. > You mean the patch generally or the merging? I meant rationalise the number of early printk. This patch looks fine for me. Regards, -- Julien Grall