Borislav Petkov (AMD)
628fb89864
cpuidle: haltpoll: Do not enable interrupts when entering idle
...
[ Upstream commit c8f5caec3df84a02b937d6d9cda1f7ffa8dc443f ]
The cpuidle drivers' ->enter() methods are supposed to be IRQ invariant:
5e26aa933911 ("cpuidle/poll: Ensure IRQs stay disabled after cpuidle_state::enter() calls")
bb7b11258561 ("cpuidle: Move IRQ state validation")
Do that in the haltpoll driver too.
Fixes: 5e26aa933911 ("cpuidle/poll: Ensure IRQs stay disabled after cpuidle_state::enter() calls")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218245
Reported-by: <forza@tnonline.net>
Tested-by: <forza@tnonline.net>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:35:15 -08:00
..
2023-08-23 18:25:04 +02:00
2022-08-31 20:54:01 +02:00
2023-01-13 11:48:17 +01:00
2022-06-10 14:51:35 +02:00
2023-01-13 11:48:17 +01:00
2019-05-30 11:29:52 -07:00
2019-12-20 10:04:27 +01:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2024-01-25 15:35:15 -08:00
2022-06-10 14:51:35 +02:00
2023-01-18 12:03:54 +01:00
2022-12-06 23:18:19 +11:00
2023-08-08 16:07:01 +02:00
2023-04-13 17:46:35 -05:00
2022-03-10 09:29:44 -08:00
2023-08-24 22:33:17 +10:00
2023-04-13 17:46:35 -05:00
2023-04-29 13:04:50 -07:00
2023-01-13 11:48:17 +01:00
2021-08-16 13:42:34 +01:00
2019-05-30 11:29:52 -07:00
2023-06-05 21:11:09 +02:00
2023-03-22 20:25:23 +01:00
2023-02-13 16:08:44 +01:00
2023-08-08 16:06:20 +02:00
2023-08-08 16:06:20 +02:00
2023-04-13 17:46:35 -05:00
2022-09-03 20:14:51 +02:00
2023-01-13 20:50:46 +01:00
2023-02-13 17:15:42 +01:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2022-03-10 09:29:51 -08:00
2022-03-10 09:29:51 -08:00
2023-06-05 21:11:09 +02:00
2023-03-22 20:25:23 +01:00