Skip to content
Commit c8f5caec authored by Borislav Petkov (AMD)'s avatar Borislav Petkov (AMD) Committed by Rafael J. Wysocki
Browse files

cpuidle: haltpoll: Do not enable interrupts when entering idle

The cpuidle drivers' ->enter() methods are supposed to be IRQ invariant:

  5e26aa93 ("cpuidle/poll: Ensure IRQs stay disabled after cpuidle_state::enter() calls")
  bb7b1125 ("cpuidle: Move IRQ state validation")

Do that in the haltpoll driver too.

Fixes: 5e26aa93

 ("cpuidle/poll: Ensure IRQs stay disabled after cpuidle_state::enter() calls")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218245
Reported-by: default avatar <forza@tnonline.net>
Tested-by: default avatar <forza@tnonline.net>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
[ rjw: Changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 92813fd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment