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:get_therm_status

Proto:static void get_therm_status(int level, bool *proc_hot, u8 *temp)

Type:void

Parameter:

TypeParameterName
intlevel
bool *proc_hot
u8 *temp
224  If level == CORE_LEVEL Then msr = MSR_IA32_THERM_STATUS
226  Else msr = MSR_IA32_PACKAGE_THERM_STATUS
229  rdmsrl(msr, msr_val)
230  If msr_val & THERM_STATUS_PROCHOT_LOG Then * proc_hot = true
232  Else * proc_hot = false
235  temp = msr_val >> 16 & 0x7F
Caller
NameDescribe
throttle_active_work
therm_throt_processherm_throt_process - Process thermal throttling event from interrupt*@curr: Whether the condition is current or not (boolean), since the* thermal interrupt normally gets called both when the thermal* event begins and once the event has ended