arm64: suspend: Use cpuidle context helpers in cpu_suspend()
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Jun 2021 11:12:27 +0000 (12:12 +0100)
committerWill Deacon <will@kernel.org>
Thu, 17 Jun 2021 17:00:39 +0000 (18:00 +0100)
commit77345ef70445a8f16e0685dade0d68bdf41f19d7
treef5adbfddd97a2018a226d0051bb73696eae26952
parentc9223b616298c3d0e6ff5dd20d14d65c2131c535
arm64: suspend: Use cpuidle context helpers in cpu_suspend()

Use cpuidle context helpers to switch to using DAIF.IF instead
of PMR to mask interrupts, ensuring that we suspend with
interrupts being able to reach the CPU interface.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210615111227.2454465-5-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/suspend.c