Lines Matching refs:apicid
1827 int apicid = native_apic_msr_read(APIC_ID); in setup_nox2apic() local
1829 if (apicid >= 255) { in setup_nox2apic()
1831 apicid); in setup_nox2apic()
2366 bool apic_id_is_primary_thread(unsigned int apicid) in apic_id_is_primary_thread() argument
2374 return !(apicid & mask); in apic_id_is_primary_thread()
2382 static int allocate_logical_cpuid(int apicid) in allocate_logical_cpuid() argument
2391 if (cpuid_to_apicid[i] == apicid) in allocate_logical_cpuid()
2399 nr_cpu_ids, nr_logical_cpuids, apicid); in allocate_logical_cpuid()
2403 cpuid_to_apicid[nr_logical_cpuids] = apicid; in allocate_logical_cpuid()
2407 int generic_processor_info(int apicid, int version) in generic_processor_info() argument
2434 disabled_cpu_apicid == apicid) { in generic_processor_info()
2439 thiscpu, apicid); in generic_processor_info()
2450 apicid != boot_cpu_physical_apicid) { in generic_processor_info()
2456 " Processor %d/0x%x ignored.\n", max, thiscpu, apicid); in generic_processor_info()
2467 max, thiscpu, apicid); in generic_processor_info()
2473 if (apicid == boot_cpu_physical_apicid) { in generic_processor_info()
2484 cpuid_to_apicid[0] = apicid; in generic_processor_info()
2486 cpu = allocate_logical_cpuid(apicid); in generic_processor_info()
2498 cpu, apicid); in generic_processor_info()
2507 if (apicid > max_physical_apicid) in generic_processor_info()
2508 max_physical_apicid = apicid; in generic_processor_info()
2511 early_per_cpu(x86_cpu_to_apicid, cpu) = apicid; in generic_processor_info()
2512 early_per_cpu(x86_bios_cpu_apicid, cpu) = apicid; in generic_processor_info()
2519 physid_set(apicid, phys_cpu_present_map); in generic_processor_info()