Re: Pending interrupts not always replayed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guillaume Knispel
Date: Sunday, April 18, 2010 - 7:46 am

On Sun, 18 Apr 2010 05:34:39 +0200
Guillaume Knispel <gknispel@proformatique.com> wrote:


A follow up on this issue and on my CONFIG_HARDIRQS_SW_RESEND tests:
I've basically done this:

Index: linux-2.6.22.18/arch/powerpc/Kconfig
===================================================================
--- linux-2.6.22.18.orig/arch/powerpc/Kconfig   2010-04-18 15:22:24.000000000 +0200
+++ linux-2.6.22.18/arch/powerpc/Kconfig        2010-04-18 15:23:21.000000000 +0200
@@ -35,6 +35,10 @@
        bool
        default y
 
+config HARDIRQS_SW_RESEND
+       bool
+       default y
+
 config IRQ_PER_CPU
        bool
        default y

(yeah, I know, old kernel, but the code involved hasn't change much
 since)

and of course +CONFIG_HARDIRQS_SW_RESEND=y in my .config

Now everything seems to work fine: my device was not previously not
interrupting anymore after typically 1 or 2 minutes (because the
interrupt signal stays at level low until the device is served, so
if one falling edge is missed no more interruption will ever be seen),
and right now it has been running for 1 hour without any observable
problem.

Cheers!
-- 
Guillaume Knispel
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Pending interrupts not always replayed, Guillaume Knispel, (Sat Apr 17, 8:34 pm)
Re: Pending interrupts not always replayed, Guillaume Knispel, (Sun Apr 18, 7:46 am)
Re: Pending interrupts not always replayed, Thomas Gleixner, (Sun Apr 18, 12:14 pm)
Re: Pending interrupts not always replayed, Guillaume Knispel, (Mon Apr 19, 6:09 am)