/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | apic_numachip.c | 26 static void (*numachip_apic_icr_write)(int apicid, unsigned int val) __read_mostly; 59 static int numachip_apic_id_valid(u32 apicid) in numachip_apic_id_valid() argument 75 static void numachip1_apic_icr_write(int apicid, unsigned int val) in numachip1_apic_icr_write() argument 77 write_lcsr(CSR_G3_EXT_IRQ_GEN, (apicid << 16) | val); in numachip1_apic_icr_write() 80 static void numachip2_apic_icr_write(int apicid, unsigned int val) in numachip2_apic_icr_write() argument 82 numachip2_write32_lcsr(NUMACHIP2_APIC_ICR, (apicid << 12) | val); in numachip2_apic_icr_write() 96 int local_apicid, apicid = per_cpu(x86_cpu_to_apicid, cpu); in numachip_send_IPI_one() local 103 if (!((apicid ^ local_apicid) >> NUMACHIP_LAPIC_BITS)) { in numachip_send_IPI_one() 107 __default_send_IPI_dest_field(apicid, vector, in numachip_send_IPI_one() 116 numachip_apic_icr_write(apicid, dmode | vector); in numachip_send_IPI_one()
|
D | apic_common.c | 19 bool default_check_apicid_used(physid_mask_t *map, int apicid) in default_check_apicid_used() argument 21 return physid_isset(apicid, *map); in default_check_apicid_used() 43 int default_apic_id_valid(u32 apicid) in default_apic_id_valid() argument 45 return (apicid < 255); in default_apic_id_valid()
|
D | x2apic_phys.c | 13 void __init x2apic_set_max_apicid(u32 apicid) in x2apic_set_max_apicid() argument 15 x2apic_max_apicid = apicid; in x2apic_set_max_apicid() 107 int x2apic_apic_id_valid(u32 apicid) in x2apic_apic_id_valid() argument 109 if (x2apic_max_apicid && apicid > x2apic_max_apicid) in x2apic_apic_id_valid() 120 void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest) in __x2apic_send_IPI_dest() argument 123 native_x2apic_icr_write(cfg, apicid); in __x2apic_send_IPI_dest()
|
D | apic.c | 1783 int apicid = native_apic_msr_read(APIC_ID); in setup_nox2apic() local 1785 if (apicid >= 255) { in setup_nox2apic() 1787 apicid); in setup_nox2apic() 2330 bool apic_id_is_primary_thread(unsigned int apicid) in apic_id_is_primary_thread() argument 2338 return !(apicid & mask); in apic_id_is_primary_thread() 2346 static int allocate_logical_cpuid(int apicid) in allocate_logical_cpuid() argument 2355 if (cpuid_to_apicid[i] == apicid) in allocate_logical_cpuid() 2363 nr_cpu_ids, nr_logical_cpuids, apicid); in allocate_logical_cpuid() 2367 cpuid_to_apicid[nr_logical_cpuids] = apicid; in allocate_logical_cpuid() 2371 int generic_processor_info(int apicid, int version) in generic_processor_info() argument [all …]
|
D | ipi.c | 318 int apicid, cpuid; in safe_smp_processor_id() local 323 apicid = hard_smp_processor_id(); in safe_smp_processor_id() 324 if (apicid == BAD_APICID) in safe_smp_processor_id() 327 cpuid = convert_apicid_to_cpu(apicid); in safe_smp_processor_id()
|
D | local.h | 20 int x2apic_apic_id_valid(u32 apicid); 22 void __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest);
|
D | x2apic_cluster.c | 103 u32 cluster, apicid = apic_read(APIC_LDR); in init_x2apic_ldr() local 106 this_cpu_write(x86_cpu_to_logical_apicid, apicid); in init_x2apic_ldr() 111 cluster = apicid >> 16; in init_x2apic_ldr()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | apic.h | 68 extern void __inquire_remote_apic(int apicid); 70 static inline void __inquire_remote_apic(int apicid) in __inquire_remote_apic() argument 75 static inline void default_inquire_remote_apic(int apicid) in default_inquire_remote_apic() argument 78 __inquire_remote_apic(apicid); in default_inquire_remote_apic() 253 extern void __init x2apic_set_max_apicid(u32 apicid); 315 int (*apic_id_valid)(u32 apicid); 318 bool (*check_apicid_used)(physid_mask_t *map, int apicid); 331 int (*wakeup_secondary_cpu)(int apicid, unsigned long start_eip); 333 void (*inquire_remote_apic)(int apicid); 382 extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip); [all …]
|
D | numa.h | 38 static inline void set_apicid_to_node(int apicid, s16 node) in set_apicid_to_node() argument 40 __apicid_to_node[apicid] = node; in set_apicid_to_node() 46 static inline void set_apicid_to_node(int apicid, s16 node) in set_apicid_to_node() argument
|
D | apicdef.h | 166 #define APIC_CLUSTER(apicid) ((apicid) & XAPIC_DEST_CLUSTER_MASK) argument 167 #define APIC_CLUSTERID(apicid) (APIC_CLUSTER(apicid) >> XAPIC_DEST_CPUS_SHIFT) argument 168 #define APIC_CPUID(apicid) ((apicid) & XAPIC_DEST_CPUS_MASK) argument
|
D | mpspec_def.h | 70 unsigned char apicid; /* Local APIC number */ member 108 unsigned char apicid; member
|
D | topology.h | 135 int topology_update_package_map(unsigned int apicid, unsigned int cpu); 144 topology_update_package_map(unsigned int apicid, unsigned int cpu) { return 0; } in topology_update_package_map() argument
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | hygon.c | 36 static int nearby_node(int apicid) in nearby_node() argument 40 for (i = apicid - 1; i >= 0; i--) { in nearby_node() 45 for (i = apicid + 1; i < MAX_LOCAL_APIC; i++) { in nearby_node() 93 c->phys_proc_id = c->apicid >> APICID_SOCKET_ID_BIT; in hygon_get_topology() 133 unsigned int apicid = c->apicid; in srat_detect_node() local 172 node = nearby_node(apicid); in srat_detect_node() 319 c->apicid = hard_smp_processor_id(); in init_hygon()
|
D | cacheinfo.c | 666 per_cpu(cpu_llc_id, cpu) = c->apicid >> 3; in cacheinfo_amd_init_llc_id() 682 per_cpu(cpu_llc_id, cpu) = c->apicid >> bits; in cacheinfo_amd_init_llc_id() 700 per_cpu(cpu_llc_id, cpu) = c->apicid >> 3; in cacheinfo_hygon_init_llc_id() 764 l2_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 770 l3_id = c->apicid & ~((1 << index_msb) - 1); in init_intel_cacheinfo() 902 unsigned int apicid, nshared, first, last; in __cache_amd_cpumap_setup() local 905 apicid = cpu_data(cpu).apicid; in __cache_amd_cpumap_setup() 906 first = apicid - (apicid % nshared); in __cache_amd_cpumap_setup() 914 apicid = cpu_data(i).apicid; in __cache_amd_cpumap_setup() 915 if ((apicid < first) || (apicid > last)) in __cache_amd_cpumap_setup() [all …]
|
D | amd.c | 291 static int nearby_node(int apicid) in nearby_node() argument 295 for (i = apicid - 1; i >= 0; i--) { in nearby_node() 300 for (i = apicid + 1; i < MAX_LOCAL_APIC; i++) { in nearby_node() 444 unsigned apicid = c->apicid; in srat_detect_node() local 484 node = nearby_node(apicid); in srat_detect_node() 976 c->apicid = hard_smp_processor_id(); in init_amd()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | smpboot.c | 667 void __inquire_remote_apic(int apicid) in __inquire_remote_apic() argument 674 pr_info("Inquiring remote APIC 0x%x...\n", apicid); in __inquire_remote_apic() 677 pr_info("... APIC 0x%x %s: ", apicid, names[i]); in __inquire_remote_apic() 686 apic_icr_write(APIC_DM_REMRD | regs[i], apicid); in __inquire_remote_apic() 750 wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip) in wakeup_secondary_cpu_via_nmi() argument 758 apic_icr_write(APIC_DM_NMI | apic->dest_logical, apicid); in wakeup_secondary_cpu_via_nmi() 898 static void announce_cpu(int cpu, int apicid) in announce_cpu() argument 931 node, cpu, apicid); in announce_cpu() 958 wakeup_cpu_via_init_nmi(int cpu, unsigned long start_ip, int apicid, in wakeup_cpu_via_init_nmi() argument 970 boot_error = wakeup_secondary_cpu_via_init(apicid, start_ip); in wakeup_cpu_via_init_nmi() [all …]
|
D | mpparse.c | 50 int apicid; in MP_processor_info() local 58 apicid = m->apicid; in MP_processor_info() 62 boot_cpu_physical_apicid = m->apicid; in MP_processor_info() 65 pr_info("Processor #%d%s\n", m->apicid, bootup_cpu); in MP_processor_info() 66 generic_processor_info(apicid, m->apicver); in MP_processor_info() 115 mp_register_ioapic(m->apicid, m->apicaddr, gsi_top, &cfg); in MP_ioapic_info() 359 ioapic.apicid = 2; in construct_ioapic_table() 399 processor.apicid = i; in construct_default_ISA_mptable()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | mce.h | 31 __field( u32, apicid ) 51 __entry->apicid = m->apicid; 69 __entry->apicid)
|
/kernel/linux/linux-5.10/arch/x86/platform/uv/ |
D | uv_time.c | 73 unsigned long apicid, val; in uv_rtc_send_IPI() local 76 apicid = cpu_physical_id(cpu); in uv_rtc_send_IPI() 77 pnode = uv_apicid_to_pnode(apicid); in uv_rtc_send_IPI() 79 (apicid << UVH_IPI_INT_APIC_ID_SHFT) | in uv_rtc_send_IPI() 96 unsigned long apicid = cpu_physical_id(cpu); in uv_setup_intr() local 107 ((u64)apicid << UVH_RTC1_INT_CONFIG_APIC_ID_SHFT); in uv_setup_intr()
|
/kernel/linux/linux-5.10/arch/x86/xen/ |
D | apic.c | 113 static int xen_id_always_valid(u32 apicid) in xen_id_always_valid() argument 132 static void xen_silent_inquire(int apicid) in xen_silent_inquire() argument 139 return cpu_data(cpu).apicid; in xen_cpu_present_to_apicid()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | trace.h | 471 TP_PROTO(__u32 apicid, __u16 dm, __u16 tm, __u8 vec), 472 TP_ARGS(apicid, dm, tm, vec), 475 __field( __u32, apicid ) 482 __entry->apicid = apicid; 489 __entry->apicid, __entry->vec, 499 __field( __u32, apicid ) 504 __entry->apicid = apic->vcpu->vcpu_id; 508 TP_printk("apicid %x vector %d", __entry->apicid, __entry->vector) 516 __field( __u32, apicid ) 521 __entry->apicid = apic->vcpu->vcpu_id; [all …]
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | mcelog.c | 238 m.apicid = mc_global->mc_apicid; in convert_log() 241 if (g_physinfo[i].mc_apicid == m.apicid) in convert_log() 244 pr_warn("Failed to match cpu with apicid %d\n", m.apicid); in convert_log()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grukservices.h | 62 void *p, unsigned int bytes, int nasid, int vector, int apicid);
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
D | mce.h | 42 __u32 apicid; member
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
D | mce.h | 32 __u32 apicid; /* CPU initial APIC ID */ member
|