I am writing to this list after a long back.
I have spurious interrupt problem in do_IRQ() in otherwise
linux port on mips lexra board .problem happens if I use ISDN
but it doesn't happen essentially before or after ISDN card
we have tried writing FFh in ISDN card mask register then again
restoring old mask in end of ISDN ISR as indicated in ISDN manual
for interfacing with some interrupt controllers , but it didn't
so might be some minute problem in BSP.but i have a more
fundamental question for now.
actually do_IRQ calls mask_irq and unmask_irq and there it
".......wrong irq number -1 pased.........."
if i see the code for file int-handler.S
In the first level interrupt handling code we jump to do_IRQ only
when irq is >= 0 otherwise we just return as per the code piece
as per the code below do_IRQ() should always be passed a valid irq
bgez a0, handle_it # irq_nr >= 0?
# irq_nr < 0: just
nop # delay slot
handle_it: jal do_IRQ
return_: j ret_from_irq
I am litle confused why irq -1 is being passed to do_IRQ at all.
pls. cc the reply to me as well.
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp