Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
struct threshold_block * | b | |
int | apic | |
unsigned int | lo | |
unsigned int | hi |
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 |
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 |
Name | Describe |
---|---|
threshold_restart_bank | Reprogram MCx_MISC MSR behind this threshold bank. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |