]> Git Repo - linux.git/commit
cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE
authorPeter Zijlstra <[email protected]>
Wed, 8 Jun 2022 14:27:27 +0000 (16:27 +0200)
committerRafael J. Wysocki <[email protected]>
Wed, 8 Jun 2022 16:05:45 +0000 (18:05 +0200)
commit32d4fd5751eadbe1823a37eb38df85ec5c8e6207
treea4b391660c689711f1523c8a8818f03fbdb18eb0
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE

Commit c227233ad64c ("intel_idle: enable interrupts before C1 on
Xeons") wrecked intel_idle in two ways:

 - must not have tracing in idle functions
 - must return with IRQs disabled

Additionally, it added a branch for no good reason.

Fixes: c227233ad64c ("intel_idle: enable interrupts before C1 on Xeons")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
[ rjw: Moved the intel_idle() kerneldoc comment next to the function ]
Cc: 5.16+ <[email protected]> # 5.16+
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/idle/intel_idle.c
This page took 0.055315 seconds and 4 git commands to generate.