Re: [PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-06-30 Thread Kumar Gala
On May 20, 2008, at 2:39 PM, Rune Torgersen wrote: Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Also only take lock if not in an oops. Signed-off-by: Rune Torgersen [EMAIL PROTECTED]

[PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-05-20 Thread Rune Torgersen
Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Signed-off-by: Rune Torgersen [EMAIL PROTECTED] diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c

Re: [PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-05-20 Thread Scott Wood
On Tue, May 20, 2008 at 02:28:16PM -0500, Rune Torgersen wrote: Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Signed-off-by: Rune Torgersen [EMAIL PROTECTED] diff --git

RE: [PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-05-20 Thread Rune Torgersen
Scott Wood wrote: On Tue, May 20, 2008 at 02:28:16PM -0500, Rune Torgersen wrote: Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. We should bypass the lock when oops_in_progress is set,

[PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-05-20 Thread Rune Torgersen
Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Also only take lock if not in an oops. Signed-off-by: Rune Torgersen [EMAIL PROTECTED] diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c

Re: [PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-05-20 Thread Scott Wood
Rune Torgersen wrote: Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Also only take lock if not in an oops. Signed-off-by: Rune Torgersen [EMAIL PROTECTED] Acked-by: Scott Wood [EMAIL