Home
last modified time | relevance | path

Searched +full:debug +full:- +full:bp (Results 1 – 5 of 5) 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 Ddebug.c44 hw_bp_addr[hw_bp_idx++] = regs->pc; in hw_bp_handler()
45 regs->pstate |= SPSR_D; in hw_bp_handler()
51 regs->pstate |= SPSR_D; in wp_handler()
56 ss_addr[ss_idx++] = regs->pc; in ss_handler()
57 regs->pstate |= SPSR_SS; in ss_handler()
294 /* Trap on up to 16 debug exception unmask instructions. */ in test_hw_bp()
390 if (strcmp(argv[1], "bp") == 0) { in main()
394 } else if (strcmp(argv[1], "bp-migration") == 0) { in main()
402 } else if (strcmp(argv[1], "wp-migration") == 0) { in main()
410 } else if (strcmp(argv[1], "ss-migration") == 0) { in main()
/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 Ddebug.c38 db_addr[n] = regs->rip; in handle_db()
42 regs->rflags |= X86_EFLAGS_RF; in handle_db()
45 regs->rflags &= ~X86_EFLAGS_TF; in handle_db()
74 bp_addr = regs->rip; in handle_bp()
140 "%sSingle-step #DB basic test", usermode); in report_singlestep_basic()
148 * After being enabled, single-step breakpoints have a one instruction in singlestep_basic()
177 "%sSingle-step #DB on emulated instructions", usermode); in report_singlestep_emulated_instructions()
185 * Verify single-step #DB are generated correctly on emulated in singlestep_emulated_instructions()
215 "%sSingle-step #DB w/ STI blocking", usermode); in report_singlestep_with_sti_blocking()
224 * STI blocking doesn't suppress #DBs, thus the first single-step #DB in singlestep_with_sti_blocking()
[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 …]