Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4154951yba; Wed, 17 Apr 2019 05:53:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3UKAQ76IiwZ+UiZ0OiMvk6vMbPeQ4AGpflQOThpRnMb1X8qjc106LRjCByUzQJV6rRytI X-Received: by 2002:a17:902:d68d:: with SMTP id v13mr89538350ply.55.1555505582248; Wed, 17 Apr 2019 05:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555505582; cv=none; d=google.com; s=arc-20160816; b=yvtMkeXGcn5Ykm6R0NDEb9pcd3YPGAZml5vD772FRHn/lPyEa7kZdykFJlnWe/NwyS noGB8HC6TXRdoEItrF30L6hmFJlKQmtYhhhlRU00nuiHIGcRNiVyAuIXTo6y9NR11VMp cNxgHpNGtR55gmKKsRfvBgINDeiLB471qFpoRAonZZRxmHG8NpJSlcRRxMEt5li+xa24 MD/VeZyihgYGg15ghdUCIy9YH6USQ0XooTOmFrXRJqilmWKZ3BJgJdECGLN+o5dQBXV5 k9GpHqa7B1agsvlER0MGzX+MzTBwigaeSM7ZGuNTMyOZ80iZAHRflufAl2Dt8rsYw8lB tj0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=cMeVsFrgR5TEBv9Vb0bGwhd7cTIny/CqvL30XSr7i54=; b=lMyEXDi334ANXkc6o1U8hEavdjpINF9Y/KfgT/gqrT1NW5YweLTUqI/BYMp7au1Czj XYOlxiZOQH/jIZpdjt43B7Gt/s8R+4EeABvpYqYXx5j+Xim1ihTV46h1oKzwm73tdfnM Ymr8C2K29yGhmGjVNVxLkYM+VYPUVffzQCFaKuZ0b5Hbc/BnclmgUKIVaFeU9ZXd5k1d 42erBNThnxDx//EkvFfSqm/rdDQRaQETwVZRI64jyxRAfiWHMop3iBA2iJLwnOTfXZwr O2/aT4e12bhh8daGc3dPhM+1dzTyWYpTp2D66fRC44hon9gPs4lPYcXQgmxGRk2buM/4 iNyw== 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 l71si33878059pge.428.2019.04.17.05.52.46; Wed, 17 Apr 2019 05:53:02 -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 S1731454AbfDQMul (ORCPT + 99 others); Wed, 17 Apr 2019 08:50:41 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:32912 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729318AbfDQMuk (ORCPT ); Wed, 17 Apr 2019 08:50:40 -0400 Received: by mail-qk1-f195.google.com with SMTP id k189so14236468qkc.0 for ; Wed, 17 Apr 2019 05:50:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cMeVsFrgR5TEBv9Vb0bGwhd7cTIny/CqvL30XSr7i54=; b=hgTGgvJ8HLos3Nzjcj7BZrqG/kf9jk9/RNvSupqzYhaz978jXjlIhYz+cYHvrJb4Rh FjKtmr1kxfS4wngVJRNmxetmon90KXoHYaODo5oe7xzPrwJoUP9pcHSMrmslhcdDnIxA MgaSffVkVGj8hdDrbQcEBjG36DZFkE0kPI0Nfu3GkHmGncXPXcXbggIBvOHX9ugIH7ct B0aGt6o8uvvaLcBHuTqf9OVXkWZh3RRL9DN541TA47dP4vnz/0VOdZk9sl3ftCXqLpSp UO4Twc3LFkn3iOukSZ8jLWjl20gIdOLmVEMZsMI3FeDIbQvFvLpsSbQ0W256eofLgW6K QXBA== X-Gm-Message-State: APjAAAUbaRukM/+wJe+R5tRIe0aHdhE2HttMIuUyI4LxdvIRiOvJa08Z aBbzRsPiw6qKudkJLMDUggG6Fm/oUxLmUbHlkCN0KP2x X-Received: by 2002:a05:620a:148d:: with SMTP id w13mr69282752qkj.6.1555505439497; Wed, 17 Apr 2019 05:50:39 -0700 (PDT) MIME-Version: 1.0 References: <20190416131746.1303495-1-arnd@arndb.de> <20190417041250.nbqy2ltjw77wlnts@tarshish> In-Reply-To: <20190417041250.nbqy2ltjw77wlnts@tarshish> From: Arnd Bergmann Date: Wed, 17 Apr 2019 14:50:22 +0200 Message-ID: Subject: Re: [PATCH] ARM: debug-ll: add default address for digicolor To: Baruch Siach Cc: arm-soc , Linux ARM , Russell King , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 6:12 AM Baruch Siach wrote: > 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. Ok, fixed. > > 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. Ok, using that now. It shouldn't matter either way here, we only care about that there is nothing else at that address. Arnd