/qemu/docs/specs/ |
H A D | ppc-spapr-numa.rst | 188 Translating user distance to kernel distance 195 * user distance 11 to 30 will be interpreted as 20 199 * user distance 10 stays 10 247 the shortest distance. 275 each distance: 362 the distance A to C is not X. E.g.: 376 same distance 20 between nodes 2 and 3 will cause the distance between 0 and 3 386 * local distance, i.e. the distance of the resource to its own NUMA node: 10 387 * if it's a NVLink GPU device, distance: 80 388 * every other resource, distance: 40 [all …]
|
/qemu/hw/ppc/ |
H A D | spapr_numa.c | 75 int ret = numa_info[src].distance[dst]; in get_numa_distance() 128 static uint8_t spapr_numa_get_numa_level(uint8_t distance) in spapr_numa_get_numa_level() argument 130 if (distance == 10) { in spapr_numa_get_numa_level() 132 } else if (distance > 11 && distance <= 30) { in spapr_numa_get_numa_level() 134 } else if (distance > 31 && distance <= 60) { in spapr_numa_get_numa_level() 136 } else if (distance > 61 && distance <= 120) { in spapr_numa_get_numa_level() 182 uint8_t distance = get_numa_distance(ms, src, dst); in spapr_numa_define_FORM1_domains() local 183 uint8_t n_level = spapr_numa_get_numa_level(distance); in spapr_numa_define_FORM1_domains()
|
/qemu/hw/timer/ |
H A D | exynos4210_mct.c | 433 uint64_t distance; in exynos4210_gcomp_find() local 517 uint64_t distance; in exynos4210_gfrc_restart() local 525 if (distance > MCT_GT_COUNTER_STEP || !distance) { in exynos4210_gfrc_restart() 526 distance = MCT_GT_COUNTER_STEP; in exynos4210_gfrc_restart() 566 uint64_t distance; in exynos4210_gfrc_event() local 593 if (distance > MCT_GT_COUNTER_STEP || !distance) { in exynos4210_gfrc_event() 594 distance = MCT_GT_COUNTER_STEP; in exynos4210_gfrc_event() 723 remain = s->distance - cur_progress; in exynos4210_ltick_int_get_cnto() 882 s->distance = s->tcntb; in exynos4210_ltick_recalc_count() 885 to_count = s->distance; in exynos4210_ltick_recalc_count() [all …]
|
H A D | omap_gptimer.c | 105 uint64_t distance; in omap_gp_timer_read() local 108 distance = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - timer->time; in omap_gp_timer_read() 109 distance = muldiv64(distance, timer->rate, timer->ticks_per_sec); in omap_gp_timer_read() 111 if (distance >= 0xffffffff - timer->val) in omap_gp_timer_read() 114 return timer->val + distance; in omap_gp_timer_read()
|
/qemu/contrib/plugins/ |
H A D | lockstep.c | 65 int distance; member 121 divrec.distance++; in report_divergance() 128 if (divrec.distance == 1 && last->distance == 1) { in report_divergance() 136 if (verbose || divrec.distance == 1 || diverged) { in report_divergance() 141 divrec.distance); in report_divergance()
|
/qemu/hw/core/ |
H A D | numa.c | 204 numa_info[src].distance[dst] = val; in parse_numa_distance() 569 if (numa_info[src].distance[dst] == 0 && in validate_numa_distance() 570 numa_info[dst].distance[src] == 0) { in validate_numa_distance() 580 if (numa_info[src].distance[dst] != 0 && in validate_numa_distance() 581 numa_info[dst].distance[src] != 0 && in validate_numa_distance() 582 numa_info[src].distance[dst] != in validate_numa_distance() 583 numa_info[dst].distance[src]) { in validate_numa_distance() 592 if (src != dst && numa_info[src].distance[dst] == 0) { in validate_numa_distance() 615 if (numa_info[src].distance[dst] == 0) { in complete_init_numa_distance() 617 numa_info[src].distance[dst] = NUMA_DISTANCE_MIN; in complete_init_numa_distance() [all …]
|
/qemu/include/sysemu/ |
H A D | numa.h | 47 uint8_t distance[MAX_NODES]; member
|
/qemu/hw/riscv/ |
H A D | numa.c | 184 cpu_to_be32(ms->numa_state->nodes[i].distance[j]); in riscv_socket_fdt_write_distance_matrix()
|
/qemu/qapi/ |
H A D | machine.json | 487 # @dist: NUMA distance configuration (since 2.10) 555 # Set the distance between 2 NUMA nodes. 561 # @val: NUMA distance from source node to destination node. When a 562 # node is unreachable from another node, set the distance between
|
/qemu/hw/arm/ |
H A D | sbsa-ref.c | 239 cpu_to_be32(ms->numa_state->nodes[i].distance[j]); in create_fdt()
|
H A D | omap1.c | 125 uint64_t distance = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) - timer->time; in omap_timer_read() local 128 return timer->val - muldiv64(distance >> (timer->ptv + 1), in omap_timer_read()
|
H A D | virt.c | 312 cpu_to_be32(ms->numa_state->nodes[i].distance[j]); in create_fdt()
|
/qemu/docs/devel/ |
H A D | fuzzing.rst | 79 distance between Arg1 and Arg2 decreases, libFuzzer adds the input to the
|
H A D | style.rst | 24 can tell the difference between a tab and eight spaces from a distance
|
H A D | submitting-a-patch.rst | 169 displays the subject line some distance apart (that is, a body that
|
/qemu/hw/acpi/ |
H A D | aml-build.c | 1958 assert(ms->numa_state->nodes[i].distance[j]); in build_slit() 1960 ms->numa_state->nodes[i].distance[j], in build_slit()
|
/qemu/ |
H A D | qemu-options.hx | 387 "-numa dist,src=source,dst=destination,val=distance\n" 397 ``-numa dist,src=source,dst=destination,val=distance`` 405 distance from a source node to a destination node. Set the ACPI 480 source and destination are NUMA node IDs. distance is the NUMA 481 distance from source to destination. The distance from a node to 482 itself is always 10. If any pair of nodes is given a distance, then 487 all node pairs must be provided distance values for both directions, 489 another node, set the pair's distance to 255.
|
/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 1223 * in range early, regardless of direct branch distance,
|
/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 2074 * in range early, regardless of direct branch distance.
|