[PATCH 0/2][v3] Fix IPI missing issue when woken from suspend to idle

From: Chen Yu
Date: Tue Jun 23 2020 - 02:30:25 EST


After an recent optimization on IPIs among idle Cores, the Goldmont failed to
resume from suspend to idle due to missing IPIs. This is because
Goldmont could only be woken up from idle via IPIs rather than POLLING.
Clear the POLLING flag before suspend to idle so that Goldmont will always
get IPIs during suspend to idle.

Chen Yu (2):
PM / s2idle: Clear _TIF_POLLING_NRFLAG before suspend to idle
PM / s2idle: Code cleanup to make s2idle consistent with normal idle
path

drivers/cpuidle/cpuidle.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)

--
2.17.1