]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
serial: meson: add Magic SysRq support
authorYixun Lan <dlan@gentoo.org>
Wed, 6 Sep 2017 13:52:39 +0000 (21:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 16:31:48 +0000 (18:31 +0200)
commitb86ac225037900963b1203344e5d129f5af6bbd2
tree4c0e0ccf9cb5323dd631752d2bf2de5d2a880807
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
serial: meson: add Magic SysRq support

This dirver try to implement the Magic SysRq support[1] for
Amlogic Inc's meson platfo
>From the hardware perspective, the UART IP can't detect the 'BREAK' command
clearly via the status register. Instead, we rely on the combination of
'FRAME_ERR bit && ch == 0', and it works fine.

[1] Documentation/admin-guide/sysrq.rst

Signed-off-by: Yixun Lan <dlan@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c