[PATCH 0/4] x86/cpuidle fixes and optimization

From: Frederic Weisbecker
Date: Wed Nov 15 2023 - 10:14:05 EST


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(-)

--
2.42.1