Home
last modified time | relevance | path

Searched refs:apic_id (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/mm/
Dsrat.c31 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->apic_id_valid(apic_id)) { in acpi_numa_x2apic_affinity_init()
45 pxm, apic_id); in acpi_numa_x2apic_affinity_init()
55 if (apic_id >= MAX_LOCAL_APIC) { in acpi_numa_x2apic_affinity_init()
56 …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()
59 set_apicid_to_node(apic_id, node); in acpi_numa_x2apic_affinity_init()
62 pxm, apic_id, node); in acpi_numa_x2apic_affinity_init()
70 int apic_id; in acpi_numa_processor_affinity_init() local
91 apic_id = (pa->apic_id << 8) | pa->local_sapic_eid; in acpi_numa_processor_affinity_init()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_core.c33 u32 acpi_id, phys_cpuid_t *apic_id) in map_lapic_id() argument
44 *apic_id = lapic->id; in map_lapic_id()
49 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_x2apic_id() argument
58 *apic_id = apic->local_apic_id; in map_x2apic_id()
66 int device_declaration, u32 acpi_id, phys_cpuid_t *apic_id) in map_lsapic_id() argument
80 *apic_id = (lsapic->id << 8) | lsapic->eid; in map_lsapic_id()
283 int apic_id = -1; in parse_madt_ioapic_entry() local
287 return apic_id; in parse_madt_ioapic_entry()
297 get_ioapic_id(hdr, gsi_base, phys_addr, &apic_id)) in parse_madt_ioapic_entry()
303 return apic_id; in parse_madt_ioapic_entry()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dxen-acpi-cpuhotplug.c144 int apic_id; in xen_apic_id() local
167 apic_id = (uint32_t)lapic->id; in xen_apic_id()
172 return apic_id; in xen_apic_id()
177 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local
180 apic_id = xen_apic_id(pr->handle); in xen_hotadd_cpu()
181 if (apic_id < 0) { in xen_hotadd_cpu()
195 op.u.cpu_add.apic_id = apic_id; in xen_hotadd_cpu()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dkvm.c519 int cpu, apic_id, icr; in __send_ipi_mask() local
543 apic_id = per_cpu(x86_cpu_to_apicid, cpu); in __send_ipi_mask()
545 min = max = apic_id; in __send_ipi_mask()
546 } else if (apic_id < min && max - apic_id < KVM_IPI_CLUSTER_SIZE) { in __send_ipi_mask()
547 ipi_bitmap <<= min - apic_id; in __send_ipi_mask()
548 min = apic_id; in __send_ipi_mask()
549 } else if (apic_id > min && apic_id < min + KVM_IPI_CLUSTER_SIZE) { in __send_ipi_mask()
550 max = apic_id < max ? max : apic_id; in __send_ipi_mask()
556 min = max = apic_id; in __send_ipi_mask()
559 __set_bit(apic_id - min, (unsigned long *)&ipi_bitmap); in __send_ipi_mask()
Ddevicetree.c141 u32 apic_id, version; in dtb_cpu_setup() local
146 ret = of_property_read_u32(dn, "reg", &apic_id); in dtb_cpu_setup()
151 generic_processor_info(apic_id, version); in dtb_cpu_setup()
/kernel/linux/linux-5.10/arch/ia64/include/asm/uv/
Duv_mmrs.h51 unsigned long apic_id : 32; /* RW */ member
279 unsigned long apic_id : 32; /* RW */ member
317 unsigned long apic_id : 32; /* RW */ member
355 unsigned long apic_id : 32; /* RW */ member
393 unsigned long apic_id : 32; /* RW */ member
633 unsigned long apic_id : 32; /* RW */ member
671 unsigned long apic_id : 32; /* RW */ member
709 unsigned long apic_id : 32; /* RW */ member
/kernel/linux/linux-5.10/arch/x86/include/asm/uv/
Duv_mmrs.h2290 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 …]
/kernel/linux/linux-5.10/drivers/dma/ioat/
Ddca.c181 int i, apic_id, bit, value; in ioat_dca_get_tag() local
185 apic_id = cpu_physical_id(cpu); in ioat_dca_get_tag()
192 value = (apic_id & (1 << bit)) ? 1 : 0; in ioat_dca_get_tag()
195 value = (apic_id & (1 << bit)) ? 0 : 1; in ioat_dca_get_tag()
/kernel/linux/linux-5.10/arch/x86/xen/
Dapic.c68 op.u.pcpu_info.apic_id = BAD_APICID; in xen_apic_read()
70 return op.u.pcpu_info.apic_id << 24; in xen_apic_read()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dipi.c305 static int convert_apicid_to_cpu(int apic_id) in convert_apicid_to_cpu() argument
310 if (per_cpu(x86_cpu_to_apicid, i) == apic_id) in convert_apicid_to_cpu()
Dio_apic.c2463 static int io_apic_get_unique_id(int ioapic, int apic_id) in io_apic_get_unique_id() argument
2487 if (apic_id >= get_physical_broadcast()) { in io_apic_get_unique_id()
2489 "%d\n", ioapic, apic_id, reg_00.bits.ID); in io_apic_get_unique_id()
2490 apic_id = reg_00.bits.ID; in io_apic_get_unique_id()
2497 if (apic->check_apicid_used(&apic_id_map, apic_id)) { in io_apic_get_unique_id()
2508 "trying %d\n", ioapic, apic_id, i); in io_apic_get_unique_id()
2510 apic_id = i; in io_apic_get_unique_id()
2513 apic->apicid_to_cpu_present(apic_id, &tmp); in io_apic_get_unique_id()
2516 if (reg_00.bits.ID != apic_id) { in io_apic_get_unique_id()
2517 reg_00.bits.ID = apic_id; in io_apic_get_unique_id()
[all …]
Dapic.c2568 unsigned int apic_id; member
2594 apic_pm_state.apic_id = apic_read(APIC_ID); in lapic_suspend()
2671 apic_write(APIC_ID, apic_pm_state.apic_id); in lapic_resume()
/kernel/linux/linux-5.10/drivers/acpi/numa/
Dsrat.c90 p->apic_id, p->local_sapic_eid, in acpi_table_print_srat_entry()
119 p->apic_id, in acpi_table_print_srat_entry()
319 pr_warn("Found unsupported x2apic [0x%08x] SRAT entry\n", pa->apic_id); in acpi_numa_x2apic_affinity_init()
/kernel/linux/linux-5.10/arch/x86/platform/sfi/
Dsfi.c50 mp_sfi_register_lapic(pentry->apic_id); in sfi_parse_cpus()
/kernel/linux/linux-5.10/include/acpi/
Dactbl3.h206 u8 apic_id; member
242 u32 apic_id; member
Dactbl1.h741 u32 apic_id; member
/kernel/linux/linux-5.10/include/linux/
Dsfi.h119 u32 apic_id; member
/kernel/linux/linux-5.10/include/xen/interface/
Dplatform.h447 uint32_t apic_id; member
461 uint32_t apic_id; member
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
Dboot.c188 u32 apic_id; in acpi_parse_x2apic() local
200 apic_id = processor->local_apic_id; in acpi_parse_x2apic()
204 if (apic_id == 0xffffffff) in acpi_parse_x2apic()
214 if (!apic->apic_id_valid(apic_id)) { in acpi_parse_x2apic()
220 acpi_register_lapic(apic_id, processor->uid, enabled); in acpi_parse_x2apic()
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c179 unsigned int apic_id; member
1089 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), t->apic_id); in format_counters()
1428 new->apic_id = old->apic_id; in delta_thread()
1602 average.threads.apic_id = t->apic_id; in sum_counters()
1846 t->apic_id = (ebx >> 24) & 0xff; in get_apic_id()
1882 if (debug && (t->apic_id != (t->x2apic_id & 0xff))) in get_apic_id()
1884 t->cpu_id, t->apic_id, t->x2apic_id); in get_apic_id()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dacpi.c392 (pa->apic_id << 8) | (pa->local_sapic_eid); in acpi_numa_processor_affinity_init()