函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pu init entry point, called from mce.c with preempt off

函数原型:void mce_amd_feature_init(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
628  cpu等于当前cpu ID()
629  low等于0, high等于0, address等于0
630  offset等于负1
633 bank小于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(mce_num_banks)循环
634  如果* Indicates that overflow conditions are not fatal, when set.smca_configure(bank, cpu)
637  Turn off thresholding banks for the following conditions:* - MC4_MISC thresholding is not supported on Family 0x15.* - Prevent possible spurious interrupts from the IF bank on Family 0x17* Models 0x10-0x2F due to Erratum #1114.
639 block小于NR_BLOCKS循环
641  如果非address退出
647  如果非high按位与MASK_VALID_HI的值则继续下一循环
650  如果非high按位与MASK_CNTP_HI的值或high按位与MASK_LOCKED_HI则继续下一循环
658  如果* Indicates that overflow conditions are not fatal, when set.deferred_error_interrupt_enable(c)