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

Name:__mcheck_cpu_init_vendor

Proto:static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
1819  Case CPU vendor == X86_VENDOR_INTEL
1820  mce_intel_feature_init(c)
1821  mce_adjust_timer = cmci_intel_adjust_timer
1822  Break
1824  Case CPU vendor == X86_VENDOR_AMD
1825  mce_amd_feature_init(c)
1826  Break
1829  Case CPU vendor == X86_VENDOR_HYGON
1830  mce_hygon_feature_init(c)
1831  Break
1833  Case CPU vendor == X86_VENDOR_CENTAUR
1834  mce_centaur_feature_init(c)
1835  Break
1837  Case CPU vendor == X86_VENDOR_ZHAOXIN
1838  mce_zhaoxin_feature_init(c)
1839  Break
1841  Default
1842  Break
Caller
NameDescribe
mcheck_cpu_initCalled for each booted CPU to set up machine checks.* Must be called with preempt off:
mce_syscore_resumeOn resume clear all MCE state. Don't want to see leftovers from the BIOS.* Only one CPU is active at this time, the others get re-added later using* CPU hotplug: