Author: skra
Date: Thu Apr  7 15:16:33 2016
New Revision: 297676
URL: https://svnweb.freebsd.org/changeset/base/297676

Log:
  Fix intr_irq_shuffle(). After r297539, ISRCs doing IPI may be also
  registered into global interrupt table. Thus, they must be filtered out
  like per-cpu interrupts. Fortunately, it does not influence anything
  on interrupt controllers which already use INTRNG.

Modified:
  head/sys/kern/subr_intr.c

Modified: head/sys/kern/subr_intr.c
==============================================================================
--- head/sys/kern/subr_intr.c   Thu Apr  7 15:11:24 2016        (r297675)
+++ head/sys/kern/subr_intr.c   Thu Apr  7 15:16:33 2016        (r297676)
@@ -1190,7 +1190,7 @@ intr_irq_shuffle(void *arg __unused)
        for (i = 0; i < NIRQ; i++) {
                isrc = irq_sources[i];
                if (isrc == NULL || isrc->isrc_handlers == 0 ||
-                   isrc->isrc_flags & INTR_ISRCF_PPI)
+                   isrc->isrc_flags & (INTR_ISRCF_PPI | INTR_ISRCF_IPI))
                        continue;
 
                if (isrc->isrc_event != NULL &&
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to