Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4231159yba; Wed, 17 Apr 2019 07:21:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMNbzvmDrJdXvF9/zsMg6MfOEVuqYDmC5Wawdv6sNgaZVxqjUrU0Brf6TN88JWJaI5I8Vl X-Received: by 2002:a63:ce50:: with SMTP id r16mr81508221pgi.89.1555510870058; Wed, 17 Apr 2019 07:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555510870; cv=none; d=google.com; s=arc-20160816; b=wmavCOprG8r34lZbKVmXDAERsgIHzaeYew5sSziSeng5XMsDDIaGP5zhaBNND+lDp8 mxVpIGIA+eWpab9xuOzmQwca6SeiGhn3STJVewc39+CoObAaMw1ikz/bV3xdenIWeidN neNe0DJIPVMQ8h4YaqnkrSFpwTb7n2eXCU2UL5lzsCb1Vkwux5uy4zTskZb4m879/T33 R/fsW+hfXQk/buaOj8TWVszb38Xj8bjYoDDSIhOBYzLZivJ8Ctn5CWokhfxAjUa/oX+/ 0IecgiopsI/1H4sZHwgE04ZhGb9jD19YS0zWfSkKSB2cQUE+lbMNXhrctl7lSiU0LEYR NHwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=RCn+2DnvatJwp/CwEst8yQukLyWyKAslJ1+uNjQoiyk=; b=hbvDlrTFPU3NJhp7bHF+ZrHcNH6YCmvFq2LgUVZE2cDF1aF52/T2g8tDhrNC5Og/va oaTglMIuJFndg+B8vY0k1xecI2qfaqwNQJArtHqj0JXlpqli2GVAqt75u7vMInbcvaAY b2NACGEz0y1zRFWgh4CHlHZigHlNF4gDGaVFrWLmIX06pyH+9oWn4tV0cxKzyOjNoMJX pFJdQfCqiCuHRImjCD3aVUl//hqe5fKmgvhXdWM+/PAoaBQOrjFMIyr/c3JyfaLpi3Xe 80zYS3H7A1a2ATcWN6ZPWU0sx3pRCluqtgqdY+Y853DcKFKdDiYtEQkx0i4VYXr2gV8G wd8g== 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 j8si46370397pgl.577.2019.04.17.07.20.55; Wed, 17 Apr 2019 07:21:10 -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 S1732362AbfDQOSL (ORCPT + 99 others); Wed, 17 Apr 2019 10:18:11 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:57562 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728335AbfDQOSL (ORCPT ); Wed, 17 Apr 2019 10:18:11 -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 6CE2B4406EA; Wed, 17 Apr 2019 17:18:08 +0300 (IDT) References: <20190417125153.2510262-1-arnd@arndb.de> User-agent: mu4e 1.0; emacs 26.1 From: Baruch Siach To: Arnd Bergmann Cc: arm@kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ARM: debug-ll: add default address for digicolor In-reply-to: <20190417125153.2510262-1-arnd@arndb.de> Date: Wed, 17 Apr 2019 17:18:08 +0300 Message-ID: <87zhoohg0v.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Wed, Apr 17 2019, 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 > --- > v2: fix physical address > > arch/arm/Kconfig.debug | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 6d6e0330930b..12c0d29b75e3 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -1677,6 +1677,7 @@ config DEBUG_UART_PHYS > default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4 > default 0xe8008000 if DEBUG_R7S72100_SCIF2 > default 0xf0000be0 if ARCH_EBSA110 > + default 0xf0100000 if DEBUG_DIGICOLOR_UA0 Should be 0xf0000000 for the physical address. > default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE > default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE > default 0xf7fc9000 if DEBUG_BERLIN_UART > @@ -1784,6 +1785,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 0xfe000000 if DEBUG_DIGICOLOR_UA0 Maybe you intended to change the virtual address to 0xf0100000? > DEFAULT 0xfe012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_ORION5X > default 0xfe017000 if DEBUG_MMP_UART2 > default 0xfe018000 if DEBUG_MMP_UART3 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 -