MLK-21399 irqchip: gic-v3: Rework the ERR11171 workaround
authorAbel Vesa <abel.vesa@nxp.com>
Mon, 13 May 2019 16:22:24 +0000 (19:22 +0300)
committerAbel Vesa <abel.vesa@nxp.com>
Fri, 31 May 2019 10:00:18 +0000 (13:00 +0300)
commit26a59057f88997dfe48ab7f81898ddd6b6d3903e
treed408dec685b9a1ec1c86fae714c1997ee09babc8
parent3b5a373732d72b271dd75d51917207d5b5586bd0
MLK-21399 irqchip: gic-v3: Rework the ERR11171 workaround

Instead of just raising irq0 for all the cores, we mask the irq0 for all the
non-target cores, this way waking up only the core we want. All of this
is done now in TF-A.

Also, since this new workaround doesn't need the IOMUX_GPR1 register here
in kernel, the IOMUX_GPR reg entry inside the gic dts node can be removed.

In order for this to work, the following commit is needed in TF-A:
 0e91ff59720d0756 ("MLK-21399 plat: imx8mq: gpc: Workaround for ERR11171")

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi
drivers/irqchip/irq-gic-v3.c
include/soc/imx/fsl_sip.h