]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/armada-370-xp: Only call ipi_resume() if IPI is available
authorPali Rohár <pali@kernel.org>
Fri, 21 Jun 2024 09:38:29 +0000 (11:38 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 15:23:08 +0000 (17:23 +0200)
commitde796fc184179de86fb87f94178459b5b20b1b1b
treea42ef943ade7f8958e695d16bc0182cf1cbd7f46
parent3cef738208e5c3cb7084e208caf9bbf684f24feb
irqchip/armada-370-xp: Only call ipi_resume() if IPI is available

IPI is available only on systems where the mpic controller does not have a
parent interrupt defined (e.g. on Armada XP). If a parent interrupt is
defined, inter-processor interrupts are handled by an interrupt controller
higher in the hierarchy (most probably a parent GIC).

Only call ipi_resume() on systems where IPI is available in the mpic
controller.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
[ refactored a little and changed commit message ]
drivers/irqchip/irq-armada-370-xp.c