mbox series

[RFC,INTERNAL,v2,0/4] Introduce NMI aware serial drivers

Message ID 1594386725-10346-1-git-send-email-sumit.garg@linaro.org
Headers show
Series Introduce NMI aware serial drivers | expand

Message

Sumit Garg July 10, 2020, 1:12 p.m. UTC
Changes since RFC v1:
- Switch TX to be NMI driven rather than poolling mode.
- Move common NMI framework bits to serial core.
- Make uart_handle_sysrq_char() and uart_handle_break() NMI safe.
- Correct poll_init() initialization sequence.
- Misc. comments.
- Regaring NMI alloc API, I thought about moving it to serial core but
  then after looking at it more closely there seems to be multiple
  serial driver specific bits like NMI handler, name, device ID which
  refrained me from moving it to serial core. But if you still think
  otherwise then I could just move it with aforementioned params as
  arguments.

Sumit Garg (4):
  tty/sysrq: Make sysrq handler NMI aware
  serial: core: Add framework to allow NMI aware serial drivers
  serial: amba-pl011: Re-order APIs definition
  serial: amba-pl011: Enable NMI aware polling mode

 drivers/tty/serial/amba-pl011.c  | 241 ++++++++++++++++++++++++++++-----------
 drivers/tty/serial/serial_core.c |  97 +++++++++++++++-
 drivers/tty/sysrq.c              |  36 +++++-
 include/linux/serial_core.h      |  43 +++++++
 include/linux/sysrq.h            |   1 +
 kernel/debug/debug_core.c        |   1 +
 6 files changed, 351 insertions(+), 68 deletions(-)

-- 
2.7.4