]> Gentwo Git Trees - linux/.git/commit
irqchip/msi-lib: Honour the MSI_FLAG_NO_AFFINITY flag
authorMarc Zyngier <maz@kernel.org>
Tue, 13 May 2025 17:28:16 +0000 (18:28 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2025 19:32:20 +0000 (21:32 +0200)
commit06526443a34c06879664eb5ae247c5e93dde7ed9
tree2c40da6d45cde640cab9dac2b9bd02cf0b56754d
parentb35961ce0a979fa9c2b0d30a346d3a74ef670aa6
irqchip/msi-lib: Honour the MSI_FLAG_NO_AFFINITY flag

Bad MSI implementations multiplex MSIs onto a single downstream interrupt,
meaning they have no concept of individual affinity.

The old MSI code did a reasonable job at this by honouring the
MSI_FLAG_NO_AFFINITY, but the new shiny device MSI code doesn't.

Teach it about the sad reality of existing hardware.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250513172819.2216709-7-maz@kernel.org
drivers/irqchip/irq-msi-lib.c