diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-01-27 21:47:29 +0530 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-15 17:55:39 +0100 |
commit | 15137825100422c4c393c87af5aa5a8fa297b1f3 (patch) | |
tree | 9baa0b9a46bc50219531b45226f9e4b1e4395067 /kernel/irq | |
parent | 841c35169323cd833294798e58b9bf63fa4fa1de (diff) | |
download | linux-stable-15137825100422c4c393c87af5aa5a8fa297b1f3.tar.gz linux-stable-15137825100422c4c393c87af5aa5a8fa297b1f3.tar.bz2 linux-stable-15137825100422c4c393c87af5aa5a8fa297b1f3.zip |
irqchip/gic-v3: Make gic_irq_domain_select() robust for zero parameter count
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@linutronix.de>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240127161753.114685-2-apatel@ventanamicro.com
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions