From: Heiko Stuebner <heiko@sntech.de> To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, quentin.schulz@theobroma-systems.com, heiko@sntech.de, Heiko Stuebner <heiko.stuebner@cherry.de> Subject: [PATCH] arm64: defconfig: Increase SERIAL_8250_NR_UARTS to 10 Date: Fri, 1 Dec 2023 20:12:28 +0100 [thread overview] Message-ID: <20231201191228.343230-1-heiko@sntech.de> (raw) From: Heiko Stuebner <heiko.stuebner@cherry.de> 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 <heiko.stuebner@cherry.de> --- 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
WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko@sntech.de> To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, quentin.schulz@theobroma-systems.com, heiko@sntech.de, Heiko Stuebner <heiko.stuebner@cherry.de> Subject: [PATCH] arm64: defconfig: Increase SERIAL_8250_NR_UARTS to 10 Date: Fri, 1 Dec 2023 20:12:28 +0100 [thread overview] Message-ID: <20231201191228.343230-1-heiko@sntech.de> (raw) From: Heiko Stuebner <heiko.stuebner@cherry.de> 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 <heiko.stuebner@cherry.de> --- 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-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2023-12-01 19:12 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-01 19:12 Heiko Stuebner [this message] 2023-12-01 19:12 ` [PATCH] arm64: defconfig: Increase SERIAL_8250_NR_UARTS to 10 Heiko Stuebner 2023-12-01 19:57 ` Florian Fainelli 2023-12-01 19:57 ` Florian Fainelli 2023-12-01 20:09 ` Francesco Dolcini 2023-12-01 20:09 ` Francesco Dolcini 2023-12-01 20:56 ` Heiko Stübner 2023-12-01 20:56 ` Heiko Stübner 2023-12-01 21:03 ` Heiko Stübner 2023-12-01 21:03 ` Heiko Stübner 2023-12-01 21:12 ` Francesco Dolcini 2023-12-01 21:12 ` Francesco Dolcini 2023-12-02 11:51 ` Francesco Dolcini 2023-12-02 11:51 ` Francesco Dolcini 2023-12-02 12:12 ` Heiko Stübner 2023-12-02 12:12 ` Heiko Stübner 2023-12-04 9:32 ` Quentin Schulz 2023-12-04 9:32 ` Quentin Schulz
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231201191228.343230-1-heiko@sntech.de \ --to=heiko@sntech.de \ --cc=heiko.stuebner@cherry.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=quentin.schulz@theobroma-systems.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.