Home
last modified time | relevance | path

Searched refs:cpu_to_phys_id (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup-common.c423 u32 *cpu_to_phys_id = NULL; variable
451 cpu_to_phys_id = memblock_alloc(nr_cpu_ids * sizeof(u32), in smp_setup_cpu_maps()
453 if (!cpu_to_phys_id) in smp_setup_cpu_maps()
495 cpu_to_phys_id[cpu] = be32_to_cpu(intserv[j]); in smp_setup_cpu_maps()
844 set_hard_smp_processor_id(cpu, cpu_to_phys_id[cpu]); in smp_setup_pacas()
847 memblock_free(__pa(cpu_to_phys_id), nr_cpu_ids * sizeof(u32)); in smp_setup_pacas()
848 cpu_to_phys_id = NULL; in smp_setup_pacas()
Dprom.c943 if (cpu_to_phys_id != NULL) in arch_match_cpu_phys_id()
944 return (int)phys_id == cpu_to_phys_id[cpu]; in arch_match_cpu_phys_id()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmp.h30 extern u32 *cpu_to_phys_id;
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dnuma.c481 if (cpu_to_phys_id) in vphn_get_nid()
482 hwid = cpu_to_phys_id[lcpu]; in vphn_get_nid()