函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-27 09:00:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Do initial initialization of a struct mce

函数原型:void mce_setup(struct mce *m)

返回类型:void

参数:

类型参数名称
struct mce *m
135  memset(m, 0, sizeof(structmce))
136  CPU number; obsoleted by extcpu 等于Linux CPU number that detected the error 等于当前cpu 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  如果this_cpu_has(Intel Processor Inventory Number )则rdmsrl(MSR_PPIN, Protected Processor Inventory Number )
148  Microcode revision 等于microcode
调用者
名称描述
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