/linux-6.3-rc2/arch/x86/mm/ |
A D | srat.c | 30 int pxm, node; in acpi_numa_x2apic_affinity_init() local 41 pxm = pa->proximity_domain; in acpi_numa_x2apic_affinity_init() 45 pxm, apic_id); in acpi_numa_x2apic_affinity_init() 48 node = acpi_map_pxm_to_node(pxm); in acpi_numa_x2apic_affinity_init() 50 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_x2apic_affinity_init() 62 pxm, apic_id, node); in acpi_numa_x2apic_affinity_init() 69 int pxm, node; in acpi_numa_processor_affinity_init() local 80 pxm = pa->proximity_domain_lo; in acpi_numa_processor_affinity_init() 82 pxm |= *((unsigned int*)pa->proximity_domain_hi) << 8; in acpi_numa_processor_affinity_init() 83 node = acpi_map_pxm_to_node(pxm); in acpi_numa_processor_affinity_init() [all …]
|
/linux-6.3-rc2/drivers/acpi/numa/ |
A D | srat.c | 37 int pxm_to_node(int pxm) in pxm_to_node() argument 39 if (pxm < 0 || pxm >= MAX_PXM_DOMAINS || numa_off) in pxm_to_node() 41 return pxm_to_node_map[pxm]; in pxm_to_node() 54 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm]) in __acpi_map_pxm_to_node() 64 if (pxm < 0 || pxm >= MAX_PXM_DOMAINS || numa_off) in acpi_map_pxm_to_node() 246 int node, pxm; in acpi_numa_memory_affinity_init() local 264 pxm &= 0xff; in acpi_numa_memory_affinity_init() 282 node, pxm, in acpi_numa_memory_affinity_init() 547 unsigned long long pxm; in acpi_get_pxm() local 556 return pxm; in acpi_get_pxm() [all …]
|
A D | hmat.c | 769 int pxm, nid = mnb->status_change_nid; in hmat_callback() local 774 pxm = node_to_pxm(nid); in hmat_callback() 775 target = find_mem_target(pxm); in hmat_callback()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | acpi_numa.c | 52 int cpu, pxm, node; in acpi_parse_gicc_pxm() local 64 pxm = pa->proximity_domain; in acpi_parse_gicc_pxm() 65 node = pxm_to_node(pxm); in acpi_parse_gicc_pxm() 78 pr_info("SRAT: PXM %d -> MPIDR 0x%llx -> Node %d\n", pxm, in acpi_parse_gicc_pxm() 94 int pxm, node; in acpi_numa_gicc_affinity_init() local 109 pxm = pa->proximity_domain; in acpi_numa_gicc_affinity_init() 110 node = acpi_map_pxm_to_node(pxm); in acpi_numa_gicc_affinity_init() 113 pr_err("SRAT: Too many proximity domains %d\n", pxm); in acpi_numa_gicc_affinity_init()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | acpi.c | 184 static __init int setup_node(int pxm) in setup_node() argument 186 return acpi_map_pxm_to_node(pxm); in setup_node() 216 int pxm, node; in acpi_numa_processor_affinity_init() local 226 pxm = pa->proximity_domain_lo; in acpi_numa_processor_affinity_init() 228 pxm |= (pa->proximity_domain_hi[0] << 8); in acpi_numa_processor_affinity_init() 229 pxm |= (pa->proximity_domain_hi[1] << 16); in acpi_numa_processor_affinity_init() 230 pxm |= (pa->proximity_domain_hi[2] << 24); in acpi_numa_processor_affinity_init() 232 node = setup_node(pxm); in acpi_numa_processor_affinity_init() 234 pr_err("SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_processor_affinity_init() 241 pxm, pa->apic_id, node); in acpi_numa_processor_affinity_init() [all …]
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | acpi.c | 333 int pxm; in get_processor_proximity_domain() local 338 return pxm; in get_processor_proximity_domain() 344 int pxm; in get_memory_proximity_domain() local 346 pxm = ma->proximity_domain; in get_memory_proximity_domain() 348 pxm &= 0xff; in get_memory_proximity_domain() 350 return pxm; in get_memory_proximity_domain() 375 int pxm; in acpi_numa_processor_affinity_init() local 389 pxm_bit_set(pxm); in acpi_numa_processor_affinity_init() 403 int pxm; in acpi_numa_memory_affinity_init() local 422 pxm_bit_set(pxm); in acpi_numa_memory_affinity_init() [all …]
|
/linux-6.3-rc2/arch/x86/hyperv/ |
A D | hv_proc.c | 124 int pxm = node_to_pxm(node); in hv_call_add_logical_proc() local 141 input->proximity_domain_info.domain_id = pxm; in hv_call_add_logical_proc() 169 int pxm = node_to_pxm(node); in hv_call_create_vp() local 189 input->proximity_domain_info.domain_id = pxm; in hv_call_create_vp()
|
/linux-6.3-rc2/drivers/xen/ |
A D | pci.c | 49 uint32_t pxm; in xen_add_device() member 93 unsigned long long pxm; in xen_add_device() local 96 NULL, &pxm); in xen_add_device() 98 add->optarr[0] = pxm; in xen_add_device()
|
/linux-6.3-rc2/include/acpi/ |
A D | acpi_numa.h | 28 static inline int pxm_to_node(int pxm) in pxm_to_node() argument
|
A D | actbl2.h | 534 u32 pxm; member
|
/linux-6.3-rc2/include/xen/interface/ |
A D | platform.h | 446 uint32_t pxm; member 453 uint32_t pxm; member
|
/linux-6.3-rc2/include/linux/ |
A D | acpi.h | 452 int acpi_map_pxm_to_node(int pxm); 469 static inline int pxm_to_online_node(int pxm) in pxm_to_online_node() argument 471 int node = pxm_to_node(pxm); in pxm_to_online_node() 476 static inline int pxm_to_online_node(int pxm) in pxm_to_online_node() argument 480 static inline int acpi_map_pxm_to_node(int pxm) in acpi_map_pxm_to_node() argument
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | kirkwood-openblocks_a7.dts | 92 pmx_gpio_header_gpo: pxm-gpio-header-gpo {
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_crat.c | 1900 int pxm = 0, max_pxm = 0; in kfd_find_numa_node_in_srat() local 1936 pxm = *((u32 *)cpu->proximity_domain_hi) << 8 | in kfd_find_numa_node_in_srat() 1938 if (pxm > max_pxm) in kfd_find_numa_node_in_srat() 1939 max_pxm = pxm; in kfd_find_numa_node_in_srat()
|
/linux-6.3-rc2/drivers/acpi/arm64/ |
A D | iort.c | 1581 int dev_node = pxm_to_node(smmu->pxm); in arm_smmu_v3_set_proximity() 1589 smmu->pxm); in arm_smmu_v3_set_proximity()
|