[PATCH v2 0/4] arm64: Fix cpuidle/suspend with pseudo-NMI enabled
Marc Zyngier
maz at kernel.org
Tue Jun 15 04:12:23 PDT 2021
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
More information about the linux-arm-kernel
mailing list