diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2025-02-17 14:26:48 +0530 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-02-20 15:19:26 +0100 | 
| commit | 1c000dcaad2bef20189f3868207f515ef4b637ee (patch) | |
| tree | 14f06a8e60f0cc2adbae7402fb8b2373073c6b05 /rust/kernel | |
| parent | 999f458c1771354371ba367dd84f55f9a62a4233 (diff) | |
irqchip/irq-msi-lib: Optionally set default irq_eoi()/irq_ack()
msi_lib_init_dev_msi_info() sets the default irq_eoi()/irq_ack() callbacks
unconditionally. This is correct for all existing users, but prevents the
IMSIC driver to be moved to the MSI library implementation.
Introduce chip_flags in struct msi_parent_ops, which instruct the library
to selectively set the callbacks depending on the flags, and update all
current users to set them.
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/all/20250217085657.789309-3-apatel@ventanamicro.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
