函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\core.c Create Date:2022-07-27 09:01:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_memory_failure

函数原型:static int do_memory_failure(struct mce *m)

返回类型:int

参数:

类型参数名称
struct mce *m
1101  flags等于MF_ACTION_REQUIRED
1104  打印错误信息("Uncorrected hardware memory error in user-access at %llx", Bank's MCi_ADDR MSR )
1105  如果非Machine Check Global Status MSR 按位与start ip valid 的值则flags或等于MF_MUST_KILL
1107  ret等于memory_failure(Bank's MCi_ADDR MSR >> PAGE_SHIFT determines the page size , flags)
1108  如果ret打印错误信息("Memory error not recovered")
1110  否则set_mce_nospec(Bank's MCi_ADDR MSR >> PAGE_SHIFT determines the page size )
1112  返回:ret
调用者
名称描述
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