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

Name:Do a quick check if any of the events requires a panic.* This decides if we keep the events around or clear them.

Proto:static int mce_no_way_out(struct mce *m, char **msg, unsigned long *validp, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct mce *m
char **msg
unsigned long *validp
struct pt_regs *regs
813  When i < Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(mce_num_banks) cycle
814  Bank's MCi_STATUS MSR = MSR access wrappers used for error injection
815  If Not (Bank's MCi_STATUS MSR & valid error ) Then Continue
818  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
819  If quirk_no_way_out Then quirk_no_way_out(i, m, regs)
822  Machine check bank reporting the error = i
823  If mce_severity(m, tolerant, & tmp, true) >= MCE_PANIC_SEVERITY Then
825  msg = tmp
826  Return 1
829  Return 0
Caller
NameDescribe
do_machine_checkThe actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used