diff options
| author | Uwe Kleine-König <[email protected]> | 2024-09-19 08:11:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-10-01 18:43:39 +0000 |
| commit | 8b4865cd904650cbed7f2407e653934c621b8127 (patch) | |
| tree | 5eee54153895ab305266efda15dab7300e4bbb34 /rust/helpers/vmalloc.c | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-8b4865cd904650cbed7f2407e653934c621b8127.tar.gz kernel-8b4865cd904650cbed7f2407e653934c621b8127.zip | |
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 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
