[PATCH v12 01/25] irqchip/gic-v3: Make gic_irq_domain_select() robust for zero parameter count

Marc Zyngier maz at kernel.org
Thu Feb 15 03:47:46 PST 2024


On Sat, 27 Jan 2024 16:17:29 +0000,
Anup Patel <apatel at ventanamicro.com> wrote:
> 
> From: Thomas Gleixner <tglx at linutronix.de>
> 
> Currently the irqdomain select callback is only invoked when the parameter
> count of the fwspec arguments is not zero. That makes sense because then
> the match is on the firmware node and eventually on the bus_token, which is
> already handled in the core code.
> 
> The upcoming support for per device MSI domains requires to do real bus
> token specific checks in the MSI parent domains with a zero parameter
> count.
> 
> Make the gic-v3 select() callback handle that case.
> 
> Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Marc Zyngier <maz at kernel.org>

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-riscv mailing list