irqchip/ls-scfg-msi: Fix MSI affinity handling
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Jun 2018 09:52:49 +0000 (10:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
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 <alexandre.belloni@bootlin.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Yang Yingliang <yangyingliang@huawei.com>
Cc: Sumit Garg <sumit.garg@linaro.org>
Link: https://lkml.kernel.org/r/20180622095254.5906-3-marc.zyngier@arm.com
drivers/irqchip/irq-ls-scfg-msi.c