函数逻辑报告

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:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__print_mce

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

返回类型:void

参数:

类型参数名称
struct mce *m
246  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.(HW_ERR* Add this to a message for hardware errors, so that user can report* it to hardware vendor instead of LKML or software vendor."CPU %d: Machine Check%s: %Lx Bank %d: %016Lx\n", Linux CPU number that detected the error , (Machine Check Global Status MSR & machine check in progress ? " Exception" : ""), Machine Check Global Status MSR , Machine check bank reporting the error , Bank's MCi_STATUS MSR )
251  如果Instruction Pointer when the error happened
252  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.(HW_ERR* Add this to a message for hardware errors, so that user can report* it to hardware vendor instead of LKML or software vendor."RIP%s %02x:<%016Lx> ", !(Machine Check Global Status MSR & p points to correct instruction ) ? " !INEXACT!" : "", Code segment , Instruction Pointer when the error happened )
256  如果Code segment 恒等于Segment selector values corresponding to the above entries:打印标准信息("{%pS}", (void * )(unsignedlong)Instruction Pointer when the error happened )
258  打印标准信息("\n")
261  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.(HW_ERR* Add this to a message for hardware errors, so that user can report* it to hardware vendor instead of LKML or software vendor."TSC %llx ", CPU time stamp counter )
262  如果Bank's MCi_ADDR MSR 打印标准信息("ADDR %llx ", Bank's MCi_ADDR MSR )
264  如果Bank's MCi_MISC MSR 打印标准信息("MISC %llx ", Bank's MCi_MISC MSR )
267  如果* Indicates that overflow conditions are not fatal, when set.
268  如果MCA_SYND MSR: only valid on SMCA systems 打印标准信息("SYND %llx ", MCA_SYND MSR: only valid on SMCA systems )
270  如果MCA_IPID MSR: only valid on SMCA systems 打印标准信息("IPID %llx ", MCA_IPID MSR: only valid on SMCA systems )
274  打印标准信息("\n")
279  These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.(HW_ERR* Add this to a message for hardware errors, so that user can report* it to hardware vendor instead of LKML or software vendor."PROCESSOR %u:%x TIME %llu SOCKET %u APIC %x microcode %x\n", Kernel's X86_VENDOR enum , CPUID 1 EAX , Wall time_t when error was detected , CPU socket ID , CPU initial APIC ID , Microcode revision )
调用者
名称描述
print_mce
mce_default_notifier