linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* plat-orion gpio regression for edge-sensitive on mv78xx0
@ 2011-06-29 20:01 Joey Oravec
  2011-06-30  9:52 ` Simon Guinot
  0 siblings, 1 reply; 5+ messages in thread
From: Joey Oravec @ 2011-06-29 20:01 UTC (permalink / raw)
  To: linux-arm-kernel

Nicolas, Lennert -

I just tested linux kernel 3.0-rc5 today. There were some major changes 
to arch/arm/plat-orion/gpio.c and I think they introduced a bug for edge 
sensitive interrupts. I have not tested any other types yet. This new 
version of the code specifies

ct->chip.irq_ack = irq_gc_ack;

But it looks like kernel/irq/generic-chip.c generates a positive mask (1 
to clear) and the MV78200 wants the opposite (0 to clear). The result is 
that the interrupt never gets ACKed and the handler will keep getting 
called.

-joey

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-03  8:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 20:01 plat-orion gpio regression for edge-sensitive on mv78xx0 Joey Oravec
2011-06-30  9:52 ` Simon Guinot
2011-06-30 21:39   ` [PATCH] genirq: replace irq_gc_ack with {set,clr}_bit variants Simon Guinot
2011-07-02 12:35     ` Simon Guinot
2011-07-03  8:41       ` saeed bishara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).