Function report |
Source Code:arch\x86\kernel\cpu\intel.c |
Create Date:2022-07-28 07:57:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:early_init_intel
Proto:static void early_init_intel(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
195 | If CPU family > 6 || CPU family == 6 && x86_model >= 0xd Then |
203 | If CPU family == 0xf && x86_model >= 0x03 || CPU family == 0x6 && x86_model >= 0x0e Then set_cpu_cap(c, TSC ticks at a constant rate ) |
207 | If CPU family >= 6 && Not cpu_has(c, IA-64 processor ) Then microcode = intel_get_microcode_revision() |
215 | pr_warn("Intel Spectre v2 broken microcode detected; disabling Speculation Control\n") |
234 | If CPU family == 6 && x86_model == 0x1c && x86_stepping <= 2 && microcode < 0x20e Then |
236 | pr_warn("Atom PSE erratum detected, BIOS microcode update recommended\n") |
237 | clear_cpu_cap(c, Page Size Extensions ) |
249 | If CPU family == 0xF && x86_model == 0x3 && ( x86_stepping == 0x3 || x86_stepping == 0x4 ) Then x86_phys_bits = 36 |
260 | If x86_power & 1 << 8 Then |
266 | If CPU family == 6 Then |
269 | Case x86_model == Cloverview |
270 | Case x86_model == Merriefield |
271 | Case x86_model == Lightning Mountain |
273 | Break |
274 | Default |
275 | Break |
289 | If CPU family == 6 && x86_model < 15 Then clear_cpu_cap(c, Page Attribute Table ) |
296 | If CPU family > 6 || CPU family == 6 && x86_model >= 0xd Then |
298 | If Not (misc_enable & MSR_IA32_MISC_ENABLE_FAST_STRING) Then |
299 | pr_info("Disabled fast string operations\n") |
315 | If CPU family == 5 && x86_model == 9 Then |
316 | pr_info("Disabling PGE capability bit\n") |
320 | If Maximum supported CPUID level, -1=no CPUID: >= 0x00000001 Then |
329 | If edx & 1U << 28 Then CPUID returned core id bits: = get_count_order((ebx >> 16) & 0xff) |
333 | check_mpx_erratum(c) |
340 | If detect_extended_topology_early(c) < 0 Then detect_ht_early(c) |
Name | Describe |
---|---|
init_intel |
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 |