-
Notifications
You must be signed in to change notification settings - Fork 2
[PW_SID:1029543] riscv-imsic/aplic: Preserve IMSIC and APLIC states during suspend #1170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: workflow__riscv__fixes
Are you sure you want to change the base?
Conversation
The IMSIC might be reset when the system enters a low power state, but on exit nothing restores the registers, which prevents interrupt delivery. Solve this by registering a CPU power management notifier, which restores the IMSIC on exit. Reviewed-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Cyan Yang <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Nutty Liu <[email protected]> Signed-off-by: Nick Hu <[email protected]> Signed-off-by: Linux RISC-V bot <[email protected]>
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. Reviewed-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Cyan Yang <[email protected]> Reviewed-by: Nutty Liu <[email protected]> Signed-off-by: Nick Hu <[email protected]> Signed-off-by: Linux RISC-V bot <[email protected]>
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 1: "[v3,1/2] irqchip/riscv-imsic: Add a CPU pm notifier to restore the IMSIC on exit" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
|
Patch 2: "[v3,2/2] irqchip/riscv-aplic: Preserve APLIC states across suspend/resume" |
PR for series 1029543 applied to workflow__riscv__fixes
Name: riscv-imsic/aplic: Preserve IMSIC and APLIC states during suspend
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1029543
Version: 3