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

Name:Returns true if the logged error is deferred. False, otherwise.

Proto:static inline bool _log_error_bank(unsigned int bank, unsigned int msr_stat, unsigned int msr_addr, u64 misc)

Type:bool

Parameter:

TypeParameterName
unsigned intbank
unsigned intmsr_stat
unsigned intmsr_addr
u64misc
924  addr = 0
926  rdmsrl(msr_stat, status)
927  If Not (status & valid error ) Then Return false
930  If status & addr reg. valid Then rdmsrl(msr_addr, addr)
933  __log_error(bank, status, addr, misc)
935  wrmsrl(msr_stat, 0)
937  Return status & uncorrected error, deferred exception
Caller
NameDescribe
log_error_deferredWe have three scenarios for checking for Deferred errors:* 1) Non-SMCA systems check MCA_STATUS and log error if found
log_error_thresholding