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 BE1CBC10F04 for ; Fri, 1 Dec 2023 19:12:48 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Q+kMsoUlNIAVSxlFuBArG2iKG4Xo7ZVl6XYNVr18VUs=; b=riTA97UjeLPdy5 uF9kxC30p6oGzkGGp9MuDH3euyIN0KfjTU9lXAS2YuVCs0c8/o5KR0px4bHCKlSpYWxuXKGwmGgHG XTBQnhxbgqJ4J0mq3SdKKYIDGFFvZH9UDfqM6h7aJbLgEBijEIhuv6iVPBs3oJzk6AI8fcEQ8kcXt 3E5jEm7cJ4Ly4AETSNEYh6b8UjyjvlUn34EeW89ScLEjg03DDAzpXsXDp8J0KOgCXgwXT24A111Ym VYjfb8a4lHohqaW0gFigKwE5XpRkBFqWcSiRUSgoYa76PhGrpvvhcMP5q3+1ndnumJzZNCleMI343 e2+QKPaF7r2Z2Kx9oQIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r98wM-00EUja-06; Fri, 01 Dec 2023 19:12:42 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r98wJ-00EUj0-2X; Fri, 01 Dec 2023 19:12:40 +0000 Received: from i53875b61.versanet.de ([83.135.91.97] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r98wI-000257-E9; Fri, 01 Dec 2023 20:12:38 +0100 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, quentin.schulz@theobroma-systems.com, heiko@sntech.de, Heiko Stuebner Subject: [PATCH] arm64: defconfig: Increase SERIAL_8250_NR_UARTS to 10 Date: Fri, 1 Dec 2023 20:12:28 +0100 Message-Id: <20231201191228.343230-1-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231201_111239_825775_17FB5CB1 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Heiko Stuebner Boards using socs like the rk3588 can use up to 10 uarts, so the default of 4 is way too low. Therefore increase the maximum number to 10. SERIAL_8250_RUNTIME_UARTS on the other hand describes the number of uart data structures to prepare before registering them. This option can stay at its default value of 4 since for one it can be changed via a boot parameter 8250.nr_uarts but also since commit 9d86719f8769 ("serial: 8250: Allow using ports higher than SERIAL_8250_RUNTIME_UARTS") the kernel can register uarts dynamically that are above the SERIAL_8250_RUNTIME_UARTS threshold. Signed-off-by: Heiko Stuebner --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..69835dc43d24 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -448,6 +448,7 @@ CONFIG_SERIO_AMBAKMI=y CONFIG_LEGACY_PTY_COUNT=16 CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=10 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_BCM2835AUX=y -- 2.39.2 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip