Reputation: 88
I am using p2041 with xr17v358 chip for serial interface.when I was running my test application I was showing disabling irq messages. After that I added some debug prints in my isr so I get to know that even though my card is not generating the interrupts it is calling isr continuously I just wanted to know about spurious interrupt. What is Spurious interrupt? How to handle it in linux based system? Spurious interrupt is issue of hardware or software? How to get know source of spurious interrupt?
Upvotes: 1
Views: 6529
Reputation: 448
I would like to add information here, spurious interrupts are mentioned in the manual.
from arm tech manual http://www.cl.cam.ac.uk/research/srg/han/ACS-P35/zynq/arm_gic_architecture_specification.pdf
1.4.4 Spurious interrupts
It is possible that an interrupt that the GIC has signaled to a processor is no longer required. If this happens, when
the processor acknowledges the interrupt, the GIC returns a special Interrupt ID that identifies the interrupt as a
spurious interrupt. Example reasons for spurious interrupts are:
• prior to the processor acknowledging an interrupt:
— software changes the priority of the interrupt
— software disables the interrupt
— software changes the processor that the interrupt targets
• for a 1-N interrupt, another target processor has previously acknowledged that interrupt.
Upvotes: 1