Function report | 
Source Code:arch\x86\kernel\cpu\mce\core.c | 
Create Date:2022-07-28 08:00:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Add per CPU specific workarounds here
Proto:static int __mcheck_cpu_apply_quirks(struct cpuinfo_x86 *c)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cpuinfo_x86 * | c | 
| 1640 | mce_banks = this_cpu_ptr(mce_banks_array) | 
| 1643 | If CPU vendor == X86_VENDOR_UNKNOWN Then | 
| 1644 | pr_info("unknown CPU type - not enabling MCE support\n") | 
| 1645 | Return -EOPNOTSUPP | 
| 1649 | If CPU vendor == X86_VENDOR_AMD Then | 
| 1658 | If CPU family < 0x11 && bootlog < 0 Then | 
| 1663 | bootlog = 0 | 
| 1676 | If CPU family == 0x15 && x86_model <= 0xf Then * Indicates that overflow conditions are not fatal, when set. = 1 | 
| 1681 | If CPU vendor == X86_VENDOR_INTEL Then | 
| 1698 | If ( CPU family > 6 || CPU family == 6 && x86_model >= 0xe ) && monarch_timeout < 0 Then monarch_timeout = USEC_PER_SEC | 
| 1706 | If CPU family == 6 && x86_model <= 13 && bootlog < 0 Then bootlog = 0 | 
| 1713 | If CPU vendor == X86_VENDOR_ZHAOXIN Then | 
| 1718 | If CPU family > 6 || x86_model == 0x19 || x86_model == 0x1f Then | 
| 1719 | If monarch_timeout < 0 Then monarch_timeout = USEC_PER_SEC | 
| 1724 | If monarch_timeout < 0 Then monarch_timeout = 0 | 
| 1726 | If bootlog != 0 Then panic_timeout = 30 | 
| 1729 | Return 0 | 
| Name | Describe | 
|---|---|
| mcheck_cpu_init | Called for each booted CPU to set up machine checks.* Must be called with preempt off: | 
| 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  |