commitbe28c1e3caupstream. kgdb expects poll function to return immediately and returning NO_POLL_CHAR when no character is available. Fixes:f5316b4aea("kgdb,8250,pl011: Return immediately from console poll") Cc: Jason Wessel <jason.wessel@windriver.com> Cc: <stable@vger.kernel.org> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>