tty: serial: meson_uart: Add support for kernel debugger
authorJulien Masson <jmasson@baylibre.com>
Tue, 21 Jan 2020 17:22:52 +0000 (18:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jan 2020 09:22:31 +0000 (10:22 +0100)
commit8412ba1db8250087eb5d6e3525254df3be79dc3e
tree94878f6c09cd6190fb267e7b93b98d72f251d40c
parent101aa46bd221b768dfff8ef3745173fc8dbb85ee
tty: serial: meson_uart: Add support for kernel debugger

The kgdb invokes the poll_put_char and poll_get_char when communicating
with the host. This patch implement the serial polling hooks for the
meson_uart to be used for KGDB debugging over serial line.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Link: https://lore.kernel.org/r/867e1klo48.fsf@julienm-fedora-R90NQGV9.i-did-not-set--mail-host-address--so-tickle-me
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c