svn commit: r368629 - stable/12/sys/kern

Michal Meloun mmel at FreeBSD.org
Mon Dec 14 10:14:32 UTC 2020


Author: mmel
Date: Mon Dec 14 10:14:32 2020
New Revision: 368629
URL: https://svnweb.freebsd.org/changeset/base/368629

Log:
  MFC r367865:
  
    Also pass interrupt binding request to non-root interrupt controllers.  There
    are message based controllers that can bind interrupts even if they are not
    implemented as root controllers (such as the ITS subblock of GIC).

Modified:
  stable/12/sys/kern/subr_intr.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/subr_intr.c
==============================================================================
--- stable/12/sys/kern/subr_intr.c	Mon Dec 14 09:49:07 2020	(r368628)
+++ stable/12/sys/kern/subr_intr.c	Mon Dec 14 10:14:32 2020	(r368629)
@@ -575,9 +575,6 @@ intr_isrc_assign_cpu(void *arg, int cpu)
 	struct intr_irqsrc *isrc = arg;
 	int error;
 
-	if (isrc->isrc_dev != intr_irq_root_dev)
-		return (EINVAL);
-
 	mtx_lock(&isrc_table_lock);
 	if (cpu == NOCPU) {
 		CPU_ZERO(&isrc->isrc_cpu);


More information about the svn-src-stable mailing list