Skip to content

Support SSTC while PM operations

Nick Hu linux-pm linux-riscv lkml 4 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyApplied 2/2
  2. v32 patches 3 repliesSuperseded 1 of 2 applied
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches10 repliesSuperseded

Changes in v4 from the cover letter

1. Apply the suggestion from Daniel to stop the clock before disabling the irq.

Patches in v4 All 2 applied

#Subject and filesSizeRepliesApplied
1/2riscv: Add stimecmp save and restorearch/riscv/include/asm/suspend.h arch/riscv/kernel/suspend.c+18 -00 repliesApplied
2/2clocksource/drivers/timer-riscv: Stop stimecmp when cpu hotplugdrivers/clocksource/timer-riscv.c+6 -01 replyApplied

Reviews trailers per patch

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

PatchAnup PatelDaniel Lezcano
1/2R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Support SSTC while PM operations

When the cpu is going to be hotplug, stop the stimecmp to prevent pending interrupt.
When the cpu is going to be suspended, save the stimecmp before entering the suspend state and restore it in the resume path.

changes in v4:
1. Apply the suggestion from Daniel to stop the clock before disabling the irq.

changes in v3:
1. Update the commit description
2. Remove csr_read/write_hi_lo from the previous patch

changes in v2:
1. Add csr_read/write_hi_lo operations
2. Apply the suggestion from Anup.

Nick Hu (2):
riscv: Add stimecmp save and restore clocksource/drivers/timer-riscv: Stop stimecmp when cpu hotplug

 arch/riscv/include/asm/suspend.h  |  4 ++++
 arch/riscv/kernel/suspend.c       | 14 ++++++++++++++
 drivers/clocksource/timer-riscv.c |  6 ++++++
 3 files changed, 24 insertions(+)
Signature · 7 lines
2.17.1


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