]> asedeno.scripts.mit.edu Git - linux.git/commit
irqchip/gic-v3: Add quirk for msm8996 broken registers
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 10 Dec 2018 13:56:32 +0000 (13:56 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 13 Dec 2018 17:24:32 +0000 (17:24 +0000)
commit9c8114c20d1876c8053d58dd92ea2a81c67dc198
treecd2290932875deb68c0a61b001fb7df99d7ca6cb
parentf70fdb42a095d265813d6cc8bd10497d7c592ab6
irqchip/gic-v3: Add quirk for msm8996 broken registers

Access to GICR_WAKER is restricted on msm8996 SoC in Hypervisor.
Its been more than 2+ years of wait for this to be fixed, which has
no hopes to be fixed. This change was introduced for the "lead device"
on msm8996 platform. It looks like all publicly available msm8996 and
other Qualcomm SoCs have this implementation.

So add a quirk to not access this register on msm8996.

With this quirk MSM8996 can at least boot out of mainline,
which can help community to work with boards based on MSM8996 and other
SoCs with have this restrictions. This Quirk is based on device tree
compatible string.

Without this patch Qualcomm DB820c board reboots when GICR_WAKER
is accessed.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3.c