| /qemu/hw/core/ |
| A D | numa.c | 122 props.node_id = nodenr; in parse_numa_node() 396 if (node->node_id >= nb_numa_nodes) { in parse_numa_hmat_cache() 398 "than %d", node->node_id, nb_numa_nodes); in parse_numa_hmat_cache() 405 "cache attributes", node->node_id); in parse_numa_hmat_cache() 421 node->node_id, node->level); in parse_numa_hmat_cache() 438 ms->numa_state->hmat_cache[node->node_id] in parse_numa_hmat_cache() 451 ms->numa_state->hmat_cache[node->node_id] in parse_numa_hmat_cache() 745 if (node_id == CPU_UNSET_NUMA_NODE_ID) { in numa_cpu_pre_plug() 750 slot->props.node_id, errp); in numa_cpu_pre_plug() 752 } else if (node_id != slot->props.node_id) { in numa_cpu_pre_plug() [all …]
|
| A D | machine.c | 856 slot->props.node_id != props->node_id) { in machine_set_cpu_numa_node() 858 slot->props.node_id); in machine_set_cpu_numa_node() 864 slot->props.node_id = props->node_id; in machine_set_cpu_numa_node() 868 if ((numa_info[props->node_id].initiator < MAX_NODES) && in machine_set_cpu_numa_node() 869 (props->node_id != numa_info[props->node_id].initiator)) { in machine_set_cpu_numa_node() 872 props->node_id, numa_info[props->node_id].initiator); in machine_set_cpu_numa_node() 875 numa_info[props->node_id].has_cpu = true; in machine_set_cpu_numa_node() 876 numa_info[props->node_id].initiator = props->node_id; in machine_set_cpu_numa_node() 1404 props.node_id = 0; in machine_numa_finish_cpu_init() 1453 cpus[i].props.node_id != cpus[j].props.node_id) { in validate_cpu_cluster_to_numa_boundary() [all …]
|
| A D | machine-hmp-cmds.c | 72 monitor_printf(mon, " node-id: \"%" PRIu64 "\"\n", c->node_id); in hmp_hotpluggable_cpus()
|
| A D | machine-qmp-cmds.c | 239 cpu->value->props->node_id == i) { in qmp_x_query_numa()
|
| /qemu/docs/sphinx/ |
| A D | dbusdomain.py | 53 node_id = name 55 node_id = f"{ifacename}.{node_id}" 58 signode["ids"].append(node_id) 64 ("single", indextext, node_id, "", None) 68 domain.note_object(name, self.objtype, node_id, location=signode) 298 for name, (docname, node_id, _) in ifaces: 321 node_id: str 362 self, name: str, objtype: str, node_id: str, location: Any = None 364 self.objects[name] = ObjectEntry(self.env.docname, node_id, objtype) 396 builder, fromdocname, objdef.docname, objdef.node_id, contnode [all …]
|
| /qemu/hw/mips/ |
| A D | loongson3_bootp.c | 53 emap->map[0].node_id = cpu_to_le32(0); in init_memory_map() 58 emap->map[1].node_id = cpu_to_le32(0); in init_memory_map() 81 irq_info->node_id = cpu_to_le32(0); in init_irq_source()
|
| A D | loongson3_bootp.h | 30 uint32_t node_id; /* node_id which memory attached to */ member 121 uint32_t node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */ member
|
| /qemu/hw/ppc/ |
| A D | spapr_numa.c | 60 static const uint32_t *get_associativity(SpaprMachineState *spapr, int node_id) in get_associativity() argument 63 return spapr->FORM2_assoc_array[node_id]; in get_associativity() 65 return spapr->FORM1_assoc_array[node_id]; in get_associativity() 236 if (cpu->node_id == i) { in spapr_numa_FORM1_affinity_check() 364 const uint32_t *associativity = get_associativity(spapr, cpu->node_id); in spapr_numa_get_vcpu_assoc()
|
| A D | spapr_cpu_core.c | 316 env->chip_index = sc->node_id; in spapr_create_vcpu() 319 cpu->node_id = sc->node_id; in spapr_create_vcpu() 365 DEFINE_PROP_INT32("node-id", SpaprCpuCore, node_id, CPU_UNSET_NUMA_NODE_ID),
|
| /qemu/hw/riscv/ |
| A D | numa.c | 47 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_first_hartid() 67 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_last_hartid() 122 if (ms->possible_cpus->cpus[i].props.node_id != socket_id) { in riscv_socket_check_hartids()
|
| A D | virt-acpi-build.c | 75 socket_id = arch_ids->cpus[uid].props.node_id; in riscv_acpi_madt_add_rintc() 94 arch_ids->cpus[uid].props.node_id, in riscv_acpi_madt_add_rintc() 100 arch_ids->cpus[uid].props.node_id, in riscv_acpi_madt_add_rintc() 621 uint32_t nodeid = cpu_list->cpus[i].props.node_id; in build_srat()
|
| /qemu/tests/qemu-iotests/ |
| A D | 258 | 54 def find_graph_node(graph, node_id): argument 55 return next(node for node in graph['nodes'] if node['id'] == node_id)
|
| A D | 124 | 115 def add_node(self, node_id, fmt=iotests.imgfmt, path=None, backup=None): argument 117 path = os.path.join(iotests.test_dir, '%s.%s' % (node_id, fmt)) 120 '%s.full.backup.%s' % (node_id, fmt)) 123 'id': node_id,
|
| A D | iotests.py | 1153 node_id = next(edge['child'] for edge in graph['edges'] 1158 if node['id'] == node_id)
|
| /qemu/include/hw/ppc/ |
| A D | spapr_cpu_core.h | 30 int node_id; member
|
| /qemu/include/standard-headers/linux/ |
| A D | virtio_mem.h | 195 uint16_t node_id; member
|
| /qemu/hw/loongarch/ |
| A D | acpi-build.c | 169 int i, arch_id, node_id; in build_srat() local 185 node_id = arch_ids->cpus[i].props.node_id; in build_srat() 191 build_append_int_noprefix(table_data, node_id, 1); in build_srat()
|
| A D | virt.c | 387 ms->possible_cpus->cpus[cs->cpu_index].props.node_id); in fdt_add_cpu_nodes() 533 uint64_t base, uint64_t size, int node_id) in fdt_add_memory_node() argument 543 qemu_fdt_setprop_cell(ms->fdt, nodename, "numa-node-id", node_id); in fdt_add_memory_node()
|
| /qemu/hw/acpi/ |
| A D | hmat.c | 180 build_append_int_noprefix(table_data, hmat_cache->node_id, 4); in build_hmat_cache()
|
| A D | cpu.c | 698 aml_int(arch_ids->cpus[i].props.node_id))); in build_cpus_aml()
|
| /qemu/hw/i386/ |
| A D | fw_cfg.c | 162 numa_fw_cfg[apic_id + 1] = cpu_to_le64(cpus->cpus[i].props.node_id); in fw_cfg_arch_create()
|
| A D | acpi-build.c | 1878 int node_id = apic_ids->cpus[i].props.node_id; in build_srat() local 1886 build_append_int_noprefix(table_data, node_id, 1); in build_srat() 1903 build_append_int_noprefix(table_data, node_id, 4); in build_srat()
|
| /qemu/hw/arm/ |
| A D | sbsa-ref.c | 270 ms->possible_cpus->cpus[cs->cpu_index].props.node_id); in create_fdt()
|
| A D | virt-acpi-build.c | 490 uint32_t nodeid = cpu_list->cpus[i].props.node_id; in build_srat()
|
| /qemu/docs/specs/ |
| A D | ppc-spapr-numa.rst | 203 exclusive to the node_id). All other ranges were chosen under the developer
|