Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1119320rdb; Fri, 1 Dec 2023 07:32:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHS3BGmLVJg0rG4hcClZ3aNw2P+UnUqnqkCbN1rDI1ma6EM9VK0OQZTY+T93f5GwO/8ErpA X-Received: by 2002:a17:902:da86:b0:1cf:c901:5451 with SMTP id j6-20020a170902da8600b001cfc9015451mr20351551plx.14.1701444748198; Fri, 01 Dec 2023 07:32:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701444748; cv=none; d=google.com; s=arc-20160816; b=JzsYiZiSE/ZJYPqjBgrpTQc52wq3JkYavvzYznM3EpnF8cKelHy7ZzOcqGLB5UwJBA 8eVirfpg8nMwIl6kznz6wlpF3NjxXb6hCO0/oGjPkX3bksbFktDxdg/pXDuc2upqFeHj ogiNI0bDDYqk5iKdK6/OD0flV2wKbvARP9SC3bltdm1wXMXOvs7NO6aDY6NsBr7ZDGy2 /pXtzJN7o1Xes5U7XGqQm14Eek+vW1vNmYynyAlYF/cWnVUYRkwmp5M5d0qr4ePr55nw XgaCEX6rz3BOWmpMtW9tzoGpWkd0kw7U1LWpYiIGN4Kc2qqwrWjNg4fGxjhaA6g3/qdg 5xmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=S23umPlXJQkeulBSJ4NyHT/ySrJcetJwnTwa7Bmt//A=; fh=5y9lZZIygELmsoN37Sa+4MWeXDWrQXwVxSSoy+wuRtg=; b=DYIJe3075uyrLQUo8wG0W/mks9gqkOTekou+mQKGmzNF6scfuoxG1tUmjKT0hLGuvB Q+svvqGCWouayk63yBH+l6PcYmgGgeYVXFmsR+CSuPTgvlV3LcFmY0TIY2WZDpn0UZ6N q52n2ehBTcmgd5YdrJeBf19RQsmBjOvfMDd9r5gkCQBDDieZGoCrTsCxmiiUy0xHOJjn dbECGaD6f9WUmpEthCa9fcNGjw900dBeKD52xbCycmJOYJyNnjypVDDcVp0iVhnTf9GH f+5gGjbbewBOtSXvZvmKH7DH83dYPHC8eRU59vONBC/bXy8Yw+FA2ZyaAkdfRXhO6b2U Plfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=GCgnEJbl; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=M7Y6Tzi3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s3-20020a170902a50300b001cfce833b63si3252716plq.83.2023.12.01.07.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:32:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=GCgnEJbl; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=M7Y6Tzi3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 030668260F47; Fri, 1 Dec 2023 07:32:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379426AbjLAPb7 (ORCPT + 99 others); Fri, 1 Dec 2023 10:31:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379398AbjLAPb4 (ORCPT ); Fri, 1 Dec 2023 10:31:56 -0500 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E902C10F9 for ; Fri, 1 Dec 2023 07:31:59 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4A7665C00E0; Fri, 1 Dec 2023 10:31:59 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 01 Dec 2023 10:31:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1701444719; x=1701531119; bh=S2 3umPlXJQkeulBSJ4NyHT/ySrJcetJwnTwa7Bmt//A=; b=GCgnEJblV3NjK6qiRz 12TBLKwVjPHyT8xGbs8zmQj5y0esR77HR2kGT2V0uIyEQHQT2Ld43Ty53uK0xboW ram+ZE6/UWM7J0H8XOGgqDXV348NO00EHdFhe+NyQ0k8F2Eo1oGiKi6Rot27IjWy rvmGuhvs2ggvVnD1xKuKGh1XAiXVvFWGh6quY7Ws7elg/IC3HeGwMYCxqN6ZhiKF 9har4YLSuV17ig6Snm7+9aZQJECTbzAcQkDW3EX4FEqBBryKwSOPxi1qNGXI+65N v4NwOCWIOnK24U4Sig4i/mCLg9TTXAFOur8aPOOqxUVH2P0OVRJ6UZVInzoZ6Jk0 6+HA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1701444719; x=1701531119; bh=S23umPlXJQkeu lBSJ4NyHT/ySrJcetJwnTwa7Bmt//A=; b=M7Y6Tzi3+CtpLrklENV7GZQkfjvn6 ox3arxwg7QfZfqEiqVSRAiKkxON6U/B6KtOq25nh7u2gsRk6X21TLfScB0n5B+jP TZg3OuOQEpgc9JSR6HvfF+98BItPKJdu+jq464u/ShCZ3qQJm0tLNRYzhjg7+GrQ 9uQqoPYwxvxMXRReepRBvk28dNXcfRicat8gyczobRxaatYY1Xg1CDeYIprS3Je8 aOcDXGgWtBBotix2rcNKMvnGQKIAvPVLhB4/50rqvqlEMciCFYC8FvFZ3c43XFSh OkEpa5YApTWtulyQZcvOA4By9K3L7gBz0+TUTqjJOKa9v5o7piRDFi6Rw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeiledgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8A674B60089; Fri, 1 Dec 2023 10:31:58 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: <855dfa50-a3a3-415a-8612-4da59f995ef0@app.fastmail.com> In-Reply-To: <20231201064919.5mbmqo5fco7n3rgq@endnote> References: <20231130231657.12715-1-francesco@dolcini.it> <20231201060346.GE5169@atomide.com> <20231201064919.5mbmqo5fco7n3rgq@endnote> Date: Fri, 01 Dec 2023 16:31:38 +0100 From: "Arnd Bergmann" To: "Nishanth Menon" , "Tony Lindgren" Cc: "Francesco Dolcini" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Vignesh Raghavendra" , "Catalin Marinas" , "Will Deacon" , "Tero Kristo" Subject: Re: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 01 Dec 2023 07:32:15 -0800 (PST) On Fri, Dec 1, 2023, at 07:49, Nishanth Menon wrote: > On 08:03-20231201, Tony Lindgren wrote: >> * Francesco Dolcini [231130 23:17]: >> > 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"). >> > >> > This enables using the UART connected Bluetooth device on Verdin AM62 >> > board. >> >> OK makes sense for distro use. >> >> Disabling unused ports leads into port names shifting, which we still can't >> easily tolerate until we have the DEVNAME:0.0 style addressing available for >> ports. So for now we still depend CONFIG_SERIAL_8250_NR_UARTS, eventually >> that too should become just a legacy ISA port array.. Meanwhile: >> >> Reviewed-by: Tony Lindgren > > I'd prefer to get Arnd's view on the topic as well (I kind of > recollect some historic discussion which I am not failing to trace > that there usage model doesn't exceed 4 and aliases could be used to > map these as required for the platform). The 8250 debate has been > popping on and off over the years.. Sigh.. memories of [1] still haunt > me. I don't recall any reason to have the limit set to the default of 4, other than possibly using excessive amounts of .data in vmlinux, but we have other serial port drivers that just hardcode a much larger value. Arnd