]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mcf: add sysrq capability
authorAngelo Dureghello <angelo.dureghello@timesys.com>
Fri, 2 Oct 2020 14:05:45 +0000 (16:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 11:32:30 +0000 (13:32 +0200)
commitbe0ff783ef7f82df87030b59035c927dc0c6b5ff
treee6b2c2a9b74257e3645fe1228d6371277015342a
parent94d5e5685a31fcd2ff4c781a293115a001b10ae6
serial: mcf: add sysrq capability

After some unsuccessful attempts to use sysrq over console, figured
out that port->has_sysrq should likely be enabled, as per other
architectures, this when CONFIG_SERIAL_MCF_CONSOLE is also enabled.

Tested some magic sysrq commands (h, p, t, b), they works now
properly. Commands works inside 5 secs after BREAK is sent, as
expected.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Link: https://lore.kernel.org/r/20201002140545.477481-1-angelo.dureghello@timesys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mcf.c