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

Name:__print_mce

Proto:static void __print_mce(struct mce *m)

Type:void

Parameter:

TypeParameterName
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.( 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  If Instruction Pointer when the error happened Then
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.( 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  If Code segment == Segment selector values corresponding to the above entries: Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("{%pS}", (void * )(unsignedlong)Instruction Pointer when the error happened )
258  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\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.( 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  If Bank's MCi_ADDR MSR Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("ADDR %llx ", Bank's MCi_ADDR MSR )
264  If Bank's MCi_MISC MSR Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("MISC %llx ", Bank's MCi_MISC MSR )
267  If * Indicates that overflow conditions are not fatal, when set. Then
268  If MCA_SYND MSR: only valid on SMCA systems Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("SYND %llx ", MCA_SYND MSR: only valid on SMCA systems )
270  If MCA_IPID MSR: only valid on SMCA systems Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("IPID %llx ", MCA_IPID MSR: only valid on SMCA systems )
274  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("\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.( 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 )
Caller
NameDescribe
print_mce
mce_default_notifier