Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-28 08:03:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__log_error

Proto:static void __log_error(unsigned int bank, u64 status, u64 addr, u64 misc)

Type:void

Parameter:

TypeParameterName
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  If Bank's MCi_STATUS MSR & addr reg. valid Then
885  Bank's MCi_ADDR MSR = addr
892  lsb = Bank's MCi_ADDR MSR >> 56 & 0x3f
898  If * Indicates that overflow conditions are not fatal, when set. Then
899  rdmsrl(MSR_AMD64_SMCA_MCx_IPID(bank), MCA_IPID MSR: only valid on SMCA systems )
901  If Bank's MCi_STATUS MSR & synd reg. valid Then rdmsrl(MSR_AMD64_SMCA_MCx_SYND(bank), MCA_SYND MSR: only valid on SMCA systems )
905  mce_log( & m)
Caller
NameDescribe
_log_error_bankReturns true if the logged error is deferred. False, otherwise.