RTEMS | bsp/qoriq: Ignore spurious interrupts (!344)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Feb 7 23:10:28 UTC 2025




Gedare Bloom started a new discussion on bsps/powerpc/qoriq/irq/irq.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/344#note_119476

 >  
 >  void bsp_interrupt_dispatch(uintptr_t exception_number)
 >  {
 > -	rtems_vector_number vector = qoriq.pic.iack;
 > +	while (true) {
 > +		rtems_vector_number vector = qoriq.pic.iack;
 >  
 > -	if (vector != SPURIOUS) {
 > -		uint32_t msr = ppc_external_exceptions_enable();
 > +		if (vector == SPURIOUS) {
 > +			return;
 > +		}
 >  
 > +		uint32_t msr = ppc_external_exceptions_enable();

here too.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/344#note_119476
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250207/33a2330b/attachment-0001.htm>


More information about the bugs mailing list