kernel: Don't allow IRQ affinity masks to have more than one CPU
Even with an affinity mask that has multiple CPUs set, IRQs always run
on the first CPU in their affinity mask. Drivers that register an IRQ
affinity notifier (such as pm_qos) will therefore have an incorrect
assumption of where an IRQ is affined.
Fix the IRQ affinity mask deception by forcing it to only contain one
set CPU.
Change-Id: I12d28a061b6dc0dca0d04f703fbd77a6f0024d3d
Signed-off-by:
Sultan Alsawaf <sultan@kerneltoast.com>
Loading
Please register or sign in to comment