Re: [PATCH] serial: ar933x: Add polling support
From: Sven Eckelmann
Date: Wed Oct 01 2025 - 08:08:06 EST
This is a multi-part message in MIME format.
On Wednesday, 1 October 2025 13:47:26 CEST Sven Eckelmann wrote:
> KGDB requires at least the polling hooks .poll_get_char and .poll_put_char
> to transmit/receive character via the serial driver.
>
> Signed-off-by: Sven Eckelmann <se@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/tty/serial/ar933x_uart.c | 62 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 62 insertions(+)
I also had a look at break detection to ease the debugging on our side. Just
to be able to switch to KGDB mode via gdb.
While I got it working, it is more a hack than a good implementation. I've
attached the hack in case someone wants to continue to work on it.
On Wednesday, 1 October 2025 14:05:41 CEST Greg Kroah-Hartman wrote:
> Right now, the development tree you have sent a patch for is "closed"
> due to the timing of the merge window. Don't worry, the patch(es) you
> have sent are not lost, and will be looked at after the merge window is
> over (after the -rc1 kernel is released by Linus).
*looks at the calendar* Oh, yes, there was something.
Regards,
Sven