diff options
author | Marc Zyngier <[email protected]> | 2021-06-15 12:12:26 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-17 18:00:39 +0100 |
commit | c9223b616298c3d0e6ff5dd20d14d65c2131c535 (patch) | |
tree | 2ccdd6c72704403c9de79d46f01eb463f92e9dd9 /tools/perf/scripts/python | |
parent | d4dc10277255afc303de4f00cbee0b9ce74d870f (diff) |
PSCI: Use cpuidle context helpers in psci_cpu_suspend_enter()
The PSCI CPU suspend code isn't aware of the PMR vs DAIF game,
resulting in a system that locks up if entering CPU suspend
with GICv3 pNMI enabled.
To save the day, teach the suspend code about our new cpuidle
context helpers, which will do everything that's required just
like the usual WFI cpuidle code.
This fixes my Altra system, which would otherwise lock-up at
boot time when booted with irqchip.gicv3_pseudo_nmi=1.
Tested-by: Valentin Schneider <[email protected]>
Reviewed-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions