Lines Matching full:apic
3 * CPU/APIC topology
5 * The APIC IDs describe the system topology in multiple domain levels.
7 * APIC ID is associated to the individual levels:
29 #include <asm/apic.h>
39 * Map cpu index to physical APIC ID
89 * Convert the APIC ID to a domain level ID by masking out the low bits
138 * longer supported, the real BSP APIC ID is the first one which is in check_for_real_bsp()
140 * CPU is the real BSP. If it is not, then do not register the APIC in check_for_real_bsp()
144 * The first APIC ID which is enumerated by firmware is detectable in check_for_real_bsp()
145 * because the boot CPU APIC ID is registered before that without in check_for_real_bsp()
164 * If the boot CPU has the APIC BSP bit set then the in check_for_real_bsp()
174 * If the boot APIC is enumerated first, but the APICBASE in check_for_real_bsp()
180 pr_warn("Enumerated BSP APIC %x is not marked in APICBASE MSR\n", apic_id); in check_for_real_bsp()
186 pr_warn("Boot CPU APIC ID not the first enumerated APIC ID: %x != %x\n", in check_for_real_bsp()
191 * The boot CPU has the APIC BSP bit set. Use it and complain in check_for_real_bsp()
204 pr_warn(FW_BUG "APIC enumeration order not specification compliant\n"); in check_for_real_bsp()
231 * APIC because that is registered before the enumeration in topo_register_apic()
251 pr_info_once("Ignoring hot-pluggable APIC ID %x in present package.\n", in topo_register_apic()
270 * topology_register_apic - Register an APIC in early topology maps
271 * @apic_id: The APIC ID to set up
272 * @acpi_id: The ACPI ID associated to the APIC
278 pr_err_once("APIC ID %x exceeds kernel limit of: %x\n", apic_id, MAX_LOCAL_APIC - 1); in topology_register_apic()
299 * topology_register_boot_apic - Register the boot CPU APIC
300 * @apic_id: The APIC ID to set up
314 * @apicid: The APIC ID for which to lookup the logical ID
317 * @apicid must be a full APIC ID, not the normalized variant. It's valid to have
319 * real APIC IDs and backshifted normalized APIC IDs work correctly.
342 * @apicid: The APIC ID which specifies the search range
381 * Get the core domain level APIC id, which is the primary thread in topology_get_primary_thread()
390 * topology_hotplug_apic - Handle a physical hotplugged APIC after boot
391 * @apic_id: The APIC ID to set up
392 * @acpi_id: The ACPI ID associated to the APIC
401 /* Reject if the APIC ID was not registered during enumeration. */ in topology_hotplug_apic()
416 * topology_hotunplug_apic - Remove a physical hotplugged APIC after boot
417 * @cpu: The CPU number for which the APIC ID is removed
463 * XEN PV is special as it does not advertise the local APIC in restrict_to_up()
465 * infrastructure works. So don't apply the restrictions vs. APIC in restrict_to_up()
483 * If there was no APIC registered, then fake one so that the in topology_init_possible_cpus()
486 * unconditionally. This does not affect the actual APIC code in in topology_init_possible_cpus()
487 * any way because either the local APIC address has not been in topology_init_possible_cpus()
488 * registered or the local APIC was disabled on the command line. in topology_init_possible_cpus()
567 * Late SMP disable after sizing CPU masks when APIC/IOAPIC setup failed.