Skip to content

Commit 29994d0

Browse files
committed
Merge: ACPI: processor idle: avoid call to raw_local_irq_disable() from acpi_safe_halt()
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/2733 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2217308 Upstream Status: RHEL-only Tested: https://bugzilla.redhat.com/show_bug.cgi?id=2217308#c5 Although it works upstream, for some reason calling raw_local_irq_disable() results in the following error during cpu idle: WARNING: CPU: 0 PID: 0 at kernel/sched/clock.c:397 sched_clock_tick+0xfa/0x150 For now call local_irq_disable() on RHEL until this issue is resolved. Signed-off-by: David Arcari <darcari@redhat.com> Approved-by: Tony Camuso <tcamuso@redhat.com> Approved-by: Mark Langsdorf <mlangsdo@redhat.com> Signed-off-by: Jan Stancek <jstancek@redhat.com>
2 parents f324f50 + 097854a commit 29994d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/processor_idle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static void __cpuidle acpi_safe_halt(void)
110110
{
111111
if (!tif_need_resched()) {
112112
raw_safe_halt();
113-
raw_local_irq_disable();
113+
local_irq_disable();
114114
}
115115
}
116116

0 commit comments

Comments
 (0)