diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2022-12-13 18:06:51 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-12-14 14:50:15 +0100 |
commit | 904f309ae7edaadc9fd0ee04be8281d7781d97e4 (patch) | |
tree | 3d92c319483b29d6628ee215d7587d1b93440ffc /drivers/spi/spi-dw-bt1.c | |
parent | 75b15aa0d83ec835082129b62e8cb9a44703ad72 (diff) | |
download | lwn-904f309ae7edaadc9fd0ee04be8281d7781d97e4.tar.gz lwn-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 <torvalds@linux-foundation.org>
Tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/spi/spi-dw-bt1.c')
0 files changed, 0 insertions, 0 deletions