Loading
irqchip/riscv-aplic: Preserve APLIC states across suspend/resume
The APLIC states might be reset when the platform enters a low power state, but the register states are not being preserved and restored, which prevents interrupt delivery after the platform resumes. Solve this by adding a syscore ops and a power management notifier to preserve and restore the APLIC states on suspend and resume. [ tglx: Folded the build fix provided by Geert ] Signed-off-by:Nick Hu <nick.hu@sifive.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Reviewed-by:
Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by:
Cyan Yang <cyan.yang@sifive.com> Reviewed-by:
Nutty Liu <liujingqi@lanxincomputing.com> Reviewed-by:
Anup Patel <anup@brainfault.org> Link: https://patch.msgid.link/20251202-preserve-aplic-imsic-v3-2-1844fbf1fe92@sifive.com