Skip to content

riscv-imsic/aplic: Save and restore the registers

Nick Hu linux-riscv lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Address the compile error from kernel test robot when CONFIG_RISCV_M_MODE is enabled.
- Apply the suggestion from Anup [1]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2irqchip/riscv-imsic: Restore the IMSIC registersdrivers/irqchip/irq-riscv-imsic-early.c+32 -83 replies
2/2irqchip/riscv-aplic: Save and restore APLIC registersdrivers/irqchip/irq-riscv-aplic-direct.c drivers/irqchip/irq-riscv-aplic-main.c drivers/irqchip/irq-riscv-aplic-main.h+179 -13 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYong-Xuan WangCyan YangAnup PatelNutty Liu
1/2R-b R-b R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] riscv-imsic/aplic: Save and restore the registers

Since the APLIC and IMSIC may be powered down when the CPUs enter a deep sleep state, it is necessary to implement save and restore functions to ensure their states are correctly preserved and restored.

Changes in V2:
- Address the compile error from kernel test robot when CONFIG_RISCV_M_MODE is enabled.
- Apply the suggestion from Anup [1]

Link:
- [1] https://lore.kernel.org/linux-riscv/[email protected]/

Nick Hu (2):
irqchip/riscv-imsic: Restore the IMSIC registers irqchip/riscv-aplic: Save and restore APLIC registers

 drivers/irqchip/irq-riscv-aplic-direct.c |  11 ++
 drivers/irqchip/irq-riscv-aplic-main.c   | 158 ++++++++++++++++++++++-
 drivers/irqchip/irq-riscv-aplic-main.h   |  11 ++
 drivers/irqchip/irq-riscv-imsic-early.c  |  41 ++++--
 4 files changed, 212 insertions(+), 9 deletions(-)
Signature · 7 lines
2.17.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv