Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2020 10:14:32 +0000 (UTC)
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r368629 - stable/12/sys/kern
Message-ID:  <202012141014.0BEAEWAg099443@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012141014.0BEAEWAg099443>