mbox series

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

Message ID cover.1592892767.git.yu.c.chen@intel.com
Headers show
Series Fix IPI missing issue when woken from suspend to idle | expand

Message

Chen Yu June 23, 2020, 6:31 a.m. UTC
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(-)