From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Thu, 17 Oct 2013 15:31:47 -0500 Subject: [PATCH v2] TTY: hvc_dcc: probe for a JTAG connection before registering In-Reply-To: <20131017202047.GA24568@kroah.com> References: <1379968234-23373-1-git-send-email-robherring2@gmail.com> <1380074758-19808-1-git-send-email-robherring2@gmail.com> <20131017202047.GA24568@kroah.com> Message-ID: <52604933.20007@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/17/2013 03:20 PM, Greg Kroah-Hartman wrote: > On Thu, Oct 17, 2013 at 02:16:37PM -0500, Rob Herring wrote: >> On Tue, Sep 24, 2013 at 9:05 PM, Rob Herring wrote: >>> From: Rob Herring >>> >>> Enabling the ARM DCC console and using without a JTAG connection will >>> simply hang the system. Since distros like to turn on all options, this >>> is a reoccurring problem to debug. We can do better by checking if >>> anything is attached and handling characters. There is no way to probe >>> this, so send a newline and check that it is handled. >>> >>> Cc: Paolo Pisati >>> Cc: Tim Gardner >>> Cc: Greg Kroah-Hartman >>> Cc: Jiri Slaby >>> Signed-off-by: Rob Herring >>> --- >>> v2: use time_is_after_jiffies >>> >>> drivers/tty/hvc/hvc_dcc.c | 21 +++++++++++++++++++++ >>> 1 file changed, 21 insertions(+) >> >> Greg, Jiri, >> >> Can you please apply. > > I already did, didn't you get an email saying it was applied to my tree? Ah, yes. Found it buried in my work email. Sorry about that. Rob