linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] arm64: Fix cpuidle/suspend with pseudo-NMI enabled
@ 2021-06-15 11:12 Marc Zyngier
  2021-06-15 11:12 ` [PATCH v2 1/4] arm64: Add cpuidle context save/restore helpers Marc Zyngier
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Marc Zyngier @ 2021-06-15 11:12 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Lorenzo Pieralisi, Will Deacon, Catalin Marinas, Mark Rutland,
	Valentin Schneider, Alexandru Elisei, Sudeep Holla, Russell King,
	kernel-team

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/20210608172715.2396787-1-maz@kernel.org

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(-)

-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-17 22:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 11:12 [PATCH v2 0/4] arm64: Fix cpuidle/suspend with pseudo-NMI enabled Marc Zyngier
2021-06-15 11:12 ` [PATCH v2 1/4] arm64: Add cpuidle context save/restore helpers Marc Zyngier
2021-06-15 11:12 ` [PATCH v2 2/4] arm64: Convert cpu_do_idle() to using cpuidle context helpers Marc Zyngier
2021-06-15 11:12 ` [PATCH v2 3/4] PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter() Marc Zyngier
2021-06-15 13:27   ` Sudeep Holla
2021-06-15 11:12 ` [PATCH v2 4/4] arm64: suspend: Use cpuidle context helpers in cpu_suspend() Marc Zyngier
2021-06-15 13:16   ` Sudeep Holla
2021-06-17 22:38 ` [PATCH v2 0/4] arm64: Fix cpuidle/suspend with pseudo-NMI enabled Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).