| /linux/arch/x86/mm/ |
| H A D | srat.c | 31 int apic_id; in acpi_numa_x2apic_affinity_init() local 42 apic_id = pa->apic_id; in acpi_numa_x2apic_affinity_init() 43 if (!apic_id_valid(apic_id)) { in acpi_numa_x2apic_affinity_init() 44 pr_info("SRAT: PXM %u -> X2APIC 0x%04x ignored\n", pxm, apic_id); in acpi_numa_x2apic_affinity_init() 54 if (apic_id >= MAX_LOCAL_APIC) { in acpi_numa_x2apic_affinity_init() 55 …NFO "SRAT: PXM %u -> APIC 0x%04x -> Node %u skipped apicid that is too big\n", pxm, apic_id, node); in acpi_numa_x2apic_affinity_init() 58 set_apicid_to_node(apic_id, node); in acpi_numa_x2apic_affinity_init() 61 pr_debug("SRAT: PXM %u -> APIC 0x%04x -> Node %u\n", pxm, apic_id, node); in acpi_numa_x2apic_affinity_init() 69 int apic_id; in acpi_numa_processor_affinity_init() local 90 apic_id = (pa->apic_id << 8) | pa->local_sapic_eid; in acpi_numa_processor_affinity_init() [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | topology.c | 95 static int topo_lookup_cpuid(u32 apic_id) in topo_lookup_cpuid() argument 101 if (cpuid_to_apicid[i] == apic_id) in topo_lookup_cpuid() 107 static __init int topo_get_cpunr(u32 apic_id) in topo_get_cpunr() argument 109 int cpu = topo_lookup_cpuid(apic_id); in topo_get_cpunr() 117 static void topo_set_cpuids(unsigned int cpu, u32 apic_id, u32 acpi_id) in topo_set_cpuids() argument 120 early_per_cpu(x86_cpu_to_apicid, cpu) = apic_id; in topo_set_cpuids() 126 static __init bool check_for_real_bsp(u32 apic_id) in check_for_real_bsp() argument 158 if (apic_id == topo_info.boot_cpu_apic_id) { in check_for_real_bsp() 166 topo_info.real_bsp_apic_id = apic_id; in check_for_real_bsp() 176 pr_warn("Enumerated BSP APIC %x is not marked in APICBASE MSR\n", apic_id); in check_for_real_bsp() [all …]
|
| /linux/arch/x86/include/asm/uv/ |
| H A D | uv_mmrs.h | 2290 unsigned long apic_id:32; /* RW */ member 2304 unsigned long apic_id:32; /* RW */ member 2318 unsigned long apic_id:32; /* RW */ member 2332 unsigned long apic_id:32; /* RW */ member 2346 unsigned long apic_id:32; /* RW */ member 2393 unsigned long apic_id:32; /* RW */ member 2407 unsigned long apic_id:32; /* RW */ member 2421 unsigned long apic_id:32; /* RW */ member 2435 unsigned long apic_id:32; /* RW */ member 2449 unsigned long apic_id:32; /* RW */ member [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | xapic_state_test.c | 147 u32 apic_id, expected; in __test_apic_id() local 155 apic_id = *((u32 *)&xapic.regs[APIC_ID]); in __test_apic_id() 157 TEST_ASSERT(apic_id == expected, in __test_apic_id() 160 expected, apic_id); in __test_apic_id()
|
| H A D | fix_hypercall_test.c | 33 static u64 do_sched_yield(u8 apic_id) in do_sched_yield() argument 40 : "a"((u64)KVM_HC_SCHED_YIELD), "b"((u64)apic_id) in do_sched_yield()
|
| /linux/drivers/hv/ |
| H A D | hv_proc.c | 157 int hv_call_add_logical_proc(int node, u32 lp_index, u32 apic_id) in hv_call_add_logical_proc() argument 178 input->apic_id = apic_id; in hv_call_add_logical_proc() 187 lp_index, apic_id); in hv_call_add_logical_proc()
|
| /linux/arch/x86/xen/ |
| H A D | apic.c | 60 op.u.pcpu_info.apic_id = BAD_APICID; in xen_apic_read() 62 return op.u.pcpu_info.apic_id << 24; in xen_apic_read()
|
| /linux/include/xen/interface/ |
| H A D | platform.h | 430 uint32_t apic_id; member 444 uint32_t apic_id; member
|
| /linux/arch/x86/hyperv/ |
| H A D | ivm.c | 295 int hv_snp_boot_ap(u32 apic_id, unsigned long start_ip, unsigned int cpu) in hv_snp_boot_ap() argument 310 vp_index = hv_apicid_to_vp_index(apic_id); in hv_snp_boot_ap()
|
| /linux/include/hyperv/ |
| H A D | hvhdk_mini.h | 396 u32 apic_id; member
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2132 unsigned int apic_id; member 3449 outp += sprintf(outp, "%s0x%x", (printed++ ? delim : ""), t->apic_id); in format_counters() 3974 new->apic_id = old->apic_id; in delta_thread() 4222 average.threads->apic_id = t->apic_id; in sum_counters() 4614 t->apic_id = (ebx >> 24) & 0xff; in get_apic_id() 4650 if (debug && (t->apic_id != (t->x2apic_id & 0xff))) in get_apic_id() 4651 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n", t->cpu_id, t->apic_id, t->x2apic_id); in get_apic_id()
|