Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apei_mce_report_mem_error

Proto:void apei_mce_report_mem_error(int severity, struct cper_sec_mem_err *mem_err)

Type:void

Parameter:

TypeParameterName
intseverity
struct cper_sec_mem_err *mem_err
33  If Not (validation_bits & CPER_MEM_VALID_PA) Then Return
36  Do initial initialization of a struct mce
37  Machine check bank reporting the error = -1
39  Bank's MCi_STATUS MSR = valid error | r enabled | addr reg. valid | 0x9f
41  If severity >= GHES_SEV_RECOVERABLE Then Bank's MCi_STATUS MSR |= uncorrected error
44  If severity >= GHES_SEV_PANIC Then
45  Bank's MCi_STATUS MSR |= processor context corrupt
46  CPU time stamp counter = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
49  Bank's MCi_ADDR MSR = physical_addr
50  mce_log( & m)