Home
last modified time | relevance | path

Searched refs:apicid (Results 1 – 14 of 14) sorted by relevance

/xen/xen/include/asm-x86/mach-generic/
A Dmach_apic.h37 #define apicid_to_node(apicid) ((int)apicid_to_node[(u32)apicid]) argument
66 static inline int check_apicid_used(const physid_mask_t *map, int apicid) in check_apicid_used() argument
68 return physid_isset(apicid, *map); in check_apicid_used()
71 static inline int check_apicid_present(int apicid) in check_apicid_present() argument
73 return physid_isset(apicid, phys_cpu_present_map); in check_apicid_present()
/xen/xen/arch/x86/acpi/
A Dlib.c71 unsigned int acpiid, apicid; in acpi_get_processor_id() local
73 if ((apicid = x86_cpu_to_apicid[cpu]) == BAD_APICID) in acpi_get_processor_id()
77 if (x86_acpiid_to_apicid[acpiid] == apicid) in acpi_get_processor_id()
/xen/xen/include/asm-x86/
A Dtboot.h130 int tboot_wake_ap(int apicid, unsigned long sipi_vec);
144 static inline int tboot_wake_ap(int apicid, unsigned long sipi_vec) in tboot_wake_ap() argument
A Dprocessor.h129 __u32 apicid; member
/xen/xen/arch/x86/
A Dsmpboot.c542 static int do_boot_cpu(int apicid, int cpu) in do_boot_cpu() argument
564 cpu, apicid, start_eip); in do_boot_cpu()
573 if ( !tboot_in_measured_env() || tboot_wake_ap(apicid, start_eip) ) in do_boot_cpu()
574 boot_error = wakeup_secondary_cpu(apicid, start_eip); in do_boot_cpu()
1346 int apicid, ret; in __cpu_up() local
1348 if ( (apicid = x86_cpu_to_apicid[cpu]) == BAD_APICID ) in __cpu_up()
1351 if ( (!x2apic_enabled && apicid >= APIC_ALL_CPUS) || in __cpu_up()
1352 (iommu_intremap != iommu_intremap_full && (apicid >> 8)) ) in __cpu_up()
1355 apicid); in __cpu_up()
1359 if ( (ret = do_boot_cpu(apicid, cpu)) != 0 ) in __cpu_up()
A Dnuma.c340 u32 apicid = x86_cpu_to_apicid[i]; in init_cpu_to_node() local
341 if ( apicid == BAD_APICID ) in init_cpu_to_node()
343 node = apicid < MAX_LOCAL_APIC ? apicid_to_node[apicid] : NUMA_NO_NODE; in init_cpu_to_node()
A Dmpparse.c132 u32 apicid, bool hotplug) in MP_processor_info_x() argument
144 boot_cpu_physical_apicid = apicid; in MP_processor_info_x()
155 apicid); in MP_processor_info_x()
158 apic_version[apicid] = ver; in MP_processor_info_x()
160 set_apicid(apicid, &phys_cpu_present_map); in MP_processor_info_x()
183 " Processor with apicid %i ignored\n", apicid); in MP_processor_info_x()
186 x86_cpu_to_apicid[cpu] = apicid; in MP_processor_info_x()
A Dsetup.c299 u32 apicid = x86_cpu_to_apicid[cpu]; in srat_detect_node() local
301 node = apicid < MAX_LOCAL_APIC ? apicid_to_node[apicid] : NUMA_NO_NODE; in srat_detect_node()
309 printk("CPU %d APIC %d -> Node %d\n", cpu, apicid, node); in srat_detect_node()
322 uint32_t apicid, diff, min_diff; in normalise_cpu_order() local
326 apicid = x86_cpu_to_apicid[i]; in normalise_cpu_order()
337 diff = x86_cpu_to_apicid[j] ^ apicid; in normalise_cpu_order()
358 apicid = x86_cpu_to_apicid[min_cpu]; in normalise_cpu_order()
360 x86_cpu_to_apicid[j] = apicid; in normalise_cpu_order()
A Dtboot.c538 int tboot_wake_ap(int apicid, unsigned long sipi_vec) in tboot_wake_ap() argument
544 g_tboot_shared->ap_wake_trigger = apicid; in tboot_wake_ap()
/xen/xen/arch/x86/cpu/
A Dcommon.c379 c->apicid = phys_pkg_id((ebx >> 24) & 0xFF, 0); in generic_identify()
380 c->phys_proc_id = c->apicid; in generic_identify()
614 c->apicid = phys_pkg_id(initial_apicid, 0); in detect_extended_topology()
667 unsigned int __init apicid_to_socket(unsigned int apicid) in apicid_to_socket() argument
689 return _phys_pkg_id(apicid, core_plus_mask_width); in apicid_to_socket()
697 return _phys_pkg_id(apicid, in apicid_to_socket()
701 return apicid; in apicid_to_socket()
A Dintel.c325 if ( max_cstate > 1 && (c->apicid & (c->x86_num_siblings - 1)) && in probe_c3_errata()
489 if ((opt_cpu_info && !(c->apicid & (c->x86_num_siblings - 1))) || in init_intel()
A Damd.c543 (!opt_cpu_info || (c->apicid & (c->x86_num_siblings - 1))))) in amd_log_freq()
/xen/xen/arch/x86/cpu/mcheck/
A Dmce.h222 uint32_t apicid; /* CPU initial apic ID */ member
A Dmce.c897 m.apicid = mc_global->mc_apicid; in x86_mcinfo_apei_save()
1029 uint16_t *threadid, uint32_t *apicid, in x86_mc_get_cpu_info() argument
1035 *apicid = cpu_physical_id(cpu); in x86_mc_get_cpu_info()
1037 if ( c->apicid == BAD_APICID ) in x86_mc_get_cpu_info()
1056 *threadid = c->apicid & ((1 << (c->x86_num_siblings - 1)) - 1); in x86_mc_get_cpu_info()

Completed in 164 milliseconds