[PATCH 0/4] serial: kgdb_nmi: Allow ttyNMIX to act as primary console

From: Daniel Thompson
Date: Wed May 14 2014 - 10:56:01 EST


This patchset contains a number of fixes to make it possible to use
ttyNMIX as the primary console, providing you also have that the
additional architecture specific code to support it.

The first patch is a generic improvement to make the behaviour of
poll_put_char consistent for all UARTs. This is especially important
for kgdb_nmi, which makes unusually heavy use of poll_put_char,
although this fix also benefits other users of polled I/O.

The remaining patches are specific to kgdb_nmi and have no effect on
any other part of the kernel.

The series has been runtime tested on ARM and compile tested on
x86 and powerpc.

Daniel Thompson (4):
serial: core: Consistent LF handling for poll_put_char
serial: kgdb_nmi: Use container_of() to locate private data
serial: kgdb_nmi: Switch from tasklets to real timers
serial: kgdb_nmi: Improve console integration with KDB I/O

drivers/tty/serial/8250/8250_core.c | 5 ---
drivers/tty/serial/cpm_uart/cpm_uart_core.c | 8 ++--
drivers/tty/serial/kgdb_nmi.c | 59 +++++++++++++----------------
drivers/tty/serial/pch_uart.c | 5 ---
drivers/tty/serial/pxa.c | 5 ---
drivers/tty/serial/serial_core.c | 2 +
drivers/tty/serial/serial_txx9.c | 5 ---
7 files changed, 33 insertions(+), 56 deletions(-)

--
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/