/linux-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | sbi_pmu_test.c | 101 __GUEST_ASSERT(ret.error == 0, "Unable to start counter %ld\n", counter); in start_counter() 111 __GUEST_ASSERT(ret.error == SBI_ERR_ALREADY_STOPPED, in stop_reset_counter() 121 __GUEST_ASSERT(ret.error == 0, "Unable to stop counter %ld error %ld\n", in stop_counter() 127 __GUEST_ASSERT(regs->cause == EXC_INST_ILLEGAL, in guest_illegal_exception_handler() 168 __GUEST_ASSERT(ret.error == 0, "config matching failed %ld\n", ret.error); in get_counter_index() 181 __GUEST_ASSERT(ret.error == 0, "Unable to retrieve number of counters from SBI PMU"); in get_num_counters() 182 __GUEST_ASSERT(ret.value < RISCV_MAX_PMU_COUNTERS, in get_num_counters() 221 __GUEST_ASSERT(ctrinfo.type < 2, "Invalid counter type %d", ctrinfo.type); in read_counter() 240 __GUEST_ASSERT(0, "SBI implementation version doesn't support PMU Snapshot"); in verify_sbi_requirement_assert() 272 __GUEST_ASSERT(counter_value_post > counter_value_pre, in test_pmu_event() [all …]
|
D | arch_timer.c | 34 __GUEST_ASSERT(xcnt >= cmp, in guest_irq_handler() 59 __GUEST_ASSERT(config_iter + 1 == irq_iter, in guest_run()
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | xcr0_cpuid_test.c | 26 __GUEST_ASSERT((__supported & (xfeatures)) != (xfeatures) || \ 44 __GUEST_ASSERT(!__supported || __supported == (xfeatures), \ 83 __GUEST_ASSERT(!vector, in guest_code() 92 __GUEST_ASSERT(vector == GP_VECTOR, in guest_code()
|
D | monitor_mwait_test.c | 29 __GUEST_ASSERT((vector) == UD_VECTOR, \ 33 __GUEST_ASSERT(!(vector), \
|
D | hyperv_features.c | 56 __GUEST_ASSERT(vector == GP_VECTOR, in guest_msr() 60 __GUEST_ASSERT(!vector, in guest_msr() 68 __GUEST_ASSERT(!vector, in guest_msr() 104 __GUEST_ASSERT(vector == UD_VECTOR, in guest_hcall() 108 __GUEST_ASSERT(!vector, in guest_hcall()
|
D | svm_nested_soft_inject_test.c | 105 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL, in l1_guest_code() 135 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_HLT, in l1_guest_code()
|
D | pmu_counters_test.c | 329 __GUEST_ASSERT(expect_gp ? vector == GP_VECTOR : !vector, \ 334 __GUEST_ASSERT(val == expected_val, \ 504 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_fixed_counters() 509 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_fixed_counters()
|
D | userspace_io_test.c | 46 __GUEST_ASSERT(buffer[i] == 0xaa, in guest_code()
|
D | apic_bus_clock_test.c | 91 __GUEST_ASSERT(freq < apic_hz * 105 / 100 && freq > apic_hz * 95 / 100, in apic_guest_code()
|
D | vmx_pmu_caps_test.c | 58 __GUEST_ASSERT(vector == GP_VECTOR, in guest_test_perf_capabilities_gp()
|
D | private_mem_conversions_test.c | 36 __GUEST_ASSERT(mem[i] == pattern, \
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | no-vgic-v3.c | 34 __GUEST_ASSERT(handled, #r " no read trap"); \ 40 __GUEST_ASSERT(handled, #r " no write trap"); \ 57 __GUEST_ASSERT(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_GIC), in guest_code() 104 __GUEST_ASSERT((val & BIT(0)), in guest_code()
|
D | vpmu_counter_access.c | 181 __GUEST_ASSERT((_tval & mask), \ 185 __GUEST_ASSERT(!(_tval & mask), \ 272 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs() 283 __GUEST_ASSERT(read_data == 0, in test_access_pmc_regs() 290 __GUEST_ASSERT(read_data == write_data, in test_access_pmc_regs() 305 __GUEST_ASSERT(expected_ec == ec, in guest_sync_handler() 365 __GUEST_ASSERT(expected_pmcr_n <= ARMV8_PMU_MAX_GENERAL_COUNTERS, in guest_code() 373 __GUEST_ASSERT(pmcr_n == expected_pmcr_n, in guest_code()
|
D | arch_timer.c | 97 __GUEST_ASSERT(xcnt >= cval, in guest_validate_irq() 100 __GUEST_ASSERT(xctl & CTL_ISTATUS, "xctl = 0x%lx", xctl); in guest_validate_irq() 133 __GUEST_ASSERT(config_iter + 1 == irq_iter, in guest_run_stage()
|
D | hypercalls.c | 107 __GUEST_ASSERT(res.a0 == SMCCC_RET_NOT_SUPPORTED, in guest_test_hvc() 112 __GUEST_ASSERT(res.a0 != SMCCC_RET_NOT_SUPPORTED, in guest_test_hvc()
|
D | debug-exceptions.c | 368 __GUEST_ASSERT(ss_idx < 4, "Expected index < 4, got '%lu'", ss_idx); in guest_ss_handler()
|
D | arch_timer_edge_cases.c | 121 __GUEST_ASSERT(h == n, "Handled %d IRQS but expected %d", h, n); in assert_irqs_handled()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | apic.h | 106 __GUEST_ASSERT(!fault, "Unexpected fault 0x%x on WRMSR(%x) = %lx\n", in x2apic_write_reg() 114 __GUEST_ASSERT(fault == GP_VECTOR, in x2apic_write_reg_fault()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 85 #define __GUEST_ASSERT(_condition, _fmt, _args...) \ macro 89 __GUEST_ASSERT(_condition, #_condition)
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | set_memory_region_test.c | 158 __GUEST_ASSERT(val == 1 || val == MMIO_VAL, in guest_code_move_memory_region() 163 __GUEST_ASSERT(val == 1 || val == 0, in guest_code_move_memory_region() 168 __GUEST_ASSERT(val == 1 || val == MMIO_VAL, in guest_code_move_memory_region()
|
D | guest_print_test.c | 76 __GUEST_ASSERT(vals.a == vals.b, \ in guest_code()
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | tprot.c | 158 __GUEST_ASSERT(result == tests[*i].expected, in perform_next_stage()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/ |
D | gic_v3_its.c | 192 __GUEST_ASSERT(i < GITS_CMDQ_POLL_ITERATIONS, in its_send_cmd()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 495 __GUEST_ASSERT(!ret.error || ret.error == SBI_ERR_NOT_SUPPORTED, in guest_sbi_probe_extension()
|