]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/gic_v3_mbi: Switch over to parent domain
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 15:18:51 +0000 (17:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jul 2024 18:31:20 +0000 (20:31 +0200)
commitda8ec7956efb5dc2be87f5f3beb3c9ed74316baf
treeece9d47e53ec8407b69e14e6526ce9e4fc4b653d
parentf6a9886a9e55a1e6bd78c7e505205d05ef50a71e
irqchip/gic_v3_mbi: Switch over to parent domain

The MBI chip creates two MSI domains:
    - PCI/MSI
    - Platform device domain

Both have the MBI domain as parent and differ slightly in the interrupt
chip callbacks and the platform device domain supports level type
signaling.

Convert it over to the MSI parent domain mechanism by:

   - Providing the required templates

   - Implementing a custom init_dev_msi_info() callback which sets the chip
     callbacks and the level support flags depending on the domain bus token
     type of the per device domain.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240623142235.455849114@linutronix.de
drivers/irqchip/irq-gic-v3-mbi.c