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:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:notify_package_thresholds

Proto:static void notify_package_thresholds(__u64 msr_val)

Type:void

Parameter:

TypeParameterName
__u64msr_val
518  bool notify_thres_0 = false
519  bool notify_thres_1 = false
521  If Not platform_thermal_package_notify Then Return
525  If msr_val & THERM_LOG_THRESHOLD0 Then notify_thres_0 = true
528  If msr_val & THERM_LOG_THRESHOLD1 Then notify_thres_1 = true
531  If Not notify_thres_0 && Not notify_thres_1 Then Return
534  If platform_thermal_package_rate_control && platform_thermal_package_rate_control() Then
537  platform_thermal_package_notify(msr_val)
538  Return
542  If notify_thres_0 && thresh_event_valid(PACKAGE_LEVEL, 0) Then platform_thermal_package_notify(msr_val)
545  If notify_thres_1 && thresh_event_valid(PACKAGE_LEVEL, 1) Then platform_thermal_package_notify(msr_val)
Caller
NameDescribe
intel_thermal_interruptThermal transition interrupt handler