Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1289657rdb; Fri, 1 Dec 2023 11:53:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKylnhyLini4IgZhZTZSYoJd5b74bHs1gQOHv5BQe0lqQ1dVkNchLUQLTherQ0lPVAew/i X-Received: by 2002:a17:902:c407:b0:1cf:8ebd:4eae with SMTP id k7-20020a170902c40700b001cf8ebd4eaemr76780plk.69.1701460404997; Fri, 01 Dec 2023 11:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701460404; cv=none; d=google.com; s=arc-20160816; b=0C6zDSkN9yvnKUub0bOOAEbTQqCby6BwN1Hbbju9ajjUj9HiNEH+XKJN1YbUZx7M6t z+jcYaxFdU0GY7Oiq90MunJWyeU+NeMxIl7/6V8TOFKg93GkbdnR2DA/y3Dl1KRX+Ipl NiHtu9pUMajgCIfAsJp9GXtqMMb1+snfu6vNHV4HkStvbBs4eoJN5rEsTuxS3hm8SDr4 Sv6FQTPwFTHXDtLBX35VAubYUhyW2w+cRZBG3gHamI5dQRV+I5MjNeE3xyNh89rXlcLC bAROAvkODrnIemnUEILT5wOLpdKxauk0jXB+GG8RZKtQavWmGJg1oGxLcVs2ebpO6FQi +HAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=GZCffOUWATnvR/fywmfXQ+aDyAPF+nIodhTtguC32Bk=; fh=Oo0rkJIRDXcE92HCFVL86ORRnqUf4sCBVFFB9n3BZh0=; b=qx0CsUORScUaAbXkWPXnl0bZTFADJNZVesijK+x8spmTGYASMMu9OwNqFk4QKuqYTa sOl2blvLUhIJrL0DHXMS8Nyob2AEQJq7UuZHK2B0zf5MWU+u1uG4avcp0JM/am45SRpT Ip1NHuiA+fwTnSsMNYnjA8bomwKbbfC5HgzYqnO0oEBXqm3QJr/Ac2iixOiW8FLDmxkm s/ua8Rbt6+EAs5cq1nR20wmZt5jYhgDW0Q5bI/qpy0cmQKTlNheG6k4doK/Ldh/0P36w qr4w1qagTnn7hE4aPfZj/Q5OEopSk3bFF6FbD1L1SW2SnFW1w3PFlOQoRR9HYqnPA/zQ c4Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o10-20020a170902d4ca00b001cfbf5c045bsi4042635plg.458.2023.12.01.11.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 11:53:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 958E080FE500; Fri, 1 Dec 2023 11:53:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379541AbjLATwt (ORCPT + 99 others); Fri, 1 Dec 2023 14:52:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379522AbjLATws (ORCPT ); Fri, 1 Dec 2023 14:52:48 -0500 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5689F10C2 for ; Fri, 1 Dec 2023 11:52:51 -0800 (PST) Received: from gaggiata.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 9316F221C6; Fri, 1 Dec 2023 20:52:49 +0100 (CET) Received: from livingston (unknown [192.168.42.11]) by gaggiata.pivistrello.it (Postfix) with ESMTP id 4686C7F9C0; Fri, 1 Dec 2023 20:52:49 +0100 (CET) Received: from pivi by livingston with local (Exim 4.96) (envelope-from ) id 1r99ZB-0001DT-0S; Fri, 01 Dec 2023 20:52:49 +0100 Date: Fri, 1 Dec 2023 20:52:49 +0100 From: Francesco Dolcini To: Nishanth Menon Cc: Francesco Dolcini , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Vignesh Raghavendra , Catalin Marinas , Will Deacon , Tero Kristo , Tony Lindgren Subject: Re: [PATCH v2] arm64: defconfig: increase SERIAL_8250_NR_UARTS Message-ID: References: <20231201171544.1901-1-francesco@dolcini.it> <20231201191958.kmwkpmttmebsas47@kooky> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201191958.kmwkpmttmebsas47@kooky> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 01 Dec 2023 11:53:04 -0800 (PST) On Fri, Dec 01, 2023 at 01:19:58PM -0600, Nishanth Menon wrote: > On 18:15-20231201, Francesco Dolcini wrote: > > Increase CONFIG_SERIAL_8250_NR_UARTS from 4 to 8, the current legacy value > > is not adequate for embedded systems that use SoCs where it's common to > > have a large number of serial ports. > > > > No need to change CONFIG_SERIAL_8250_RUNTIME_UARTS, see commit 9d86719f8769 > > ("serial: 8250: Allow using ports higher than SERIAL_8250_RUNTIME_UARTS"). > > > > The need to increase this value was noticed while working with Toradex > > Verdin AM62, this board has 4 serial UART instances available to the user > > plus an internal one that is connected to a Bluetooth module. Without this > > change the fifth UART connected to the BT module is not instantiated and BT > > is not working. > > > > Instead of increasing the number to the bare minimum (5) that would be > > required to solve this specific issue, we increase this to 8 which seems a > > more reasonable number to have in the defconfig and should cover more valid > > use cases. > > To address Arnd's concern on size increase, it will be good to add: I can and I will add it in a v3 - it takes less time to do it than reply to this email and thanks for taking the time to provide the actual data. With that said my understanding is that the goal of the arm64 defconfig is to enable the supported arm64 hardware and the related kernel development. It's not supposed to be a minimal config in size nor an optimal configuration from the performance point of view. It's a single configuration that includes support for each and every platform [1] supported by Linux arm64 ... To me Arnd was just stating a fact, not raising a concern that was supposed to be addressed (just correct me if I'm wrong, of course). [1] well, apart AMD Pensando and Bitmain, at the moment, but you get the point, I'm sure ;-). > --- > With this change kernel image increases by ~3.2k. bloat-o-meter summary: > add/remove: 1/1 grow/shrink: 7/0 up/down: 3220/-8 (3212) > --- Francesco