diff options
author | Uwe Kleine-König <[email protected]> | 2024-09-19 10:11:21 +0200 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-10-01 20:43:39 +0200 |
commit | 8b4865cd904650cbed7f2407e653934c621b8127 (patch) | |
tree | 5eee54153895ab305266efda15dab7300e4bbb34 /drivers/platform/x86/intel/pmt/class.c | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock
notify_hwp_interrupt() is called via sysvec_thermal() ->
smp_thermal_vector() -> intel_thermal_interrupt() in hard irq context.
For this reason it must not use a simple spin_lock that sleeps with
PREEMPT_RT enabled. So convert it to a raw spinlock.
Reported-by: xiao sheng wen <[email protected]>
Link: https://bugs.debian.org/1076483
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Tested-by: xiao sheng wen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: All applicable <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions