diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2018-06-22 10:52:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 11:24:56 +0200 |
commit | 7dfc81992a3e0da45e45eab2f113658f3628f743 (patch) | |
tree | d710403bc91f4501f42ec9d261ebd728e003de5e /Documentation/crypto | |
parent | 88c4318d36337ddaeb21eeae34a405a6b9f93bc0 (diff) | |
download | linux-exynos-7dfc81992a3e0da45e45eab2f113658f3628f743.tar.gz linux-exynos-7dfc81992a3e0da45e45eab2f113658f3628f743.tar.bz2 linux-exynos-7dfc81992a3e0da45e45eab2f113658f3628f743.zip |
irqchip/gic-v3-its: Don't bind LPI to unavailable NUMA node
commit c1797b11a09c8323c92b074fd48b89a936c991d0 upstream.
On a NUMA system, if an ITS is local to an offline node, the ITS driver may
pick an offline CPU to bind the LPI. In this case, pick an online CPU (and
the first one will do).
But on some systems, binding an LPI to non-local node CPU may cause
deadlock (see Cavium erratum 23144). In this case, just fail the activate
and return an error code.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Sumit Garg <sumit.garg@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180622095254.5906-5-marc.zyngier@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/crypto')
0 files changed, 0 insertions, 0 deletions