[Fwd: irq 9: nobody cared! after moving from 2.4.19 to 2.6.11.5]

Daniel Ritz daniel.ritz at gmx.ch
Wed Apr 13 16:54:07 EDT 2005


On Wednesday 13 April 2005 22:20, Russell King wrote:
> On Wed, Apr 13, 2005 at 10:03:17PM +0200, Daniel Ritz wrote:
> > some bridges seem to generate an interrupt while disabling the ISA
> > interrupts. register the interrupt handler earlier to catch that one.
> > also give the device some time to clear it's status after disabling
> > interrupts (not that it should matter but it's safer)
> 
> This patch may also help, though I haven't tested it on x86.  It
> certainly shuts up the complaints on my ARM-based Cardbus bridge
> which has no ISA.
> 

it can't help. the irq storm happens in yenta_probe_cb_irq() not in
yenta_probe_irq(). also it's a bad thing to write a 0 there 'cos it
makes the whole code useless (the interrupt we're trying to force is
then just masked out)

what does the complaints on your ARMs look like btw.?

rgds
-daniel

> diff -urpN orig/drivers/pcmcia/yenta_socket.c linux/drivers/pcmcia/yenta_socket.c
> --- orig/drivers/pcmcia/yenta_socket.c	Fri Jan  9 22:39:36 2004
> +++ linux/drivers/pcmcia/yenta_socket.c	Sat Feb 21 14:41:05 2004
> @@ -764,7 +764,7 @@ static unsigned int yenta_probe_irq(stru
>  	 * register to generate bogus card status events.
>  	 */
>  	cb_writel(socket, CB_SOCKET_EVENT, -1);
> -	cb_writel(socket, CB_SOCKET_MASK, CB_CSTSMASK);
> +	cb_writel(socket, CB_SOCKET_MASK, 0); //CB_CSTSMASK);
>  	exca_writeb(socket, I365_CSCINT, 0);
>  	val = probe_irq_on() & isa_irq_mask;
>  	for (i = 1; i < 16; i++) {
> 
> 
> -- 
> Russell King
>  Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
>  maintainer of:  2.6 Serial core
> 
> 




More information about the linux-pcmcia mailing list