summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-gic.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-03-15 19:50:32 +0300
committerMarc Zyngier <maz@kernel.org>2022-04-05 18:33:13 +0300
commit0df6664531a12cdd8fc873f0cac0dcb40243d3e9 (patch)
tree36147a2d0f98184419b7f3236090a33e387012f0 /drivers/irqchip/irq-gic.c
parentaf27e41612ec7e5b4783f589b753a7c31a37aac8 (diff)
downloadlinux-0df6664531a12cdd8fc873f0cac0dcb40243d3e9.tar.xz
irqchip/gic-v3: Fix GICR_CTLR.RWP polling
It turns out that our polling of RWP is totally wrong when checking for it in the redistributors, as we test the *distributor* bit index, whereas it is a different bit number in the RDs... Oopsie boo. This is embarassing. Not only because it is wrong, but also because it took *8 years* to notice the blunder... Just fix the damn thing. Fixes: 021f653791ad ("irqchip: gic-v3: Initial support for GICv3") Signed-off-by: Marc Zyngier <maz@kernel.org> Cc: stable@vger.kernel.org Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Link: https://lore.kernel.org/r/20220315165034.794482-2-maz@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-gic.c')
0 files changed, 0 insertions, 0 deletions