函数逻辑报告

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:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:deferred_error_interrupt_enable

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
454  low等于0, high等于0
455  def_offset等于负1
457  如果dmsr with exception handling (Deferred error settings , & low, & high)则返回
460  def_new等于low按位与MASK_DEF_LVTOFF的值右移4位
461  如果非low按位与MASK_DEF_LVTOFF的值则
462  打印错误信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"Your BIOS is not setting up LVT offset 0x2 for deferred error IRQs correctly.\n")
463  def_new等于DEF_LVT_OFF
464  low等于low按位与MASK_DEF_LVTOFF的反按位或DEF_LVT_OFF左移4位
467  def_offset等于setup_APIC_deferred_error(def_offset, def_new)
468  如果def_offset恒等于def_newdeferred_error_int_vector不等于amd_deferred_error_interruptdeferred_error_int_vector等于amd_deferred_error_interrupt
472  如果非* Indicates that overflow conditions are not fatal, when set.low等于low按位与MASK_DEF_INT_TYPE的反按位或DEF_INT_TYPE_APIC
475  wrmsr(Deferred error settings , low, high)
调用者
名称描述
mce_amd_feature_initpu init entry point, called from mce.c with preempt off