[PATCH] arm64: defconfig: Increase SERIAL_8250_NR_UARTS to 10

Florian Fainelli f.fainelli at gmail.com
Fri Dec 1 11:57:53 PST 2023


+Francesco,

On 12/1/23 11:12, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner at 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 at cherry.de>

There is a competing patch set from Francesco being submitted as well:

https://lore.kernel.org/all/20231201171544.1901-1-francesco@dolcini.it/

looks like some coordination is necessary.
-- 
Florian




More information about the linux-arm-kernel mailing list