Function report | 
Source Code:arch\x86\kernel\cpu\common.c | 
Create Date:2022-07-28 07:55:19 | 
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cpu_set_bug_bits
Proto:static void __init cpu_set_bug_bits(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cpuinfo_x86 * | c | 
| 1111 | ia32_cap = x86_read_arch_cap_msr() | 
| 1117 | If cpu_matches(NO_SPECULATION) Then Return | 
| 1127 | If ia32_cap & Enhanced IBRS support Then setup_force_cpu_cap(Enhanced IBRS ) | 
| 1130 | If Not cpu_matches(NO_MDS) && Not (ia32_cap & Not susceptible to* Microarchitectural Data* Sampling (MDS) vulnerabilities.) Then | 
| 1136 | If Not cpu_matches(NO_SWAPGS) Then setup_force_cpu_bug(CPU is affected by speculation through SWAPGS ) | 
| 1154 | If cpu_matches(NO_MELTDOWN) Then Return | 
| 1158 | If ia32_cap & Not susceptible to Meltdown Then Return | 
| 1163 | If cpu_matches(NO_L1TF) Then Return | 
| Name | Describe | 
|---|---|
| early_identify_cpu | Do minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code | 
| 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  |