Skip to content

Save/restore for GICv3

Florian Fainelli linux-arm-kernel lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3irqchip/gic-v3: Use switch/case statements in gic_cpu_pm_notifierdrivers/irqchip/irq-gic-v3.c+10 -40 replies
2/3irqchip/gic-v3: Propagate gic_cpu_pm_init() return codedrivers/irqchip/irq-gic-v3.c+8 -20 replies
3/3irqchip/gic-v3: Save and restore distributor and re-distributordrivers/irqchip/irq-gic-v3.c include/linux/irqchip/arm-gic-v3.h+262 -06 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Save/restore for GICv3

Hi all,

This patch series adds support for saving and restoring the GIC distributor and re-distributor which was missing for platforms that implement suspend states where the GIC loses power and therefore its state.

The system that I have been testing this with has:

[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 288 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs

So no support for extended PPIs or SPIs, hopefully the code is correct, or close to.

Thanks!

Florian Fainelli (3):
irqchip/gic-v3: Use switch/case statements in gic_cpu_pm_notifier irqchip/gic-v3: Propagate gic_cpu_pm_init() return code irqchip/gic-v3: Save and restore distributor and re-distributor

 drivers/irqchip/irq-gic-v3.c       | 282 ++++++++++++++++++++++++++++-
 include/linux/irqchip/arm-gic-v3.h |   4 +
 2 files changed, 280 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1