]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit4ad3e3634a6cbe916722c7113c5b488d52c7a3dc
treee9f186002199177ab6cccc8b562fdb23cd2fb3f6
parent7e195ba03738dec72fe337dcd3cb3c3c2bd66c30
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