Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4460548imm; Wed, 30 May 2018 06:10:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJYGi3eBaZjXNrb19rImOLb3Cjs/vesDG/F96u3obQtLckZpKtcmddCC5ygs1/RSS0Qmu5z X-Received: by 2002:a63:7145:: with SMTP id b5-v6mr2230960pgn.45.1527685800767; Wed, 30 May 2018 06:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527685800; cv=none; d=google.com; s=arc-20160816; b=QS72zlayB9WrVvDaqHuUk0KXXcCO2VyhaajHjMbiFUqLAYCY5i1n0QfWrGKdsBgini ibifIT4o8nK1mWIDASqHa0vT3y6buN05Ty3/G0PSLuS1y0IO2kaVBZ+KGEXHbHire+OH byaaPnkr4qFK43PJb00rUXS77SieCqkt1MqtgFAjtoj/udjLhdori7WVhtpTXzE9XYZF 4BL7JdQhqj916jOb1/sMNBQDXREunrPcwn19RxEUqNjx4XPU7BT2zWp18VQDrEpKM+fl mlsS7fbbSkZKA36V2GnXnD62jnrLz0A6ADbBMqfjJMiNXINPSfSjO4wZhgisp9R7p/gR jfgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=m+VSkWfnDKXYYETF2JnR0MJBB0ZjPw0hWJqF0pI9up4=; b=OQR9UUCx4qjkHzVKyP76zoL7t9/ra+tgdI2qUK14FTR2Y0bxMMUREJMu6ITvwYjckt IuJfMSVmYcUtF4P/JF6CHdOz7k0SWSfpOnjB6H7emp4Z6IuBHqrsxiIJvZsOy5eVX1gU ZSNmg8SIQbdlHpeQHOvpLs5a9+rM/J04DT2uc4ur9M99g1NzZxvnIsgs+gUTEmR7qEQ+ wvBfSa8/XtzchDIfO8fjJMPPVK4fISU7pwbCWz2QwbHX06yynqPC+apUQr3/FIXlG2bP lvV2SfUs5ba630kfsKuv36/kmHA/VU+/Qu+Teg5nAA9kwGb5UYmYRcNcaNPaFcwc5jt/ ir6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62-v6si4268278pgc.78.2018.05.30.06.09.46; Wed, 30 May 2018 06:10:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753387AbeE3NHt (ORCPT + 99 others); Wed, 30 May 2018 09:07:49 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:33943 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753313AbeE3NHp (ORCPT ); Wed, 30 May 2018 09:07:45 -0400 Received: from sapphire.tkos.co.il (unknown [10.0.4.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id A3E84440522; Wed, 30 May 2018 16:07:43 +0300 (IDT) Date: Wed, 30 May 2018 16:07:42 +0300 From: Baruch Siach To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Florian Fainelli , linux-arm-kernel@lists.infradead.org, Scott Branden , Tony Lindgren , Ray Jui , Russell King , linux-kernel@vger.kernel.org, Jon Mason , =?utf-8?Q?Cl=C3=A9ment?= Peron , BCM Kernel Feedback , Laura Abbott Subject: Re: [PATCH] ARM: debug: Add Iproc UART3 debug addresses Message-ID: <20180530130742.pwffhb3iysj7auho@sapphire.tkos.co.il> References: <20180530122922.1041-1-peron.clem@gmail.com> <20180530123809.khyzehg62ct6jzws@sapphire.tkos.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Cl?ment, On Wed, May 30, 2018 at 02:55:28PM +0200, Cl?ment P?ron wrote: > On Wed, 30 May 2018 at 14:47, Baruch Siach wrote: > > On Wed, May 30, 2018 at 02:29:22PM +0200, Cl?ment P?ron wrote: > > > From: Cl?ment Peron > > > > > > Broadcom Iproc SoCs typically use the UART3 for > > > debug/console, provide a known good location for that. > > > > > > Signed-off-by: Cl?ment Peron > > > --- > > > arch/arm/Kconfig.debug | 12 +++++++++++- > > > 1 file changed, 11 insertions(+), 1 deletion(-) > > > > > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > > > index 199ebc1c4538..fa6fa1dae94d 100644 > > > --- a/arch/arm/Kconfig.debug > > > +++ b/arch/arm/Kconfig.debug > > > @@ -207,6 +207,14 @@ choice > > > depends on ARCH_BCM_HR2 > > > select DEBUG_UART_8250 > > > > > > + config DEBUG_BCM_IPROC_UART3 > > > + bool "Kernel low-level debugging on BCM IPROC UART3" > > > + depends on ARCH_BCM_CYGNUS > > > + select DEBUG_UART_8250 > > > + help > > > + Say Y here if you want the debug print routines to > direct > > > + their output to the third serial port on these devices. > > > + > > > config DEBUG_BCM_KONA_UART > > > bool "Kernel low-level debugging messages via BCM KONA > UART" > > > depends on ARCH_BCM_MOBILE > > > @@ -1564,6 +1572,7 @@ config DEBUG_UART_PHYS > > > default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 > > > default 0x20201000 if DEBUG_BCM2835 > > > default 0x3f201000 if DEBUG_BCM2836 > > > + default 0x18023000 if DEBUG_BCM_IPROC_UART3 > > > Entries are sorted by the address value. Except that DEBUG_BCM_KONA_UART > > should be listed above DEBUG_BCM2836. > > Indeed, can I fix the DEBUG_BCM_KONA_UART entry in the same commit ? That is an unrelated fix, so a separate patch is preferred. baruch > > > default 0x3e000000 if DEBUG_BCM_KONA_UART > > > default 0x4000e400 if DEBUG_LL_UART_EFM32 > > > default 0x40028000 if DEBUG_AT91_SAMV7_USART1 > > > @@ -1730,6 +1739,7 @@ config DEBUG_UART_VIRT > > > default 0xfe018000 if DEBUG_MMP_UART3 > > > default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART > > > default 0xfe230000 if DEBUG_PICOXCELL_UART > > > + default 0xf1023000 if DEBUG_BCM_IPROC_UART3 > > > Same here. > > > > default 0xfe300000 if DEBUG_BCM_KONA_UART > > > default 0xfe800000 if ARCH_IOP32X > > > default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART > > > @@ -1791,7 +1801,7 @@ config DEBUG_UART_8250_WORD > > > DEBUG_KEYSTONE_UART0 || DEBUG_KEYSTONE_UART1 || \ > > > DEBUG_ALPINE_UART0 || \ > > > DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ > > > - DEBUG_DAVINCI_DA8XX_UART2 || \ > > > + DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_BCM_IPROC_UART3 || \ > > > DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -