]> Gentwo Git Trees - linux/.git/commit
genirq/msi: Add helper for creating MSI-parent irq domains
authorMarc Zyngier <maz@kernel.org>
Tue, 13 May 2025 17:28:12 +0000 (18:28 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2025 19:32:20 +0000 (21:32 +0200)
commite4d001b54f78769ba1a1404c2801ae95e19fd893
tree0b1ec43cc196f444b9b65fcb41562124296b2791
parente51b27438a10391fdc94dd2046d9ffa9c2679c74
genirq/msi: Add helper for creating MSI-parent irq domains

Creating an irq domain that serves as an MSI parent requires
a substantial amount of esoteric boiler-plate code, some of
which is often provided twice (such as the bus token).

To make things a bit simpler for the unsuspecting MSI tinkerer,
provide a helper that does it for them, and serves as documentation
of what needs to be provided.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250513172819.2216709-3-maz@kernel.org
include/linux/msi.h
kernel/irq/msi.c