Skip to content

Commit de1ff30

Browse files
committed
genirq/irqdomain: Remove the param count restriction from select()
Now that the GIC-v3 callback can handle invocation with a fwspec parameter count of 0 lift the restriction in the core code and invoke select() unconditionally when the domain provides it. Preparatory change for per device MSI domains. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1513782 commit de1ff30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/irqdomain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ struct irq_domain *irq_find_matching_fwspec(struct irq_fwspec *fwspec,
448448
*/
449449
mutex_lock(&irq_domain_mutex);
450450
list_for_each_entry(h, &irq_domain_list, link) {
451-
if (h->ops->select && fwspec->param_count)
451+
if (h->ops->select)
452452
rc = h->ops->select(h, fwspec, bus_token);
453453
else if (h->ops->match)
454454
rc = h->ops->match(h, to_of_node(fwnode), bus_token);

0 commit comments

Comments
 (0)