函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\intel.c Create Date:2022-07-27 09:02:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cmci_supported

函数原型:static int cmci_supported(int *banks)

返回类型:int

参数:

类型参数名称
int *banks
80  如果cmci_disabledignore_ce则返回:0
88  如果CPU vendor 不等于X86_VENDOR_INTELCPU vendor 不等于X86_VENDOR_ZHAOXIN则返回:0
92  如果非boot_cpu_has(Onboard APIC )或lapic_get_maxlvt - get the maximum number of local vector table entries小于6则返回:0
94  rdmsrl(MSR_IA32_MCG_CAP, cap)
95  banks等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsigned, Maximum banks number.* This is the limit of the current register layout on* Intel CPUs., cap & 0xff)
96  返回:非非cap按位与CMCI supported 的值
调用者
名称描述
cmci_recheckJust in case we missed an event during initialization check* all the CMCI owned banks.
cmci_clearDisable CMCI on this CPU for all banks it owns when it goes down.* This allows other CPUs to claim the banks on rediscovery.
cmci_rediscover_work_func
cmci_rediscoverAfter a CPU went down cycle through all the others and rediscover
cmci_reenableReenable CMCI on this CPU in case a CPU down failed.
cmci_disable_bank
intel_init_cmci