
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8LQCC CVE: NA ------------------------------------------------- The `CPU_PM_ENTER_FAILED` case was added to align with the handling in `sdei_pm_notifier`. This ensures proper masking/unmasking of events for the CPU when entering idle fails, maintaining consistency across CPU power management actions. Signed-off-by: Bowen You <youbowen2@huawei.com> --- arch/arm64/kernel/watchdog_sdei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/watchdog_sdei.c b/arch/arm64/kernel/watchdog_sdei.c index d8019becf10d..9d63bb063718 100644 --- a/arch/arm64/kernel/watchdog_sdei.c +++ b/arch/arm64/kernel/watchdog_sdei.c @@ -123,6 +123,7 @@ static int sdei_watchdog_pm_notifier(struct notifier_block *nb, rv = sdei_api_event_disable(sdei_watchdog_event_num); break; case CPU_PM_EXIT: + case CPU_PM_ENTER_FAILED: if (per_cpu(sdei_usr_en, smp_processor_id())) rv = sdei_api_event_enable(sdei_watchdog_event_num); break; -- 2.34.1