2021-12-08 08:08:26

by Aswath Govindraju

[permalink] [raw]
Subject: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports

On some TI SoCs the number of UART instances used can be greater than 4.
For example in TI's J721S2 SoC, 11th instance of UART is used as console.
So, increase the maximum number of instances to 16.

Signed-off-by: Aswath Govindraju <[email protected]>
---
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 0da6a944d5cd..adb9f1f0802d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -409,6 +409,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_BCM2835AUX=y
CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_8250_OMAP=y
+CONFIG_SERIAL_8250_NR_UARTS=16
+CONFIG_SERIAL_8250_RUNTIME_UARTS=16
CONFIG_SERIAL_8250_MT6577=y
CONFIG_SERIAL_8250_UNIPHIER=y
CONFIG_SERIAL_OF_PLATFORM=y
--
2.17.1



2021-12-14 08:49:56

by Apurva Nandan

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports


On 08/12/21 1:37 pm, Aswath Govindraju wrote:
> On some TI SoCs the number of UART instances used can be greater than 4.
> For example in TI's J721S2 SoC, 11th instance of UART is used as console.
> So, increase the maximum number of instances to 16.
>
> Signed-off-by: Aswath Govindraju <[email protected]>

Reviewed-by: Apurva Nandan <[email protected]>

> ---
> arch/arm64/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 0da6a944d5cd..adb9f1f0802d 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -409,6 +409,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
> CONFIG_SERIAL_8250_BCM2835AUX=y
> CONFIG_SERIAL_8250_DW=y
> CONFIG_SERIAL_8250_OMAP=y
> +CONFIG_SERIAL_8250_NR_UARTS=16
> +CONFIG_SERIAL_8250_RUNTIME_UARTS=16
> CONFIG_SERIAL_8250_MT6577=y
> CONFIG_SERIAL_8250_UNIPHIER=y
> CONFIG_SERIAL_OF_PLATFORM=y

2021-12-15 07:11:30

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports

Hi Aswath Govindraju,

On Wed, 8 Dec 2021 13:37:35 +0530, Aswath Govindraju wrote:
> On some TI SoCs the number of UART instances used can be greater than 4.
> For example in TI's J721S2 SoC, 11th instance of UART is used as console.
> So, increase the maximum number of instances to 16.
>
>

I have applied the following to branch ti-k3-config-next on [1].
Thank you!

[1/1] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
commit: 8e799ff45baebab781cf392be51a54b1f3fceb23

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh


2021-12-23 08:40:44

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports

Hi

On 15/12/21 12:41 pm, Vignesh Raghavendra wrote:
> Hi Aswath Govindraju,
>
> On Wed, 8 Dec 2021 13:37:35 +0530, Aswath Govindraju wrote:
>> On some TI SoCs the number of UART instances used can be greater than 4.
>> For example in TI's J721S2 SoC, 11th instance of UART is used as console.
>> So, increase the maximum number of instances to 16.
>>
>>
>
> I have applied the following to branch ti-k3-config-next on [1].
> Thank you!
>
> [1/1] arm64: defconfig: Increase the maximum number of 8250/16550 serial ports
> commit: 8e799ff45baebab781cf392be51a54b1f3fceb23
>

I have dropped this patch from the queue, based on comments at:

https://lore.kernel.org/linux-arm-kernel/CAK8P3a2VSBvOn1o+q1PYZaQ6LS9U4cz+DZGuDbisHkwNs2dAAw@mail.gmail.com/T/#m4ecb0dc6a78c84631f072faa1b0df0df46333d09