Home
last modified time | relevance | path

Searched full:sie (Results 1 – 25 of 30) sorted by relevance

12

/kvm-unit-tests/s390x/
H A Dpv-ipl.c11 #include <sie.h>
14 #include <sie-icpt.h>
37 sie(&vm); in test_diag_308()
43 * SIE will copy gr2 to the guest in test_diag_308()
48 sie(&vm); in test_diag_308()
63 sie(&vm); in test_diag_308()
71 sie(&vm); in test_diag_308()
80 sie(&vm); in test_diag_308()
89 sie(&vm); in test_diag_308()
109 sie(&vm); in test_diag_308()
[all …]
H A Dpv-icptcode.c12 #include <sie.h>
16 #include <sie-icpt.h>
28 * SIE.
49 sie(&vm); in test_validity_timing()
58 sie(&vm); in test_validity_timing()
64 * time spent outside of SIE in test_validity_timing()
69 sie(&vm); in test_validity_timing()
70 report(uv_validity_check(&vm), "validity entry cput < time spent outside SIE"); in test_validity_timing()
79 sie(&vm); in run_loop()
114 * One cpu will enter SIE and one will receive the validity. in test_validity_already_running()
[all …]
H A Dsie-dat.c3 * Tests SIE with paging.
18 #include <sie.h>
21 #include "snippets/c/sie-dat.h"
33 sie(&vm); in test_sie_dat()
41 sie(&vm); in test_sie_dat()
58 sie(&vm); in test_sie_dat()
96 report_prefix_push("sie-dat"); in main()
H A Dpv-diags.c12 #include <sie-icpt.h>
13 #include <sie.h>
34 sie(&vm); in test_diag_500()
46 sie(&vm); in test_diag_500()
55 sie(&vm); in test_diag_500()
58 sie(&vm); in test_diag_500()
85 sie(&vm); in test_diag_288()
99 sie(&vm); in test_diag_288()
128 sie(&vm); in test_diag_yield()
136 sie(&vm); in test_diag_yield()
H A Dsie.c3 * Tests SIE diagnose intercepts.
4 * Mainly used as a template for SIE tests.
21 #include <sie.h>
34 sie(&vm); in test_diag()
82 sie(&vm); in test_epoch_ext()
102 report_prefix_push("sie"); in main()
H A Dmvpg-sie.c3 * Tests mvpg SIE partial execution intercepts.
21 #include <sie.h>
42 sie(&vm); in test_mvpg_pei()
53 sie(&vm); in test_mvpg_pei()
64 sie(&vm); in test_mvpg_pei()
80 sie(&vm); in test_mvpg()
111 report_prefix_push("mvpg-sie"); in main()
H A DMakefile26 tests += $(TEST_DIR)/sie.elf
30 tests += $(TEST_DIR)/mvpg-sie.elf
31 tests += $(TEST_DIR)/spec_ex-sie.elf
46 tests += $(TEST_DIR)/sie-dat.elf
48 tests += $(TEST_DIR)/stfle-sie.elf
120 cflatobjs += lib/s390x/sie.o
121 cflatobjs += lib/s390x/sie-icpt.o
126 asmlib = $(TEST_DIR)/cstart64.o $(TEST_DIR)/cpu.o $(TEST_DIR)/cpu-sie.o
139 $(TEST_DIR)/mvpg-sie.elf: snippets = $(SNIPPET_DIR)/c/mvpg-snippet.gbin
140 $(TEST_DIR)/sie-dat.elf: snippets = $(SNIPPET_DIR)/c/sie-dat.gbin
[all …]
H A Dcpu-sie.S3 * s390x SIE assembly library
14 * %r2 pointer to sie control block
41 # Move scb ptr into r14 for the sie instruction
46 sie 0(%r14)
H A Dspec_ex-sie.c15 #include <sie.h>
46 report_prefix_push("SIE spec ex interpretation"); in test_spec_ex_sie()
49 sie(&vm); in test_spec_ex_sie()
60 sie(&vm); in test_spec_ex_sie()
H A Dstfle-sie.c5 * SIE with STLFE interpretive execution facilities test.
45 sie(&vm); in run_guest()
H A Dunittests.cfg107 [sie]
108 file = sie.elf
117 [mvpg-sie]
118 file = mvpg-sie.elf
120 [spec_ex-sie]
121 file = spec_ex-sie.elf
391 [sie-dat]
392 file = sie-dat.elf
400 [stfle-sie]
401 file = stfle-sie.elf
/kvm-unit-tests/lib/s390x/
H A Dsie.c14 #include <sie.h>
29 * 0xffff will never be returned by SIE, so we can indicate a in sie_get_validity()
55 void sie(struct vm *vm) in sie() function
59 /* When a pgm int code is set, we'll never enter SIE below. */ in sie()
71 * in home space all the time, we switch every time in sie() because: in sie()
84 /* also handle all interruptions in home space while in SIE */ in sie()
87 /* leave SIE when we have an intercept or an interrupt so the test can react to it */ in sie()
123 /* Initializes the struct vm members like the SIE control block. */
H A Dsie-icpt.h3 * Functionality for SIE interception handling.
12 #include <sie.h>
H A Dsnippet-exit.h12 #include <sie.h>
13 #include <sie-icpt.h>
H A Dinterrupt.c16 #include <sie.h>
144 /* If we have an error on SIE we directly move to sie_exit */ in fixup_pgm_int()
228 static void print_int_regs(struct stack_frame_int *stack, bool sie) in print_int_regs() argument
233 printf("%s\n", sie ? "Guest registers:" : "Host registers:"); in print_int_regs()
242 if (sie) { in print_int_regs()
267 in_sie ? "in SIE" : "", in print_pgm_info()
271 * If we fall out of SIE before loading the host registers, in print_pgm_info()
275 * Back tracing is actually not a problem since SIE restores gr15. in print_pgm_info()
H A Dsie-icpt.c3 * Functionality for SIE interception handling.
8 #include <sie-icpt.h>
H A Dsie.h7 #include <asm/sie-arch.h>
50 void sie(struct vm *vm);
H A Dsnippet.h12 #include <sie.h>
59 * Sets up a snippet guest on top of an existing and initialized SIE
88 * SIE vm struct.
H A Duv.h5 #include <sie.h>
H A Dasm-offsets.c11 #include <sie.h>
/kvm-unit-tests/s390x/snippets/asm/
H A Dpv-icpt-112.S6 * test will try to export and then execute a SIE entry which
7 * should result in a 112 SIE intercept.
24 * Hypervisor will export the lowcore and try a SIE entry which should
H A Dicpt-loop.S3 * Infinite loop snippet which can be used to test manipulated SIE
H A Dpv-diag-308.S21 * of SIE and therefore effectively loop forever. 0 is a valid PSW
/kvm-unit-tests/s390x/snippets/c/
H A Dmvpg-snippet.c3 * Snippet used by the mvpg-sie.c test to check SIE PEI intercepts.
H A Dsie-dat.c3 * Snippet used by the sie-dat.c test to verify paging without MSO/MSL
14 #include "sie-dat.h"

12