Home
last modified time | relevance | path

Searched hist:"079317 a65d05ce52b69b7d47fe1fb419d40a4395" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dsunhv.cdiff 079317a65d05ce52b69b7d47fe1fb419d40a4395 Wed Dec 23 12:55:33 CST 2015 Vijay Kumar <vijay.ac.kumar@oracle.com> tty/serial: Skip 'NULL' char after console break when sysrq enabled

When sysrq is triggered from console, serial driver for SUN hypervisor
console receives a console break and enables the sysrq. It expects a valid
sysrq char following with break. Meanwhile if driver receives 'NULL'
ASCII char then it disables sysrq and sysrq handler will never be invoked.

This fix skips calling uart sysrq handler when 'NULL' is received while
sysrq is enabled.

Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Acked-by: Karl Volz <karl.volz@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>