Re: [PATCH v4 10/13] serial: asc: Add support for KGDB's FIQ/NMI mode
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2014-06-20 00:36:09
Also in:
linux-arm-kernel, linux-devicetree
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2014-06-20 00:36:09
Also in:
linux-arm-kernel, linux-devicetree
On Thu, Jun 19, 2014 at 11:38:20AM +0100, Daniel Thompson wrote:
Add a .poll_init() function that enables UART RX and registers the UART's irq with KGDB. By providing this information to KGDB the serial driver offers "permission" for KGDB to route the UART interrupt signal from the drivers own handler to KGDBs FIQ handler (which will eventually use the UART's polled I/O callbacks to interact with the user). Note that the RX is not only enabled but also unmasked. This is required because otherwise the FIQ handler could never trigger. This unmask is copied from similar code in amba-pl011.c . Signed-off-by: Daniel Thompson <redacted> Cc: Srinivas Kandagatla <redacted> Cc: Maxime Coquelin <redacted> Cc: Patrice Chotard <redacted> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <redacted> Cc: kernel@stlinux.com Cc: linux-serial@vger.kernel.org ---
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>