diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-10-09 12:47:24 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-10-09 13:26:48 +0200 |
commit | 60b09c51bb4fb46e2331fdbb39f91520f31d35f7 (patch) | |
tree | bf2a6720af011f334828a174fc3b99dffcf8439f /kernel/printk | |
parent | 19e1d4e947cac3b5e08225d15ad7744e691c7376 (diff) | |
download | talos-obmc-linux-60b09c51bb4fb46e2331fdbb39f91520f31d35f7.tar.gz talos-obmc-linux-60b09c51bb4fb46e2331fdbb39f91520f31d35f7.zip |
genirq/cpuhotplug: Add sanity check for effective affinity mask
The effective affinity mask handling has no safety net when the mask is not
updated by the interrupt chip or the mask contains offline CPUs.
If that happens the CPU unplug code fails to migrate interrupts.
Add sanity checks and emit a warning when the mask contains only offline
CPUs.
Fixes: 415fcf1a2293 ("genirq/cpuhotplug: Use effective affinity mask")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1710042208400.2406@nanos
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions