genirq/irqdomain: Reroute device MSI create_mapping
authorThomas Gleixner <tglx@linutronix.de>
Sat, 27 Jan 2024 16:17:40 +0000 (21:47 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 16:55:41 +0000 (17:55 +0100)
commite49312fe09df36cc4eae0cd6e1b08b563a91e1bc
tree8cff7c34f84f4536b23a477484c799daed90c85b
parent0ee1578b00bcf5ef8e7955f0c6f02a624443eb29
genirq/irqdomain: Reroute device MSI create_mapping

Reroute interrupt allocation in irq_create_fwspec_mapping() if the domain
is a MSI device domain. This is required to convert the support for wire
to MSI bridges to per device MSI domains.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240127161753.114685-13-apatel@ventanamicro.com
kernel/irq/irqdomain.c