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

Name:Do initial initialization of a struct mce

Proto:void mce_setup(struct mce *m)

Type:void

Parameter:

TypeParameterName
struct mce *m
135  memset(m, 0, sizeof(structmce))
136  CPU number; obsoleted by extcpu = Linux CPU number that detected the error = smp_processor_id()
138  Wall time_t when error was detected = __ktime_get_real_seconds()
139  Kernel's X86_VENDOR enum = CPU vendor
140  CPUID 1 EAX = CPUID functions returning a single datum
141  CPU socket ID = Physical processor id:
142  CPU initial APIC ID = initial_apicid
143  rdmsrl(MSR_IA32_MCG_CAP, MCGCAP MSR: machine check capabilities of CPU )
145  If this_cpu_has(Intel Processor Inventory Number ) Then rdmsrl(MSR_PPIN, Protected Processor Inventory Number )
148  Microcode revision = microcode
Caller
NameDescribe
mce_gather_infoCollect all global (w.r.t. this processor) status about this machine* check into our "mce" struct so that we can use it later to assess* the severity of the problem as we read per-bank specific details.
__log_error
apei_mce_report_mem_error