Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp900641rdb; Fri, 1 Dec 2023 01:19:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKz0kZW8Ld3M0hzAj2SD/agl+rRnfiGMY4+3n5TfJ3WHT3o5W+0hVQz4NdL3IqEyzKG5Nm X-Received: by 2002:a17:902:ee54:b0:1cf:7ce5:e6e8 with SMTP id 20-20020a170902ee5400b001cf7ce5e6e8mr22433644plo.12.1701422353566; Fri, 01 Dec 2023 01:19:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701422353; cv=none; d=google.com; s=arc-20160816; b=AFAjQqKloDvW9Thm4dpslkSfh+6I0kwdMEneTXpVNhZC2wU2vE7wQWo+xHJeCx0/XX 8wPiOBDW7cIyCZo3H5/ppeh8nECqb+Ir8ALwsYwTrO3zUqPMvrix0l/nbpNUpnB6QXKP kc87JugggQh7uZIGgITws/fkTsiPgvPRAzZicDuJmbWeUuOVdiRv4mPYa7ZjLAVzZatx AxF1RZiu/SVCUhwthcyJrFphExPTtiEbq3VXO/qMVOrLeDC0ij3sp1wHKCvHZR3+xgju P80HDn1LtiKe8Xx98kKFQUQOKErcSJuJyq4vgWAOepAqse48EmM4ZuzyD7w/shmyG69x H8QA== 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=iPdjgpHEjrvgYEtzt0lTpVjKsdQ4pVG/vrgql6oxC0U=; fh=dubO5tHOh3flq5I3d8KZTF3xXCzJ4EHKvM223fvmuVM=; b=l58LCXIHEaJPNxD93t+EvenN7nrePgXZX7vC8Kas78A1vhgZTrrYy/KDPK46+ZVx+w jiQQCXJ4syf0gg2mhGq+dcbTmw35oARTMoXppFPeT8qLdcfG5kyQAc+SvwKi6FsDctYJ wprDt5P9bxjDoQiRz6wnEtSsHQNszioDg2WZU2rG8oU1bscXPqdZuiDX5tzD9E/IdTXJ qsPPKL4oyqzokrQwFMPZfikdN/v4lU9/Zt8uJHtUdqbPIuaqQ+VsULSPNl7zJyBxrI0R f5c5Z/p+PnKqOhd1unHCB4aY7m42F852DFoHKmRvjSZ3ZVODvTxfaF+nOMF07pRf2cKJ J3oA== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id h8-20020a170902ac8800b001d01ace7633si2084273plr.567.2023.12.01.01.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 01:19:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id D0CB08339389; Fri, 1 Dec 2023 01:19:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377929AbjLAJS5 (ORCPT + 99 others); Fri, 1 Dec 2023 04:18:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjLAJS4 (ORCPT ); Fri, 1 Dec 2023 04:18:56 -0500 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 778BE194 for ; Fri, 1 Dec 2023 01:19:02 -0800 (PST) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 47991207A1; Fri, 1 Dec 2023 10:18:58 +0100 (CET) Date: Fri, 1 Dec 2023 10:18:54 +0100 From: Francesco Dolcini To: Nishanth Menon Cc: Francesco Dolcini , Tony Lindgren , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Vignesh Raghavendra , Catalin Marinas , Will Deacon , Tero Kristo Subject: Re: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Message-ID: References: <20231130231657.12715-1-francesco@dolcini.it> <20231201060346.GE5169@atomide.com> <20231201064919.5mbmqo5fco7n3rgq@endnote> <20231201085957.uxvwe3l33n5fxfw4@unrushed> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201085957.uxvwe3l33n5fxfw4@unrushed> 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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 01:19:11 -0800 (PST) On Fri, Dec 01, 2023 at 02:59:57AM -0600, Nishanth Menon wrote: > On 09:48-20231201, Francesco Dolcini wrote: > > On Fri, Dec 01, 2023 at 12:49:19AM -0600, 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. > > > > > > 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 usage model that triggered this change exceed 4, we >4 uart in > > use at the same time. > > > > And the issue is not really "distro use", and I do not think anything > > about aliases matter (the BT device is described as a child of the uart > > in the DT). > > > > &main_uart5 { > > bluetooth { > > compatible = "nxp,88w8987-bt"; > > }; > > }; > > > > The change here is required to have basic hardware functionalities > > working for kernel development and debugging using the in-tree > > defconfig. > > I'd suggest to elaborate on "This enables using the UART connected > Bluetooth device on Verdin AM62 board." I can do this, of course, I'll wait for some more feedback in the coming days as you somehow already suggested. Francesco