Skip to content

RFC Add workaround for core wake-up on IPI for i.MX8MQ

Abel Vesa linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 35 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2irqchip: irq-imx-gpcv2: Add workaround for i.MX8MQ ERR11171drivers/irqchip/irq-imx-gpcv2.c+42 -06 replies
2/2arm64: dts: imx8mq: Add idle states and gpcv2 wake_request broken propertyarch/arm64/boot/dts/freescale/imx8mq.dtsi+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] Add workaround for core wake-up on IPI for i.MX8MQ

This is another alternative for the RFC:
https://lkml.org/lkml/2019/3/27/545

This new workaround proposal is a little bit more hacky but more contained since everything is done within the irq-imx-gpcv2 driver.

Basically, it 'hijacks' the registered gic_raise_softirq __smp_cross_call handler and registers instead a wrapper which calls in the 'hijacked' handler, after that calling into EL3 which will take care of the actual wake up. This time, instead of expanding the PSCI ABI, we use a new vendor SIP.

I also have the patches ready for TF-A but I'll hold on to them until I see if this has a chance of getting in.

Abel Vesa (2):
irqchip: irq-imx-gpcv2: Add workaround for i.MX8MQ ERR11171
arm64: dts: imx8mq: Add idle states and gpcv2 wake_request broken
property

 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 20 +++++++++++++++
 drivers/irqchip/irq-imx-gpcv2.c           | 42 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
Signature · 1 line
2.7.4