/linux-6.1.9/arch/x86/mm/ |
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() 56 …printk(KERN_INFO "SRAT: PXM %u -> APIC 0x%04x -> Node %u skipped apicid that is too big\n", pxm, a… 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() [all …]
|
/linux-6.1.9/drivers/acpi/numa/ |
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() 52 static void __acpi_map_pxm_to_node(int pxm, int node) in __acpi_map_pxm_to_node() argument 54 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm]) in __acpi_map_pxm_to_node() 55 pxm_to_node_map[pxm] = node; in __acpi_map_pxm_to_node() 56 if (node_to_pxm_map[node] == PXM_INVAL || pxm < node_to_pxm_map[node]) in __acpi_map_pxm_to_node() 57 node_to_pxm_map[node] = pxm; in __acpi_map_pxm_to_node() 60 int acpi_map_pxm_to_node(int pxm) in acpi_map_pxm_to_node() argument 64 if (pxm < 0 || pxm >= MAX_PXM_DOMAINS || numa_off) in acpi_map_pxm_to_node() [all …]
|
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.1.9/arch/arm64/kernel/ |
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.1.9/arch/loongarch/kernel/ |
D | acpi.c | 171 static __init int setup_node(int pxm) in setup_node() argument 173 return acpi_map_pxm_to_node(pxm); in setup_node() 203 int pxm, node; in acpi_numa_processor_affinity_init() local 213 pxm = pa->proximity_domain_lo; in acpi_numa_processor_affinity_init() 215 pxm |= (pa->proximity_domain_hi[0] << 8); in acpi_numa_processor_affinity_init() 216 pxm |= (pa->proximity_domain_hi[1] << 16); in acpi_numa_processor_affinity_init() 217 pxm |= (pa->proximity_domain_hi[2] << 24); in acpi_numa_processor_affinity_init() 219 node = setup_node(pxm); in acpi_numa_processor_affinity_init() 221 pr_err("SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_processor_affinity_init() 228 pxm, pa->apic_id, node); in acpi_numa_processor_affinity_init() [all …]
|
/linux-6.1.9/arch/ia64/kernel/ |
D | acpi.c | 333 int pxm; in get_processor_proximity_domain() local 335 pxm = pa->proximity_domain_lo; in get_processor_proximity_domain() 337 pxm += pa->proximity_domain_hi[0] << 8; in get_processor_proximity_domain() 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 386 pxm = get_processor_proximity_domain(pa); in acpi_numa_processor_affinity_init() [all …]
|
/linux-6.1.9/arch/x86/hyperv/ |
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.1.9/drivers/xen/ |
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.1.9/include/acpi/ |
D | acpi_numa.h | 28 static inline int pxm_to_node(int pxm) in pxm_to_node() argument
|
D | actbl2.h | 516 u32 pxm; member
|
/linux-6.1.9/include/xen/interface/ |
D | platform.h | 446 uint32_t pxm; member 453 uint32_t pxm; member
|
/linux-6.1.9/include/linux/ |
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.1.9/arch/arm/boot/dts/ |
D | kirkwood-openblocks_a7.dts | 92 pmx_gpio_header_gpo: pxm-gpio-header-gpo {
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 2072 int pxm = 0, max_pxm = 0; in kfd_find_numa_node_in_srat() local 2108 pxm = *((u32 *)cpu->proximity_domain_hi) << 8 | in kfd_find_numa_node_in_srat() 2110 if (pxm > max_pxm) in kfd_find_numa_node_in_srat() 2111 max_pxm = pxm; in kfd_find_numa_node_in_srat()
|
/linux-6.1.9/drivers/acpi/arm64/ |
D | iort.c | 1573 int dev_node = pxm_to_node(smmu->pxm); in arm_smmu_v3_set_proximity() 1581 smmu->pxm); in arm_smmu_v3_set_proximity()
|