]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: gicv3-its: Fix PROP/PEND and BASE/CBASE confusion
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Mar 2015 14:15:04 +0000 (14:15 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 29 Mar 2015 19:25:51 +0000 (19:25 +0000)
commit3a70ae8c3b6bfabc1bac57f4eb68e63a77c28a4f
treee9f186002199177ab6cccc8b562fdb23cd2fb3f6
parent23e8fb63c446c81004d4fb7fc2bbabd68d145147
irqchip: gicv3-its: Fix PROP/PEND and BASE/CBASE confusion

The ITS driver sometime mixes up the use of GICR_PROPBASE bitfields
for the GICR_PENDBASE register, and GITS_BASER for GICR_CBASE.

This does not lead to any observable bug because similar bits are
at the same location, but this just make the code even harder to
understand...

This patch provides the required #defines and fixes the mixup.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1427465705-17126-4-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h