Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1163955rdb; Fri, 1 Dec 2023 08:32:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFR76k8zvoBQVTaCbChTseSqXjxPfE8SKFDaM2sXGW3VmAe7T+UkUd49Dmwub2EiyXmBJoU X-Received: by 2002:a05:6a20:3d14:b0:18a:b5c3:55da with SMTP id y20-20020a056a203d1400b0018ab5c355damr35820855pzi.10.1701448330228; Fri, 01 Dec 2023 08:32:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701448330; cv=none; d=google.com; s=arc-20160816; b=Sh/DdMU6zBV5sBQU5scIzx3daoShJ+Xv+WpSBDMp1osFwH8MLhZ39JeQPuxq5tyVrx mAsVvAVojnL16cwGY9YLA95TXm7v8j1cBdaGTbRPwEhlCBBgqmrnOITaja56zs+XIRla 2x6BjeY9AxP3h3noQAzFy/M7nC6QdQESaktrLlqY7eWKvICv0Sj6YZDssljUiiBk4yoZ /dy5ZHLIMpUWJQMJCgmfySxZPzj8IwmURyvj9K8ykCZOD4S2NwDcebcj+wCwYubnROZZ 06m9SMT48JjZNjT6lWb8YrFji89aKgYToo9VrIgdtEJ1WhqXiYuy5lT4kkKNT1TcQ2PT gcLA== 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:dkim-signature; bh=yK0mxR+iuP9kIWX/jvKS63AchZZ0hCSmlqRwB4k0HjE=; fh=lvtWt8BoN6oIRo60LbdstMdcbIunp8K16EvI+8SUnmA=; b=dtVMb0T2QwU5BY1vt90njVsz0yqG0fPQhBbe2sYSkf2Ze7i+vbPVcWq9LMAysY/bCw Swz0pqA9V86zmT5QbXSYV4kdYIfZHzPu+aepU5FaBERL2sosfol1+xVZvwvieGflbWZb HaIOp4MXfXq7aGCJmrU/awngQgJMqZL3fcAbxGZAdkiSPV/6CR2yaSL6BNU5eYEEM36l 9PUTNipXjClABfmWiNkwTZVmo4+cnbpaAIawnq9cxJvCJN6LoZFI59QeJPzqStbY7szq AZtu8Pa5qsivYpjt8gsV5CwMumTh7kMzDaJ1F3mm+CoAYrrlaN7D9MbJ/uqax8lsxWpG ZBkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Il9Bu7J6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c7-20020a656747000000b005bdf5961d87si3698839pgu.266.2023.12.01.08.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:32:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Il9Bu7J6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E1B848050000; Fri, 1 Dec 2023 08:32:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378362AbjLAQbu (ORCPT + 99 others); Fri, 1 Dec 2023 11:31:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbjLAQbr (ORCPT ); Fri, 1 Dec 2023 11:31:47 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15872D48 for ; Fri, 1 Dec 2023 08:31:51 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B1GVQau093115; Fri, 1 Dec 2023 10:31:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701448286; bh=yK0mxR+iuP9kIWX/jvKS63AchZZ0hCSmlqRwB4k0HjE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Il9Bu7J6W2EQt1ldiD4vpqHP6a2xSD08YBoE9jmI33f5rgBv2UrMDIiEZ2d9pwbXa Kdi9hKaedloT6TSeRgfis8D31QOZA8L5dMQRABraWE3e2um3dihw+yrdGCl4/pZzm+ 1OP4iaRBxzBobBRSvHRqAKRecnOZITRym+QMsrG8= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B1GVQuB082051 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 1 Dec 2023 10:31:26 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 1 Dec 2023 10:31:26 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 1 Dec 2023 10:31:25 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B1GVQJT003915; Fri, 1 Dec 2023 10:31:26 -0600 Date: Fri, 1 Dec 2023 10:31:26 -0600 From: Nishanth Menon To: Arnd Bergmann CC: Tony Lindgren , Francesco Dolcini , , , Vignesh Raghavendra , Catalin Marinas , Will Deacon , Tero Kristo Subject: Re: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Message-ID: <20231201163126.oaixjeo4i3gvmsyt@molar> References: <20231130231657.12715-1-francesco@dolcini.it> <20231201060346.GE5169@atomide.com> <20231201064919.5mbmqo5fco7n3rgq@endnote> <855dfa50-a3a3-415a-8612-4da59f995ef0@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <855dfa50-a3a3-415a-8612-4da59f995ef0@app.fastmail.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:32:05 -0800 (PST) On 16:31-20231201, Arnd Bergmann wrote: > 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. Thanks Arnd, we will queue this up. Francesco: Could you respin with a more clear commit message to indicate actual board usage instance. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D