mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:26:44 +07:00
5dfc54e087
The irq_set_affinity() method can be called with masks which include offline CPUs. This allows offline CPUs to have interrupts routed to them by writing to /proc/irq/*/smp_affinity after hotplug has taken a CPU offline. Fix this by ensuring that we select a target CPU present in both the required affinity and the online CPU mask. Ensure that we return IRQ_SET_MASK_OK (which happens to be 0) on success to ensure generic code copies the new mask into the irq_data structure. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
dmabounce.c | ||
gic.c | ||
icst.c | ||
it8152.c | ||
Kconfig | ||
locomo.c | ||
Makefile | ||
pl330.c | ||
sa1111.c | ||
scoop.c | ||
sharpsl_param.c | ||
time-acorn.c | ||
timer-sp.c | ||
uengine.c | ||
via82c505.c | ||
vic.c |