diff options
author | Marc Zyngier <maz@kernel.org> | 2020-03-04 20:33:09 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-03-19 11:21:58 +0000 |
commit | 28d160de5194c68ff534443d2a8b6f1d10d57c58 (patch) | |
tree | 5854b4b387b278e4f14f83f51b1b8a04c2740c42 /drivers/irqchip/irq-gic-pm.c | |
parent | 0b04758b002bde9434053be2fff8064ac3d9d8bb (diff) |
irqchip/gic-v4.1: Skip absent CPUs while iterating over redistributors
In a system that is only sparsly populated with CPUs, we can end-up with
redistributors structures that are not initialized. Let's make sure we
don't try and access those when iterating over them (in this case when
checking we have a L2 VPE table).
Fixes: 4e6437f12d6e ("irqchip/gic-v4.1: Ensure L2 vPE table is allocated at RD level")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20200304203330.4967-3-maz@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-gic-pm.c')
0 files changed, 0 insertions, 0 deletions