irqchip/ls-scfg-msi: Fix MSI affinity handling
authorMarc Zyngier <[email protected]>
Fri, 22 Jun 2018 09:52:49 +0000 (10:52 +0100)
committerThomas Gleixner <[email protected]>
Fri, 22 Jun 2018 12:22:00 +0000 (14:22 +0200)
commit893fbfff976cd069f2e60c3b186dbe3f85504db2
tree2dc3e37460ca1964f3de396d52dc8982266e7184
parent72a8edc2d9134c2895eac2fec5eecf8230a05c96
irqchip/ls-scfg-msi: Fix MSI affinity handling

The ls-scfs-msi driver is not dealing with the effective affinity
as it should. Let's fix that, and make it clear that the effective
affinity is restricted to a single CPU. Also prevent the driver from
messing with the internals of the affinity setting infrastructure.

Reported-by: Alexandre Belloni <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Alexandre Belloni <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Yang Yingliang <[email protected]>
Cc: Sumit Garg <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
drivers/irqchip/irq-ls-scfg-msi.c