/kvm-unit-tests/s390x/ |
H A D | unittests.cfg | 262 -device max-s390x-cpu,core-id=11,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \ 265 -device max-s390x-cpu,core-id=78,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \ 267 -device max-s390x-cpu,core-id=40,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \ 270 -device max-s390x-cpu,core-id=56,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true \ 273 -device max-s390x-cpu,core-id=118,drawer-id=0,book-id=0,socket-id=0,entitlement=high,dedicated=true… 276 -device max-s390x-cpu,core-id=16,drawer-id=0,book-id=0,socket-id=1,entitlement=high,dedicated=true \ 278 -device max-s390x-cpu,core-id=42,drawer-id=0,book-id=0,socket-id=1,entitlement=high,dedicated=true \ 279 -device max-s390x-cpu,core-id=98,drawer-id=0,book-id=0,socket-id=1,entitlement=high,dedicated=true \ 280 -device max-s390x-cpu,core-id=44,drawer-id=0,book-id=0,socket-id=1,entitlement=high,dedicated=true \ 281 -device max-s390x-cpu,core-id=23,drawer-id=0,book-id=0,socket-id=1,entitlement=high,dedicated=true \ [all …]
|
H A D | exittime.c | 192 {"nop", true, NULL, test_nop, 0, 200000 }, 193 {"sigp sense running(0)", true, NULL, test_sigp_sense_running, 0, 20000 }, 194 {"sigp sense running(1)", true, NULL, test_sigp_sense_running, 1, 20000 }, 198 {"diag44", true, NULL, test_diag44, 0, 2000 }, 199 {"stnsm", true, NULL, test_stnsm, 0, 200000 }, 200 {"stosm", true, NULL, test_stosm, 0, 200000 }, 201 {"ssm", true, setup_ssm, test_ssm, 0, 200000 }, 202 {"lctl4", true, setup_lctl4, test_lctl4, 0, 20000 }, 203 {"stpx", true, NULL, test_stpx, 0, 2000 }, 204 {"stfl", true, NULL, test_stfl, 0, 2000 }, [all …]
|
H A D | selftest-migration.c | 22 report(true, "migration skipping"); in main() 28 report(true, "cooperative migration"); in main() 37 report(true, "continuous migration"); in main()
|
/kvm-unit-tests/arm/ |
H A D | micro-bench.c | 42 irq_received = true; in gic_irq_handler() 50 irq_ready = true; in gic_irq_handler() 58 irq_ready = true; in gic_secondary_entry() 59 while (true) in gic_secondary_entry() 95 return true; in test_init() 126 return true; in ipi_prep() 150 return true; in ipi_hw_prep() 183 its_send_mapd_nv(dev2, true); in lpi_prep() 184 its_send_mapc_nv(col1, true); in lpi_prep() 189 return true; in lpi_prep() [all …]
|
H A D | psci.c | 24 invalid_function_exception = true; in invalid_function_handler() 29 invalid_function_exception = true; in invalid_function_handler() 153 failed = true; in psci_cpu_on_test() 163 failed = true; in psci_cpu_on_test() 169 failed = true; in psci_cpu_on_test() 229 failed = true; in psci_cpu_off_test()
|
/kvm-unit-tests/lib/arm64/asm/ |
H A D | gic-v3-its.h | 149 #define its_send_mapd(dev, valid) __its_send_mapd(dev, valid, true) 150 #define its_send_mapc(col, valid) __its_send_mapc(col, valid, true) 151 #define its_send_mapti(dev, irqid, eventid, col) __its_send_mapti(dev, irqid, eventid, col, true) 152 #define its_send_int(dev, eventid) __its_send_int(dev, eventid, true) 153 #define its_send_inv(dev, eventid) __its_send_inv(dev, eventid, true) 154 #define its_send_discard(dev, eventid) __its_send_discard(dev, eventid, true) 155 #define its_send_clear(dev, eventid) __its_send_clear(dev, eventid, true) 156 #define its_send_invall(col) __its_send_invall(col, true) 157 #define its_send_movi(dev, col, id) __its_send_movi(dev, col, id, true) 158 #define its_send_sync(col) __its_send_sync(col, true)
|
/kvm-unit-tests/lib/powerpc/ |
H A D | setup.c | 69 warned = true; in cpu_set() 98 read_common_info = true; in cpu_set() 125 cpu_has_prefix = true; in cpu_init_params() 126 cpu_has_sc_lev = true; in cpu_init_params() 127 cpu_has_pause_short = true; in cpu_init_params() 129 cpu_has_radix = true; in cpu_init_params() 133 cpu_has_power_mce = true; in cpu_init_params() 134 cpu_has_heai = true; in cpu_init_params() 135 cpu_has_siar = true; in cpu_init_params() 282 host_is_tcg = true; in setup() [all …]
|
/kvm-unit-tests/common/ |
H A D | selftest-migration.c | 22 report(true, "migration skipping"); in main() 28 report(true, "cooperative migration"); in main() 37 report(true, "continuous migration"); in main()
|
/kvm-unit-tests/powerpc/ |
H A D | selftest-migration.c | 22 report(true, "migration skipping"); in main() 28 report(true, "cooperative migration"); in main() 37 report(true, "continuous migration"); in main()
|
H A D | smp.c | 17 static volatile bool start_test_running = true; 62 report(true, "start cpus"); in test_start_cpus() 72 static volatile bool ipi_test_running = true; 132 report(true, "IPI cpus"); in test_ipi_cpus() 155 time_went_backward = true; in check_and_record_time() 216 static volatile bool relax_test_running = true; 263 …report(true, "busy-loops on CPU:%d vs cpu_relax-loops on others %ld%%", smp_processor_id(), (long)… in test_relax() 266 static volatile bool pause_test_running = true; 314 …report(true, "busy-loops on CPU:%d vs pause_short-loops on others %ld%%", smp_processor_id(), (lon… in test_pause()
|
H A D | atomics.c | 51 got_interrupt = true; in interrupt_handler() 93 report(true, "failed stwcx. (intervening store)"); in test_lwarx_stwcx() 95 report(true, "succeeded stwcx. (intervening store)"); in test_lwarx_stwcx() 209 report(true, "failed stqcx. (intervening store)"); in test_lqarx_stqcx() 211 report(true, "succeeded stqcx. (intervening store)"); in test_lqarx_stqcx() 257 report(true, "atomic add takes %ldns", in test_inc_perf() 264 report(true, "sequentially conssistent atomic add takes %ldns", in test_inc_perf() 366 do_record = true; in main() 369 do_migrate = true; in main()
|
/kvm-unit-tests/x86/ |
H A D | svm_tests.c | 93 return true; in finished_rsm_intercept() 103 return true; in finished_rsm_intercept() 110 return true; in finished_rsm_intercept() 261 return true; in dr_intercept_finished() 380 return true; in msr_intercept_finished() 384 return true; in msr_intercept_finished() 394 return true; in msr_intercept_finished() 505 return true; in mode_switch_finished() 517 return true; in mode_switch_finished() 524 return true; in mode_switch_finished() [all …]
|
H A D | ioapic.c | 156 expected_tmr_before ? "true" : "false"); in test_ioapic_edge_tmr() 170 expected_tmr_before ? "true" : "false"); in test_ioapic_level_tmr() 196 expected_tmr_before ? "true" : "false"); in test_ioapic_edge_tmr_smp() 221 expected_tmr_before ? "true" : "false"); in test_ioapic_level_tmr_smp() 312 set_mask(0x0e, true); in test_ioapic_edge_mask() 340 set_mask(0x0e, true); in test_ioapic_level_mask() 357 set_mask(0x0e, true); in ioapic_isr_83() 507 test_ioapic_level_tmr(true); in main() 508 test_ioapic_edge_tmr(true); in main() 518 test_ioapic_level_tmr_smp(true); in main() [all …]
|
H A D | hyperv_synic.c | 37 {0xB3, true}, 42 {0xB8, true}, 44 {0xBA, true}, 48 {0xBE, true}, 175 ok = true; in main()
|
H A D | la57.c | 66 return true; in set_test_register_value() 79 return true; in set_test_register_value() 93 return true; in set_test_register_value() 107 return true; in set_test_register_value() 117 return true; in set_test_register_value() 182 CANONICAL_48_VAL, true); in test_register() 232 __test_invpcid(CANONICAL_48_VAL, true); in test_invpcid() 317 __test_canonical_checks(true); in test_canonical_checks()
|
H A D | lam.c | 67 return true; in get_lam_mask() 72 return true; in get_lam_mask() 76 return true; in get_lam_mask() 184 test_ptr(vaddr_mmio, true); in __test_lam_sup() 188 test_invlpg(vaddr, true); in __test_lam_sup() 261 test_ptr(phys_to_virt(IORAM_BASE_PHYS), true); in test_lam_user() 269 test_ptr(phys_to_virt(IORAM_BASE_PHYS), true); in test_lam_user()
|
H A D | hyperv_clock.c | 74 ok[i] = true; in hv_clock_test() 88 got_drift = true; in hv_clock_test() 95 got_warp_msr = true; in hv_clock_test() 103 got_warp_page = true; in hv_clock_test() 126 pass = true; in check_test()
|
H A D | intel-iommu.c | 53 edu_dma(dev, 4, 4, 0, true); in vtd_test_dmar() 70 edu_intr_recved = true; in edu_isr() 105 report(edu_intr_recved == true, VTD_TEST_IR_IOAPIC); in vtd_test_ir() 128 report(edu_intr_recved == true, VTD_TEST_IR_MSI); in vtd_test_ir()
|
H A D | hyperv_stimer.c | 264 synic_sint_create(SINT2_NUM, SINT2_VEC, true); in stimer_test_prepare() 290 timer1->direct = true; in stimer_test_prepare_direct() 291 timer2->direct = true; in stimer_test_prepare_direct() 299 stimer_start(timer1, false, true, ONE_MS_IN_100NS); in stimer_test_periodic() 300 stimer_start(timer2, false, true, ONE_MS_IN_100NS); in stimer_test_periodic() 324 stimer_start(timer, true, false, ONE_MS_IN_100NS); in stimer_test_auto_enable_one_shot() 335 stimer_start(timer, true, true, ONE_MS_IN_100NS); in stimer_test_auto_enable_periodic()
|
/kvm-unit-tests/lib/ |
H A D | errata.h | 28 return true; in errata_force() 39 return true; in errata() 51 return true; in errata_relaxed()
|
H A D | stack.c | 27 return true; in base_address() 33 return true; in base_address() 66 print_stack(&return_addrs[1], depth ? depth - 1 : 0, true); in dump_stack()
|
/kvm-unit-tests/ |
H A D | .editorconfig | 8 root = true 12 insert_final_newline = true
|
/kvm-unit-tests/scripts/ |
H A D | check-patch.py | 36 universal_newlines=True) 42 universal_newlines=True) 52 print("\nChecking all commits since %s...\n" % ancestor, flush=True)
|
/kvm-unit-tests/lib/x86/ |
H A D | amd_sev.c | 27 initialized = true; in amd_sev_enabled() 43 sev_enabled = true; in amd_sev_enabled() 76 initialized = true; in amd_sev_es_enabled() 84 sev_es_enabled = true; in amd_sev_es_enabled()
|
/kvm-unit-tests/lib/riscv/ |
H A D | stack.c | 19 return true; in base_address() 37 walking = true; in arch_backtrace_frame()
|