函数逻辑报告

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:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Read ADDR and MISC registers.

函数原型:static void mce_read_aux(struct mce *m, int i)

返回类型:void

参数:

类型参数名称
struct mce *m
inti
646  如果Bank's MCi_STATUS MSR 按位与misc error reg. valid Bank's MCi_MISC MSR 等于MSR access wrappers used for error injection
649  如果Bank's MCi_STATUS MSR 按位与addr reg. valid
650  Bank's MCi_ADDR MSR 等于MSR access wrappers used for error injection
657  Bank's MCi_ADDR MSR 右移等于shift
658  Bank's MCi_ADDR MSR 左移等于shift
666  lsb等于Bank's MCi_ADDR MSR 右移56位按位与0x3f
668  Bank's MCi_ADDR MSR 与等于GENMASK_ULL(55, lsb)
672  如果* Indicates that overflow conditions are not fatal, when set.
673  MCA_IPID MSR: only valid on SMCA systems 等于MSR access wrappers used for error injection
675  如果Bank's MCi_STATUS MSR 按位与synd reg. valid MCA_SYND MSR: only valid on SMCA systems 等于MSR access wrappers used for error injection
调用者
名称描述
machine_check_pollPoll for corrected events or events that happened before reset.* Those are just logged through /dev/mcelog.* This is executed in standard interrupt context.* Note: spec recommends to panic for fatal unsignalled* errors here
mce_no_way_outDo a quick check if any of the events requires a panic.* This decides if we keep the events around or clear them.
__mc_scan_banks