summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-dw-bt1.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2022-12-13 18:06:51 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-14 14:50:15 +0100
commit904f309ae7edaadc9fd0ee04be8281d7781d97e4 (patch)
tree3d92c319483b29d6628ee215d7587d1b93440ffc /drivers/spi/spi-dw-bt1.c
parent75b15aa0d83ec835082129b62e8cb9a44703ad72 (diff)
downloadlwn-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