Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932253AbWE3LWE (ORCPT ); Tue, 30 May 2006 07:22:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932269AbWE3LWD (ORCPT ); Tue, 30 May 2006 07:22:03 -0400 Received: from www.osadl.org ([213.239.205.134]:7620 "EHLO mail.tglx.de") by vger.kernel.org with ESMTP id S932253AbWE3LWB (ORCPT ); Tue, 30 May 2006 07:22:01 -0400 Subject: Re: RT_PREEMPT problem with cascaded irqchip From: Thomas Gleixner Reply-To: tglx@linutronix.de To: Yann.LEPROVOST@wavecom.fr Cc: Daniel Walker , linux-kernel@vger.kernel.org, linux-kernel-owner@vger.kernel.org, Ingo Molnar , Steven Rostedt , Esben Nielsen , Sven-Thorsten Dietrich In-Reply-To: References: Content-Type: text/plain Date: Tue, 30 May 2006 13:22:44 +0200 Message-Id: <1148988165.20582.19.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 25 On Tue, 2006-05-30 at 12:26 +0200, Yann.LEPROVOST@wavecom.fr wrote: > Of course, here is the file arch/arm/mach-at91rm9200/gpio.c with my > modified gpio_irq_handler. > for (i = 0; i < 32; i++, pin++) { > set_irq_chip(pin, &gpio_irqchip); > printk(KERN_ERR "GPIO SET_IRQ_CHIP\n"); > set_irq_handler(pin, do_simple_IRQ); -----------------------------------------^^^^^^^^^^^^^^^ Care to look into the implementation of this ? As the name says, its simple. It does no ack/mask whatever. Use the level resp. the edge handler instead. tglx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/