Re: [PATCH] irqchip/gic-v3: do not access GICR_WAKER if its secured register.

From: Sudeep Holla
Date: Tue Jun 12 2018 - 11:24:29 EST


On Tue, Jun 12, 2018 at 3:55 PM, Srinivas Kandagatla
<srinivas.kandagatla@xxxxxxxxxx> wrote:
> GICR_WAKER can be a secured register, check this before accessing it
> as its done in power management code.
>
> Without this patch Qualcomm DB820c board crashes.
>

Are you sure this is the one causing the crash ?

As per GIC specification:
"When GICD_CTLR.DS==1, this register is always accessible.
When GICD_CTLR.DS==0, this is a Secure register. This register is RAZ/WI
to Non-secure accesses."


--
Regards,
Sudeep