diff options
| author | Srinivas Pandruvada <[email protected]> | 2022-12-14 02:06:51 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2022-12-14 13:50:15 +0000 |
| commit | 904f309ae7edaadc9fd0ee04be8281d7781d97e4 (patch) | |
| tree | 3d92c319483b29d6628ee215d7587d1b93440ffc /lib/fault-inject.c | |
| parent | Merge branch 'thermal-intel' (diff) | |
| download | kernel-904f309ae7edaadc9fd0ee04be8281d7781d97e4.tar.gz kernel-904f309ae7edaadc9fd0ee04be8281d7781d97e4.zip | |
thermal: intel: Don't set HFI status bit to 1
When CPU doesn't support HFI (Hardware Feedback Interface), don't include
BIT 26 in the mask to prevent clearing. otherwise this results in:
unchecked MSR access error: WRMSR to 0x1b1
(tried to write 0x0000000004000aa8)
at rIP: 0xffffffff8b8559fe (throttle_active_work+0xbe/0x1b0)
Fixes: 6fe1e64b6026 ("thermal: intel: Prevent accidental clearing of HFI status")
Reported-by: Linus Torvalds <[email protected]>
Tested-by: Linus Torvalds <[email protected]>
Signed-off-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
