Re: [PATCH v2] irqchip: gic-v3: Handle failure case of CPU enters low power state

From: Marc Zyngier
Date: Wed Jan 08 2025 - 06:23:03 EST


On Fri, 20 Dec 2024 09:39:07 +0000,
Yogesh Lal <quic_ylal@xxxxxxxxxxx> wrote:
>
> Adding a new condition in gic_cpu_pm_notifier to address instances
> where the CPU fails to enter low power mode (CPU_PM_ENTER_FAILED).
> The CPU_PM framework signals CPU_PM_ENTER_FAILED upon such failures.
>
> When the CPU attempts to enter low power mode, it disables the
> redistributor and Group 1 interrupts and reinitializes the system
> registers upon wakeup.
>
> In case of failure while entering low power mode, it is necessary
> to re-enable the redistributor and Group 1 interrupts to restore
> normal operation.
>
> Signed-off-by: Yogesh Lal <quic_ylal@xxxxxxxxxxx>

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

--
Without deviation from the norm, progress is not possible.