Home
last modified time | relevance | path

Searched refs:pxm (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/arch/x86/mm/
Dsrat.c30 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-v5.10/drivers/acpi/numa/
Dsrat.c37 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 …]
Dhmat.c756 int pxm, nid = mnb->status_change_nid; in hmat_callback() local
761 pxm = node_to_pxm(nid); in hmat_callback()
762 target = find_mem_target(pxm); in hmat_callback()
/Linux-v5.10/arch/arm64/kernel/
Dacpi_numa.c52 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-v5.10/arch/ia64/kernel/
Dacpi.c333 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-v5.10/drivers/xen/
Dxen-acpi-memhotplug.c38 static int xen_hotadd_memory(int pxm, struct acpi_memory_info *info) in xen_hotadd_memory() argument
46 op.u.mem_add.pxm = pxm; in xen_hotadd_memory()
54 pxm, rc); in xen_hotadd_memory()
61 int pxm, result; in xen_acpi_memory_enable_device() local
68 pxm = xen_acpi_get_pxm(mem_device->device->handle); in xen_acpi_memory_enable_device()
69 if (pxm < 0) in xen_acpi_memory_enable_device()
70 return pxm; in xen_acpi_memory_enable_device()
81 result = xen_hotadd_memory(pxm, info); in xen_acpi_memory_enable_device()
Dxen-acpi-cpuhotplug.c177 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local
187 pxm = xen_acpi_get_pxm(pr->handle); in xen_hotadd_cpu()
188 if (pxm < 0) { in xen_hotadd_cpu()
191 return pxm; in xen_hotadd_cpu()
197 op.u.cpu_add.pxm = pxm; in xen_hotadd_cpu()
Dpci.c48 uint32_t pxm; in xen_add_device() member
92 unsigned long long pxm; in xen_add_device() local
95 NULL, &pxm); in xen_add_device()
97 add->optarr[0] = pxm; in xen_add_device()
/Linux-v5.10/include/xen/
Dacpi.h62 unsigned long long pxm; in xen_acpi_get_pxm() local
69 status = acpi_evaluate_integer(handle, "_PXM", NULL, &pxm); in xen_acpi_get_pxm()
71 return pxm; in xen_acpi_get_pxm()
/Linux-v5.10/include/acpi/
Dacpi_numa.h29 static inline int pxm_to_node(int pxm) in pxm_to_node() argument
Dactbl2.h221 u32 pxm; member
/Linux-v5.10/include/xen/interface/
Dplatform.h463 uint32_t pxm; member
470 uint32_t pxm; member
/Linux-v5.10/include/linux/
Dacpi.h419 int acpi_map_pxm_to_node(int pxm);
436 static inline int pxm_to_online_node(int pxm) in pxm_to_online_node() argument
438 int node = pxm_to_node(pxm); in pxm_to_online_node()
443 static inline int pxm_to_online_node(int pxm) in pxm_to_online_node() argument
447 static inline int acpi_map_pxm_to_node(int pxm) in acpi_map_pxm_to_node() argument
/Linux-v5.10/arch/arm/boot/dts/
Dkirkwood-openblocks_a7.dts92 pmx_gpio_header_gpo: pxm-gpio-header-gpo {
/Linux-v5.10/drivers/acpi/arm64/
Diort.c1335 int dev_node = pxm_to_node(smmu->pxm); in arm_smmu_v3_set_proximity()
1343 smmu->pxm); in arm_smmu_v3_set_proximity()