]> 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)
commitd44f95959eccf92d198162453d292892c8542300
treee9f186002199177ab6cccc8b562fdb23cd2fb3f6
parentadfcad6af4aa59a53bffe25a7b23ecc8daea9d39
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