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
This commit is contained in:
parent
e2eeea75eb
commit
d9de80d614
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367865
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user