Lines Matching refs:apicid
1768 int apicid = native_apic_msr_read(APIC_ID); in setup_nox2apic() local
1770 if (apicid >= 255) { in setup_nox2apic()
1772 apicid); in setup_nox2apic()
2331 static void cpu_mark_primary_thread(unsigned int cpu, unsigned int apicid) in cpu_mark_primary_thread() argument
2336 if (smp_num_siblings == 1 || !(apicid & mask)) in cpu_mark_primary_thread()
2364 static inline void cpu_mark_primary_thread(unsigned int cpu, unsigned int apicid) { } in cpu_mark_primary_thread() argument
2371 static int allocate_logical_cpuid(int apicid) in allocate_logical_cpuid() argument
2380 if (cpuid_to_apicid[i] == apicid) in allocate_logical_cpuid()
2388 nr_cpu_ids, nr_logical_cpuids, apicid); in allocate_logical_cpuid()
2392 cpuid_to_apicid[nr_logical_cpuids] = apicid; in allocate_logical_cpuid()
2396 static void cpu_update_apic(int cpu, int apicid) in cpu_update_apic() argument
2399 early_per_cpu(x86_cpu_to_apicid, cpu) = apicid; in cpu_update_apic()
2402 physid_set(apicid, phys_cpu_present_map); in cpu_update_apic()
2407 cpu_mark_primary_thread(cpu, apicid); in cpu_update_apic()
2417 int generic_processor_info(int apicid) in generic_processor_info() argument
2425 if (apicid == boot_cpu_physical_apicid) in generic_processor_info()
2428 if (disabled_cpu_apicid == apicid) { in generic_processor_info()
2432 thiscpu, apicid); in generic_processor_info()
2442 "Processor %d/0x%x ignored.\n", max, thiscpu, apicid); in generic_processor_info()
2448 cpu = allocate_logical_cpuid(apicid); in generic_processor_info()
2454 cpu_update_apic(cpu, apicid); in generic_processor_info()