[0/4] x86/cpuidle fixes and optimization

Message ID 20231115151325.6262-1-frederic@kernel.org
Headers
Series x86/cpuidle fixes and optimization |

Message

Frederic Weisbecker Nov. 15, 2023, 3:13 p.m. UTC
  This is the x86 part of a cpuidle series I posted a few time ago. There
is a fix by Peter (Not-yet-signed-off-by btw.), the rest is comment and
optimizations.

Frederic Weisbecker (3):
  x86: Add a comment about the "magic" behind shadow sti before mwait
  x86: Remove __current_clr_polling() from mwait_idle()
  x86: Remove the current_clr_polling() call upon mwait exit

Peter Zijlstra (1):
  x86: Fix CPUIDLE_FLAG_IRQ_ENABLE leaking timer reprogram

 arch/x86/include/asm/mwait.h | 21 ++++++++++++++++++---
 arch/x86/kernel/process.c    |  1 -
 drivers/acpi/acpi_pad.c      |  1 +
 drivers/idle/intel_idle.c    | 19 +++++++------------
 4 files changed, 26 insertions(+), 16 deletions(-)