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:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lvt_off_valid

Proto:static int lvt_off_valid(struct threshold_block *b, int apic, unsigned int lo, unsigned int hi)

Type:int

Parameter:

TypeParameterName
struct threshold_block *b
intapic
unsigned intlo
unsigned inthi
349  msr = (hi & MASK_LVTOFF_HI) >> 20
351  If apic < 0 Then
352  pr_err(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, failed to setup threshold interrupt for bank %d, block %d (MSR%08X=0x%x%08x)\n", CPU which controls MCA bank , MCA bank the block belongs to , Number within bank , MSR address for the block , hi, lo)
355  Return 0
358  If apic != msr Then
364  If * Indicates that overflow conditions are not fatal, when set. Then Return 0
367  pr_err(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, invalid threshold interrupt offset %d for bank %d, block %d (MSR%08X=0x%x%08x)\n", CPU which controls MCA bank , apic, MCA bank the block belongs to , Number within bank , MSR address for the block , hi, lo)
370  Return 0
373  Return 1
Caller
NameDescribe
threshold_restart_bankReprogram MCx_MISC MSR behind this threshold bank.