Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Set up machine check reporting for processors with Intel style MCE:

Proto:void intel_p5_mcheck_init(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
51  If Not By default disabled Then Return
55  If Not cpu_has(c, Machine Check Exception ) Then Return
58  machine_check_vector = Machine check handler for Pentium class Intel CPUs:
60  wmb()
63  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(Intel defined MSRs. , l, h)
64  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_P5_MC_TYPE, l, h)
65  pr_info("Intel old style machine check architecture supported.\n")
68  Set in this cpu's CR4.
69  pr_info("Intel old style machine check reporting enabled on CPU#%d.\n", smp_processor_id())