Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mce_available

Proto:int mce_available(struct cpuinfo_x86 *c)

Type:int

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
464  If disabled Then Return 0
466  Return cpu_has(c, Machine Check Exception ) && cpu_has(c, Machine Check Architecture )
Caller
NameDescribe
mce_timer_fn
mcheck_cpu_initCalled for each booted CPU to set up machine checks.* Must be called with preempt off:
mcheck_cpu_clearCalled for each booted CPU to clear some machine checks opt-ins
mce_cpu_restartmce_device: Sysfs support
mce_disable_cmciToggle features for corrected errors
mce_enable_ce
mce_device_createPer CPU device init. All of the CPUs still share the same bank device:
mce_disable_cpuMake sure there are no machine checks on offlined CPUs.
mce_reenable_cpu
mcheck_init_device
cmci_recheckJust in case we missed an event during initialization check* all the CMCI owned banks.