]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0d578c0cf1ec7266cf8a8dc6bea3749485c2fde
tree2dc3e37460ca1964f3de396d52dc8982266e7184
parent4b7463d202877b5377fac07a3359a929a384be3f
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