[PATCH 0/3] Save/restore for GICv3

Florian Fainelli f.fainelli at gmail.com
Tue Feb 14 15:34:23 PST 2023


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(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list