+25
−9
Loading
mainline inclusion from mainline-v5.19 commit 32d4fd57 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB1H2A CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=32d4fd5751eadbe1823a37eb38df85ec5c8e6207 ------------------------------------------------- Intel-SIG: commit 32d4fd57 intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE Backport for GNR intel_idle support and fix on 5.10 Commit c227233a ("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: c227233a ("intel_idle: enable interrupts before C1 on Xeons") Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> [ rjw: Moved the intel_idle() kerneldoc comment next to the function ] Cc: 5.16+ <stable@vger.kernel.org> # 5.16+ Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ yingbao jia: amend commit log ] Signed-off-by:
yingbao jia <yingbao.jia@intel.com>