summaryrefslogtreecommitdiff
path: root/include/ras
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-08-26 13:16:57 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-09-16 16:52:37 +0200
commit43e9e705dd57c466c4bfe32ab8c17db537b89297 (patch)
tree98da32e8a14d377b8475e0fd49f9379ae3df5dec /include/ras
parent70b59379efc3c818f48b8037e574654fb29f907c (diff)
irqdomain/msi: Allow to override msi_domain_alloc/free_irqs()
To support MSI irq domains which do not fit at all into the regular MSI irqdomain scheme, like the XEN MSI interrupt management for PV/HVM/DOM0, it's necessary to allow to override the alloc/free implementation. This is a preperatory step to switch X86 away from arch_*_msi_irqs() and store the irq domain pointer right in struct device. No functional change for existing MSI irq domain users. Aside of the evil XEN wrapper this is also useful for special MSI domains which need to do extra alloc/free work before/after calling the generic core function. Work like allocating/freeing MSI descriptors, MSI storage space etc. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200826112333.526797548@linutronix.de
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions