函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__log_error

函数原型:static void __log_error(unsigned int bank, u64 status, u64 addr, u64 misc)

返回类型:void

参数:

类型参数名称
unsigned intbank
u64status
u64addr
u64misc
877  Do initial initialization of a struct mce
879  Bank's MCi_STATUS MSR 等于status
880  Bank's MCi_MISC MSR 等于misc
881  Machine check bank reporting the error 等于bank
882  CPU time stamp counter 等于dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
884  如果Bank's MCi_STATUS MSR 按位与addr reg. valid
885  Bank's MCi_ADDR MSR 等于addr
892  lsb等于Bank's MCi_ADDR MSR 右移56位按位与0x3f
894  Bank's MCi_ADDR MSR 与等于GENMASK_ULL(55, lsb)
898  如果* Indicates that overflow conditions are not fatal, when set.
899  rdmsrl(MSR_AMD64_SMCA_MCx_IPID(bank), MCA_IPID MSR: only valid on SMCA systems )
901  如果Bank's MCi_STATUS MSR 按位与synd reg. valid rdmsrl(MSR_AMD64_SMCA_MCx_SYND(bank), MCA_SYND MSR: only valid on SMCA systems )
905  mce_log( & m)
调用者
名称描述
_log_error_bankReturns true if the logged error is deferred. False, otherwise.