Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__mcheck_cpu_init_clear_banks

Proto:static void __mcheck_cpu_init_clear_banks(void)

Type:void

Parameter:Nothing

1569  mce_banks = this_cpu_ptr(mce_banks_array)
1572  When i < Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(mce_num_banks) cycle
1573  b = mce_banks[i]
1575  If Not initialise bank? Then Continue
1577  wrmsrl(ctl(i), subevents to enable )
1578  wrmsrl(status(i), 0)
Caller
NameDescribe
mcheck_cpu_initCalled for each booted CPU to set up machine checks.* Must be called with preempt off:
mce_syscore_resumeOn resume clear all MCE state. Don't want to see leftovers from the BIOS.* Only one CPU is active at this time, the others get re-added later using* CPU hotplug:
mce_cpu_restartmce_device: Sysfs support