Lines Matching +full:interrupt +full:- +full:names
1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <asm/asm-offsets.h>
14 #include <asm/interrupt.h>
30 * a single container unless overwritten by the QEMU -smp parameter.
139 report(cc == 1, "Should report change after horizontal -> vertical"); in check_polarization_change()
145 report(cc == 0, "Should not report change after vertical -> vertical"); in check_polarization_change()
151 report(cc == 1, "Should report change after vertical -> horizontal"); in check_polarization_change()
157 report(cc == 0, "Should not report change after horizontal -> horizontal"); in check_polarization_change()
183 n *= info->mag[i] ?: 1; in stsi_check_maxcpus()
203 report(IS_ALIGNED(info->length, 8), "Length %d multiple of 8", info->length); in stsi_check_header()
204 report(info->length < PAGE_SIZE, "Length %d in bounds", info->length); in stsi_check_header()
205 report(sel2 == info->mnest, "Valid mnest"); in stsi_check_header()
213 if (max_nested_lvl != info->mnest) { in stsi_check_header()
223 report(info->mag[CPU_TOPOLOGY_MAX_LEVEL - i - 1] == expected_topo_lvl[i], in stsi_check_header()
226 info->mag[CPU_TOPOLOGY_MAX_LEVEL - i - 1], in stsi_check_header()
231 report(info->mag[CPU_TOPOLOGY_MAX_LEVEL - i - 1] == 0, in stsi_check_header()
233 info->mag[CPU_TOPOLOGY_MAX_LEVEL - i - 1], 0); in stsi_check_header()
271 report_prefix_pushf("%d:%d:%d:%d", cpu->d, cpu->pp, cpu->type, cpu->origin); in check_cpu()
273 report(!(cpu->raw[0] & CPUS_TLE_RES_BITS), "reserved bits %016lx", in check_cpu()
274 cpu->raw[0] & CPUS_TLE_RES_BITS); in check_cpu()
276 report(cpu->type == CPU_TYPE_IFL, "type IFL"); in check_cpu()
278 if (cpu->d) in check_cpu()
279 report(cpu->pp == POLARIZATION_VERTICAL_HIGH || in check_cpu()
280 cpu->pp == POLARIZATION_HORIZONTAL, in check_cpu()
287 return __builtin_popcountl(cpu->mask); in check_cpu()
295 void *last = ((void *)info) + info->length; in check_child_cpus()
304 if (prev_cpu->type > child[i].type) { in check_child_cpus()
308 if (prev_cpu->type < child[i].type) in check_child_cpus()
310 if (prev_cpu->pp < child[i].pp) { in check_child_cpus()
314 if (prev_cpu->pp > child[i].pp) in check_child_cpus()
316 if (!prev_cpu->d && child[i].d) { in check_child_cpus()
320 if (prev_cpu->d && !child[i].d) in check_child_cpus()
322 if (prev_cpu->origin > child[i].origin) { in check_child_cpus()
346 void *last = ((void *)info) + info->length; in check_child_containers()
350 for (i = 0, entry = child; (void *)entry < last && entry->nl == cont->nl - 1; i++) { in check_child_containers()
354 if (max_nested_lvl == info->mnest) in check_child_containers()
355 report(i <= expected_topo_lvl[cont->nl - 1], "%d children <= max of %d", in check_child_containers()
356 i, expected_topo_lvl[cont->nl - 1]); in check_child_containers()
368 report_prefix_pushf("%d", cont->id); in check_container()
370 report(cont->nl - 1 == child->nl, "Level %d one above child level %d", in check_container()
371 cont->nl, child->nl); in check_container()
372 report(!(cont->raw & CONTAINER_TLE_RES_BITS), "reserved bits %016lx", in check_container()
373 cont->raw & CONTAINER_TLE_RES_BITS); in check_container()
375 if (cont->nl > 1) in check_container()
376 entry = check_child_containers(info, cont, &child->container, cpus_in_masks); in check_container()
378 entry = check_child_cpus(info, cont, &child->cpu, cpus_in_masks); in check_container()
391 check_container(info, &dummy, info->tle, &cpus_in_masks); in check_topology_list()
479 * the one triggering a topology-change-report-pending condition, level 2,
497 for (sel2 = 6; sel2 >= 2; sel2--) in test_stsi()
509 * We use the current names found in IBM/Z literature, Linux and QEMU:
526 if (flag[0] != '-') in parse_topology_args()
527 report_abort("Argument is expected to begin with '-'"); in parse_topology_args()