From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2821C4167B for ; Fri, 1 Dec 2023 06:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sn5Zpq4P17cnMraDCfTG8DZo0G6XUgY/zbd1pfn2PeY=; b=AOV2K4MFcNfgWY WxoJyXV9gI0EhqEbTFhCBQ+J/v4E6PfRKDZMy2C2XXnh7/AoWwiKvR5OR1Uk7josIwqqNYoaYtjHA 0BvOqZsH6VPoWBEdfKYor+Noq/2raSQvFWDovOkDxfH04NrBrlPnS+3db1aNolcXhMao1INEznkhG 1pD+F1C9IkoFv3y8cCeqC5o9tWVLW9ZNC1JNkq++59eHwWFO19DGORKHW8w+KQh4bw0z4uNRR14zj uDG26SpHKXXmumM9IE6trI88AV+x4/ld52QoZchIeT3MOmOQr19jWOFCdK1/43tuco5uShqlRiKYQ lopvfmgVcD/iQxrvUzdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8wdJ-00Ck2r-2c; Fri, 01 Dec 2023 06:04:13 +0000 Received: from mail5.25mail.st ([74.50.62.9]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8wdH-00Ck25-0D for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 06:04:12 +0000 Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 0B2706051E; Fri, 1 Dec 2023 06:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701410646; bh=D3R8pMk7bcyOGztgEA/pmCCQH/Yh4ZGSBEhS10gOJeA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l1nLbtEWCwh14njae91OgM+A4h6K6GXiNxlvllnLxIx0+t+yZF7czaqX53YkVjVXs 2PSeZMeKpHnwLqw1/HgW9TsKuHjFpIgyhgZqzyFm/5HqjIMKe9CPYuU7JB4EHl+R8X qQ0tyMwkFZhMm2wBW2kaNARiU+TT3jLPgT24JayTNHLHCxdP+00QCPheln7mQxoQSD zeqQIELkRsp+4TyvL183szCRMEBl59r640094kNg6Y8YqoOdIR75HGWitCe9DJoWS1 Dkn6A+O66IaaNdPqUV4fHCsfpLU1mJsywUvCUPi2Ia2zJKXpYaGRkGbgJeO8hue3Tt WKkf5p489Bg2A== Date: Fri, 1 Dec 2023 08:03:46 +0200 From: Tony Lindgren To: Francesco Dolcini Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nishanth Menon , Vignesh Raghavendra , Catalin Marinas , Will Deacon , Tero Kristo Subject: Re: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Message-ID: <20231201060346.GE5169@atomide.com> References: <20231130231657.12715-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231130231657.12715-1-francesco@dolcini.it> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_220411_432563_7D0056B3 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45413C4167B for ; Fri, 1 Dec 2023 06:04:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377516AbjLAGEC (ORCPT ); Fri, 1 Dec 2023 01:04:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjLAGEB (ORCPT ); Fri, 1 Dec 2023 01:04:01 -0500 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF6EA193 for ; Thu, 30 Nov 2023 22:04:07 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 0B2706051E; Fri, 1 Dec 2023 06:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701410646; bh=D3R8pMk7bcyOGztgEA/pmCCQH/Yh4ZGSBEhS10gOJeA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l1nLbtEWCwh14njae91OgM+A4h6K6GXiNxlvllnLxIx0+t+yZF7czaqX53YkVjVXs 2PSeZMeKpHnwLqw1/HgW9TsKuHjFpIgyhgZqzyFm/5HqjIMKe9CPYuU7JB4EHl+R8X qQ0tyMwkFZhMm2wBW2kaNARiU+TT3jLPgT24JayTNHLHCxdP+00QCPheln7mQxoQSD zeqQIELkRsp+4TyvL183szCRMEBl59r640094kNg6Y8YqoOdIR75HGWitCe9DJoWS1 Dkn6A+O66IaaNdPqUV4fHCsfpLU1mJsywUvCUPi2Ia2zJKXpYaGRkGbgJeO8hue3Tt WKkf5p489Bg2A== Date: Fri, 1 Dec 2023 08:03:46 +0200 From: Tony Lindgren To: Francesco Dolcini Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Nishanth Menon , Vignesh Raghavendra , Catalin Marinas , Will Deacon , Tero Kristo Subject: Re: [PATCH] arm64: defconfig: increase SERIAL_8250_NR_UARTS Message-ID: <20231201060346.GE5169@atomide.com> References: <20231130231657.12715-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231130231657.12715-1-francesco@dolcini.it> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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