Date: Fri, 20 Nov 2020 09:05:36 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367865 - head/sys/kern Message-ID: <202011200905.0AK95a1V002313@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Fri Nov 20 09:05:36 2020 New Revision: 367865 URL: https://svnweb.freebsd.org/changeset/base/367865 Log: 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). MFC after: 3 weeks Modified: head/sys/kern/subr_intr.c Modified: head/sys/kern/subr_intr.c ============================================================================== --- head/sys/kern/subr_intr.c Fri Nov 20 08:07:29 2020 (r367864) +++ head/sys/kern/subr_intr.c Fri Nov 20 09:05:36 2020 (r367865) @@ -588,9 +588,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?202011200905.0AK95a1V002313>