Home
last modified time | relevance | path

Searched +full:its +full:- +full:trigger (Results 1 – 8 of 8) sorted by relevance

/kvm-unit-tests/arm/
H A Dunittests.cfg12 # that the configured amount of memory (-m <MB>) are correctly setup
15 [selftest-setup]
19 qemu_params = -m 256
20 kvmtool_params = --mem 256
24 [selftest-vectors-kernel]
26 test_args = vectors-kernel
30 [selftest-vectors-user]
32 test_args = vectors-user
36 [selftest-smp]
43 [pci-test]
[all …]
H A Dgic.c21 #include <asm/gic-v3-its.h>
60 irq_sender[i] = -1; in stats_reset()
61 irq_number[i] = -1; in stats_reset()
77 * wait it cannot un-receive it. Consider at least one in wait_for_interrupts()
93 report_info("interrupts timed-out (5s)"); in wait_for_interrupts()
152 /* GICC_IAR.CPUID is RAZ for non-SGIs */ in gic_get_sender()
154 return -1; in gic_get_sender()
248 gic->ipi.send_self(); in ipi_test_self()
260 report_prefix_push("target-list"); in ipi_test_smp()
274 gic->ipi.send_broadcast(); in ipi_test_smp()
[all …]
H A Dpl031.c6 * Copyright 2019 Amazon.com, Inc. or its affiliates.
58 if (id[i] != readl(&pl031->periph_id[i])) in check_id()
107 uint32_t before = readl(&pl031->dr); in check_rtc_freq()
114 if (readl(&pl031->dr) != before + seconds_to_wait) in check_rtc_freq()
135 report(readl(&pl031->ris) == 1, " RTC RIS == 1"); in irq_handler()
136 report(readl(&pl031->mis) == 1, " RTC MIS == 1"); in irq_handler()
139 writel(1, &pl031->icr); in irq_handler()
141 report(readl(&pl031->ris) == 0, " RTC RIS == 0"); in irq_handler()
142 report(readl(&pl031->mis) == 0, " RTC MIS == 0"); in irq_handler()
153 uint32_t before = readl(&pl031->dr); in check_rtc_irq()
[all …]
/kvm-unit-tests/s390x/
H A Dspec_ex.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * as these result in another interruption code (the transactional-execution-aborted
47 * Also acts as compiler barrier, -> none required in expect/check_invalid_psw
107 expected_psw.addr == invalid_psw.addr - lowcore.pgm_int_id) in check_invalid_psw()
119 struct psw invalid = PSW(BIT(63 - 12), 0x00000000deadbeee); in psw_bit_12_is_1()
165 struct psw invalid = PSW(BIT(63 - 12), 0x00000000deadbeee); in short_psw_bit_12_is_0()
175 * -> cannot check the expected invalid psw like with lpswe in short_psw_bit_12_is_0()
247 * If a trigger is transactable it will also be executed during a transaction.
268 static void test_spec_ex(const struct spec_ex_trigger *trigger) in test_spec_ex() argument
273 register_pgm_cleanup_func(trigger->fixup); in test_spec_ex()
[all …]
/kvm-unit-tests/
H A D.gitlab-ci.yml4 - dnf update -y
5 - dnf install -y make python
15 - logs
23 - build/logs
25 build-aarch64:
28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu
29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu-
30 - make -j2
31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
33 debug-bp
[all …]
/kvm-unit-tests/x86/
H A Dsvm_tests.c46 return vmcb->control.exit_code == SVM_EXIT_VMMCALL; in null_check()
51 vmcb->control.intercept &= ~(1ULL << INTERCEPT_VMRUN); in prepare_no_vmrun_int()
56 return vmcb->control.exit_code == SVM_EXIT_ERR; in check_no_vmrun_int()
66 return vmcb->control.exit_code == SVM_EXIT_VMRUN; in check_vmrun()
72 vmcb->control.intercept |= 1 << INTERCEPT_RSM; in prepare_rsm_intercept()
73 vmcb->control.intercept_exceptions |= (1ULL << UD_VECTOR); in prepare_rsm_intercept()
90 if (vmcb->control.exit_code != SVM_EXIT_RSM) { in finished_rsm_intercept()
92 vmcb->control.exit_code); in finished_rsm_intercept()
95 vmcb->control.intercept &= ~(1 << INTERCEPT_RSM); in finished_rsm_intercept()
100 if (vmcb->control.exit_code != SVM_EXIT_EXCP_BASE + UD_VECTOR) { in finished_rsm_intercept()
[all …]
H A Dvmx_tests.c51 int pos = -1; in ffs()
156 if (((rdtsc() - tsc_val) >> preempt_scale) in preemption_timer_main()
183 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val, in preemption_timer_exit_handler()
184 "busy-wait for preemption timer"); in preemption_timer_exit_handler()
191 report(((rdtsc() - tsc_val) >> preempt_scale) >= preempt_val in preemption_timer_exit_handler()
228 report_fail("busy-wait for preemption timer"); in preemption_timer_exit_handler()
659 report(vmx_get_test_stage() == 0, "I/O bitmap - I/O pass"); in iobmp_main()
664 report(vmx_get_test_stage() == 3, "I/O bitmap - trap in"); in iobmp_main()
667 report(vmx_get_test_stage() == 4, "I/O bitmap - trap out"); in iobmp_main()
670 report(vmx_get_test_stage() == 5, "I/O bitmap - I/O width, long"); in iobmp_main()
[all …]
/kvm-unit-tests/scripts/
H A Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
73 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
76 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
78 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
92 -q, --quiet quiet
93 -v, --verbose verbose mode
94 --no-tree run without a kernel tree
95 --no-signoff do not check for 'Signed-off-by' line
[all …]