Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lmce_supported

Proto:static bool lmce_supported(void)

Type:bool

Parameter:Nothing

103  If lmce_disabled Then Return false
106  rdmsrl(MSR_IA32_MCG_CAP, tmp)
112  If (tmp & (MCA recovery/new status bits | Local machine check supported )) != (MCA recovery/new status bits | Local machine check supported ) Then Return false
121  rdmsrl(MSR_IA32_FEATURE_CONTROL, tmp)
122  If (tmp & (FEATURE_CONTROL_LOCKED | FEATURE_CONTROL_LMCE)) == (FEATURE_CONTROL_LOCKED | FEATURE_CONTROL_LMCE) Then Return true
126  Return false
Caller
NameDescribe
intel_init_lmce
intel_clear_lmce