genirq/msi: Provide msi_match_device_domain()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:25:57 +0000 (00:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 18:21:01 +0000 (19:21 +0100)
commit26e91b75bf6108550035355c835bf0c93c885b61
treed79e3001c870060f7679e9ef08213e53f9fe3e77
parent27a6dea3ebaab3d6f8ded969ec3af710bcbe0c02
genirq/msi: Provide msi_match_device_domain()

Provide an interface to match a per device domain bus token. This allows to
query which type of domain is installed for a particular domain id. Will be
used for PCI to avoid frequent create/remove cycles for the MSI resp. MSI-X
domains.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232325.738047902@linutronix.de
include/linux/msi.h
kernel/irq/msi.c