[PATCH 2.6.24-rt1] SMC91x: Use special_lock when CONFIG_PREEMPT_[HARD|SOFT]IRQS

2008-02-13 Thread Kevin Hilman
The smc_special_locks should also be used when either softIRQs or hard IRQs are preempted which may lead to the same problems as under SMP. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- drivers/net/smc91x.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers

Re: Use the RT Latency Trace? - LET ME KNOW!

2008-01-25 Thread Kevin Hilman
Steven Rostedt [EMAIL PROTECTED] writes: I'm about to gut the RT latency tracer with the version I'm pushing upstream. This will be some of the changes: Might I request that you follow the mainline stabilization model and wait until the 2.6.25-rcX-rtY series to make a significant change like

Generic IRQs: proper edge/level via irq_chip-set_type hook

2007-12-04 Thread Kevin Hilman
I'm trying to cleanup/remove the use of handle_simple_irq in the OMAP GPIO IRQ handling. Currently, the OMAP GPIO demux handler uses handle_simple_irq for all the GPIOs whether they are edge or level. The result is duplicated logic with handle_[edge|level]_irq as well as things not working

[PATCH] ARM: OMAP: Fix GPIO IRQ unmask

2007-12-04 Thread Kevin Hilman
GPIO IRQ unmask doesn't actually do anything useful. The problem is hidden by a separate explicit mass unmask at the end of the chained bank handler. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- arch/arm/plat-omap/gpio.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

[PATCH] ARM: OMAP: Clear level-triggered GPIO interrupts in unmask hook

2007-12-04 Thread Kevin Hilman
The clearing was moved to the unmask hook because it is known to run after the interrupt handler has actually run. Before this patch, if interrupts were threaded, the clearing/unmasking of level triggered interrupts could be done before the threaded handler actually ran. Signed-off-by: Kevin

[PATCH] Generic IRQ: Add unlocked version of set_irq_handler()

2007-12-04 Thread Kevin Hilman
. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- include/linux/irq.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index 879ab83..2465709 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -347,6 +347,13

[PATCH] ARM: OMAP: use edge/level handlers from generic IRQ framework

2007-12-04 Thread Kevin Hilman
correct behavior when using threaded interrupts introduced by the -rt patch. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- arch/arm/plat-omap/gpio.c | 40 +++- 1 files changed, 7 insertions(+), 33 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch

[PATCH -rt] ARM: compile fix for event tracing

2007-12-03 Thread Kevin Hilman
The cycles/usecs conversion macros should be dependent on CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- a/include/asm-arm/timex.h +++ b/include/asm-arm/timex.h @@ -18,7 +18,7 @@ typedef unsigned long cycles_t; #ifndef mach_read_cycles

[PATCH 2.6.23-rc2-rt2] call IRQ-chip's end hook in thread_simple_irq()

2007-08-30 Thread Kevin Hilman
configured either as edge or level. When using threaded IRQs, the only way to know when the handler is done and do the proper ack/unmask is via the end hook. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- linux-2.6.21.orig/kernel/irq/manage.c +++ linux-2.6.21/kernel/irq/manage.c @@ -637,6 +637,8

[PATCH 2.6.23-rc2-rt2] ARM: use raw lock in __new_context

2007-08-30 Thread Kevin Hilman
The ARM CPU ASID lock should be raw as it's used by schedule() when creating a new context. Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- dev.orig/arch/arm/mm/context.c +++ dev/arch/arm/mm/context.c @@ -14,7 +14,7 @@ #include asm/mmu_context.h #include asm/tlbflush.h -static

[PATCH 2.6.23-rc2-rt2] misc. compile fixes for UP builds

2007-08-16 Thread Kevin Hilman
Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- include/linux/percpu_list.h |2 +- include/linux/smp.h |3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) Index: dev/include/linux/percpu_list.h

Re: v2.6.22.1-rt3

2007-07-13 Thread Kevin Hilman
and OMAP2). Signed-off-by: Kevin Hilman [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-rt-users in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: v2.6.22.1-rt3

2007-07-13 Thread Kevin Hilman
Thomas, A typo in preempt-irqs-core.patch, where IRQF_TIMER is changed to _IRQF_TIMER but called later as __IRQF_TIMER. Here's a patch to compile, but not sure if you want one or two underscores. With these two paches, -rt3 is building/booting for ARM/OMAP1. Kevin Index:

[PATCH -rt 5/6] ARM: Fix save_stack_trace() prototype

2007-07-13 Thread Kevin Hilman
Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- arch/arm/lib/stacktrace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/arm/lib/stacktrace.c === --- linux-2.6.orig/arch/arm/lib/stacktrace.c

[PATCH -rt 3/6] Compile fix for PREEMPT_TIMING on and TRACE_IRQFLAGS off

2007-07-13 Thread Kevin Hilman
Fix compile of latency_trace.c in the case where CRITICAL_PREEMPT_TIMING=y and TRACE_IRQFLAGS=n (because DEBUG_KERNEL is disabled) Signed-off-by: Kevin Hilman [EMAIL PROTECTED] --- kernel/latency_trace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.21/kernel