Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\therm_throt.c Create Date:2022-07-28 08:04:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clear_therm_status_log

Proto:static void clear_therm_status_log(int level)

Type:void

Parameter:

TypeParameterName
intlevel
206  If level == CORE_LEVEL Then
207  msr = MSR_IA32_THERM_STATUS
208  mask = THERM_STATUS_CLEAR_CORE_MASK
209  Else
210  msr = MSR_IA32_PACKAGE_THERM_STATUS
211  mask = THERM_STATUS_CLEAR_PKG_MASK
214  rdmsrl(msr, msr_val)
215  msr_val &= mask
216  wrmsrl(msr, msr_val & ~THERM_STATUS_PROCHOT_LOG)
Caller
NameDescribe
throttle_active_work