Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pu init entry point, called from mce.c with preempt off

Proto:void mce_amd_feature_init(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
628  cpu = smp_processor_id()
629  low = 0 , high = 0 , address = 0
630  offset = -1
633  When bank < Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(mce_num_banks) cycle
634  If * Indicates that overflow conditions are not fatal, when set. Then 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  When block < NR_BLOCKS cycle
641  If Not address Then Break
644  If dmsr with exception handling (address, & low, & high) Then Break
647  If Not (high & MASK_VALID_HI) Then Continue
650  If Not (high & MASK_CNTP_HI) || high & MASK_LOCKED_HI Then Continue
658  If * Indicates that overflow conditions are not fatal, when set. Then deferred_error_interrupt_enable(c)