irqchip: gic: Preserve gic V2 bypass bits in cpu ctrl register
authorFeng Kan <fkan@apm.com>
Wed, 30 Jul 2014 21:56:59 +0000 (14:56 -0700)
committerJason Cooper <jason@lakedaemon.net>
Tue, 19 Aug 2014 15:08:07 +0000 (15:08 +0000)
This change is made to preserve the GIC v2 bypass bits in the
GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec).
This code will preserve all bits configured by the bootloader regarding
v2 bypass group bits. In the X-Gene platform, the bypass functionality
is not used and bypass bits should not be changed by the kernel gic
code as it could lead to incorrect behavior.

Signed-off-by: Feng Kan <fkan@apm.com>
Reviewed-by: Vinayak Kale <vkale@apm.com>
Reviewed-by: Anup Patel <apatel@apm.com>
Link: https://lkml.kernel.org/r/1406757419-18729-3-git-send-email-fkan@apm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic.h

Simple merge
Simple merge