Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3816928yba; Tue, 16 Apr 2019 21:14:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGOetnb7E4IaF1ORy5ZDd3DhjW/tmkvcTmsV/3DF1FA6wz6L7iUgpk6jS94qJ7es634pDQ X-Received: by 2002:a17:902:854c:: with SMTP id d12mr39917214plo.150.1555474440361; Tue, 16 Apr 2019 21:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555474440; cv=none; d=google.com; s=arc-20160816; b=BuzfKHlEVL4cVcqPmPXSP/JFpxSFvKunN+jimDG4of8ZI5vqZ43VPz2AqLV1q7wjO8 wUG4BLAU/KTdC1Q2RcsMlJv5l5mSmwhDBRAenF2iBj0QV59bfGpzNk4BY/PTNq0AZwr/ +oTVXBaiqca1WhKUvuKE289XD8aAAq/bvqnTzMNzMR3857ubKjPuiap00sk5xyewvstg S4CYVjeQpuooroWpGnlPTiM5alVKOtBJpz9rxiFKWNIS9S5+N0iLk7W3RZhZjeFgrxOW MmpEb9nFoPikVxnnQehnNGDk3ecgTGDzUpqvDabGj7fvfej3Zqwio7kL7THAly3QUhPt hSKg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Ygos+rQNKlZOYbi25KfcSLnoOomQQIfSsM7rMABMUbI=; b=hmhqyoMKI5c8tZEawKQ5GClcQymtp+yi/7VSYURrQ63Gyeaicem45n2H+viCegA3gs 99MvJwxV/Ihu1arOkHBhbi3XbIkpBDYpsKgjP6r22LqpwvvDblRugRZutlIOd+rY8YAM u2A53TUQs4W2wiSnHtmZp5JJhyztqmoXLGE4l9wlj4WROaJqEUSGBfAHnAvtFruuK3sj Ym0ZZK+WqrWOXAfssk0O4U1zEoGIJML2Usuxj8hgQVoF2ZJsGT434OcR4Eezmwguwj++ 9VajNAbZOWIx040jM6capTgEp91HU9Ie0mSffE+YAuw2Z0NH5SUceY1j562GBU8vFrNu oP3Q== 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 v28si16984584pgn.357.2019.04.16.21.13.45; Tue, 16 Apr 2019 21:14: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 S1725957AbfDQEMz (ORCPT + 99 others); Wed, 17 Apr 2019 00:12:55 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:57528 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725844AbfDQEMz (ORCPT ); Wed, 17 Apr 2019 00:12:55 -0400 Received: from tarshish (unknown [10.0.8.2]) (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 0B4F84403CA; Wed, 17 Apr 2019 07:12:52 +0300 (IDT) Date: Wed, 17 Apr 2019 07:12:50 +0300 From: Baruch Siach To: Arnd Bergmann Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: debug-ll: add default address for digicolor Message-ID: <20190417041250.nbqy2ltjw77wlnts@tarshish> References: <20190416131746.1303495-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416131746.1303495-1-arnd@arndb.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Tue, Apr 16, 2019 at 03:17:30PM +0200, Arnd Bergmann wrote: > The digicolor platform has three UARTs, but the Kconfig.debug > file explicitly lists port zero as the one to be used for the > console, while not providing any default values. > > This can get an automated randconfig build stuck in a loop > waiting for the user to input the number. As we already know > the physical address, this patch provides that number as > default, along with a reasonable default value for the virtual > address. > > Cc: Baruch Siach > Signed-off-by: Arnd Bergmann > --- > arch/arm/Kconfig.debug | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index a8a1e14f20ab..e5f0b36d797f 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -1676,6 +1676,7 @@ config DEBUG_UART_PHYS > default 0xe6e68000 if DEBUG_RCAR_GEN2_SCIF1 > default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4 > default 0xe8008000 if DEBUG_R7S72100_SCIF2 > + default 0xf0000740 if DEBUG_DIGICOLOR_UA0 The addruart macro in arch/arm/include/debug/digicolor.S adds the 0x740 offset. So CONFIG_DEBUG_UART_PHYS should be 0xf0000000. > default 0xf0000be0 if ARCH_EBSA110 > default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE > default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE > @@ -1785,6 +1786,7 @@ config DEBUG_UART_VIRT > default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0 > default 0xfd883000 if DEBUG_ALPINE_UART0 > default 0xfde12000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_DOVE > + default 0xfe000740 if DEBUG_DIGICOLOR_UA0 The value I used when testing used to be 0xf0100000. > default 0xfe012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_ORION5X > default 0xfe017000 if DEBUG_MMP_UART2 > default 0xfe018000 if DEBUG_MMP_UART3 Thanks, baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -