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

Name:do_memory_failure

Proto:static int do_memory_failure(struct mce *m)

Type:int

Parameter:

TypeParameterName
struct mce *m
1101  flags = MF_ACTION_REQUIRED
1104  pr_err("Uncorrected hardware memory error in user-access at %llx", Bank's MCi_ADDR MSR )
1105  If Not (Machine Check Global Status MSR & start ip valid ) Then flags |= MF_MUST_KILL
1107  ret = memory_failure(Bank's MCi_ADDR MSR >> PAGE_SHIFT determines the page size , flags)
1108  If ret Then pr_err("Memory error not recovered")
1110  Else set_mce_nospec(Bank's MCi_ADDR MSR >> PAGE_SHIFT determines the page size )
1112  Return ret
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