irqchip/gic-v3: Honor forced affinity setting
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 4 Jul 2017 09:56:35 +0000 (10:56 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 4 Jul 2017 10:11:26 +0000 (11:11 +0100)
commit65a30f8b300107266f316d550f060ccc186201a3
treeb5b80632e39c846d5bc8796e393c3beb53177bdc
parent63c16c6eacb69d0cbdaee5dea0dd56d238375fe6
irqchip/gic-v3: Honor forced affinity setting

Honor the 'force' flag for set_affinity, by selecting a CPU
from the given mask (which may not be reported "online" by
the cpu_online_mask). Some drivers, like ARM PMU, rely on it.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3.c