Home
last modified time | relevance | path

Searched refs:__GUEST_ASSERT (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c101 __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_pos in test_pmu_event()
[all...]
H A Darch_timer.c34 __GUEST_ASSERT(xcnt >= cmp, in guest_irq_handler()
59 __GUEST_ASSERT(config_iter + 1 == irq_iter, in guest_run()
/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer.c
H A Dhypercalls.c
H A Darch_timer_edge_cases.c
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dapic.h
/linux/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c
H A Dhyperv_features.c
H A Dsvm_nested_soft_inject_test.c
H A Dpmu_counters_test.c
H A Duserspace_io_test.c
H A Dapic_bus_clock_test.c
H A Dprivate_mem_conversions_test.c
/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h85 #define __GUEST_ASSERT(_condition, _fmt, _args...) \ macro
89 __GUEST_ASSERT(_condition, #_condition)
/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c158 __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()
H A Dguest_print_test.c76 __GUEST_ASSERT(vals.a == vals.b, \ in guest_code()
/linux/tools/testing/selftests/kvm/s390x/
H A Dtprot.c
/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Dgic_v3_its.c
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c495 __GUEST_ASSERT(!ret.error || ret.error == SBI_ERR_NOT_SUPPORTED, in guest_sbi_probe_extension()