Skip to content

arm64: Fix cpuidle/suspend with pseudo-NMI enabled

Marc Zyngier linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/cpuidle), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v13 patches 14 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4arm64: Add cpuidle context save/restore helpersarch/arm/include/asm/cpuidle.h arch/arm64/include/asm/cpuidle.h+40 -00 replies
2/4arm64: Convert cpu_do_idle() to using cpuidle context helpersarch/arm64/kernel/process.c+9 -320 replies
3/4PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter()drivers/firmware/psci/psci.c+7 -21 reply
4/4arm64: suspend: Use cpuidle context helpers in cpu_suspend()arch/arm64/kernel/suspend.c+11 -11 reply

Reviews trailers per patch

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

PatchValentin SchneiderLorenzo PieralisiSudeep Holla
1/4T-b R-b
2/4T-b R-b
3/4T-b R-b R-b
4/4R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] arm64: Fix cpuidle/suspend with pseudo-NMI enabled

This is a follow-up on the series posted at [1], with some added fixes. The main difference is the covering of system suspend, although it is untested (the GICv3 boxes I have don't support system suspend...).

Tested on an Ampere Altra system.

* From v1:
- Moved the wrapping of cpu_suspend() into the body of the function, now covering system suspend as well
- Added RBs, TBs.

[1] https://lore.kernel.org/r/[email protected]

Marc Zyngier (4):
arm64: Add cpuidle context save/restore helpers
arm64: Convert cpu_do_idle() to using cpuidle context helpers
PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter()
arm64: suspend: Use cpuidle context helpers in cpu_suspend()

 arch/arm/include/asm/cpuidle.h   |  5 ++++
 arch/arm64/include/asm/cpuidle.h | 35 +++++++++++++++++++++++++++
 arch/arm64/kernel/process.c      | 41 +++++++-------------------------
 arch/arm64/kernel/suspend.c      | 12 +++++++++-
 drivers/firmware/psci/psci.c     |  9 +++++--
 5 files changed, 67 insertions(+), 35 deletions(-)
Signature · 7 lines
2.30.2


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