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

Name:The Monarch's reign

Proto:static void mce_reign(void)

Type:void

Parameter:Nothing

898  struct mce * m = NULL
899  global_worst = 0
900  char * msg = NULL
901  char * nmsg = NULL
908  for_each_possible_cpu(cpu)
909  severity = mce_severity( & per_cpu(mces_seen, cpu), tolerant, & nmsg, true)
912  If severity > global_worst Then
913  msg = nmsg
915  m = per_cpu(mces_seen, cpu)
924  If m && global_worst >= MCE_PANIC_SEVERITY && tolerant < 3 Then mce_panic("Fatal machine check", m, msg)
937  If global_worst <= MCE_KEEP_SEVERITY && tolerant < 3 Then mce_panic("Fatal machine check from unknown source", NULL, NULL)
944  for_each_possible_cpu(cpu)
945  memset( & per_cpu(mces_seen, cpu), 0, sizeof(structmce))
Caller
NameDescribe
mce_endSynchronize between CPUs after main scanning loop.* This invokes the bulk of the Monarch processing.