Lines Matching +full:migration +full:- +full:memory

2 tests += $(TEST_DIR)/selftest-migration.elf
3 tests += $(TEST_DIR)/memory-verify.elf
25 tests += $(TEST_DIR)/uv-guest.elf
28 tests += $(TEST_DIR)/uv-host.elf
30 tests += $(TEST_DIR)/mvpg-sie.elf
31 tests += $(TEST_DIR)/spec_ex-sie.elf
35 tests += $(TEST_DIR)/adtl-status.elf
36 tests += $(TEST_DIR)/migration.elf
37 tests += $(TEST_DIR)/pv-attest.elf
38 tests += $(TEST_DIR)/migration-cmm.elf
39 tests += $(TEST_DIR)/migration-skey.elf
40 tests += $(TEST_DIR)/panic-loop-extint.elf
41 tests += $(TEST_DIR)/panic-loop-pgm.elf
42 tests += $(TEST_DIR)/migration-sck.elf
46 tests += $(TEST_DIR)/sie-dat.elf
48 tests += $(TEST_DIR)/stfle-sie.elf
50 pv-tests += $(TEST_DIR)/pv-diags.elf
51 pv-tests += $(TEST_DIR)/pv-icptcode.elf
52 pv-tests += $(TEST_DIR)/pv-ipl.elf
58 tests += $(pv-tests)
62 # Add binary flat images for use in non-KVM hypervisors
70 snippets-obj = $(patsubst %.gbin,%.gobj,$(snippets))
80 # Include generated header files (e.g. in case of out-of-source builds)
82 CPPFLAGS = $(addprefix -I,$(INCLUDE_PATHS))
84 CFLAGS += -std=gnu99
85 CFLAGS += -ffreestanding
87 CFLAGS += -O2
88 CFLAGS += -march=zEC12
89 CFLAGS += -mbackchain
90 CFLAGS += -fno-delete-null-pointer-checks
91 LDFLAGS += -Wl,--build-id=none
96 asm-offsets = lib/$(ARCH)/asm-offsets.h
97 include $(SRCDIR)/scripts/asm-offsets.mak
111 cflatobjs += lib/s390x/sclp-console.o
121 cflatobjs += lib/s390x/sie-icpt.o
126 asmlib = $(TEST_DIR)/cstart64.o $(TEST_DIR)/cpu.o $(TEST_DIR)/cpu-sie.o
138 # $(TEST_DIR)/<snippet-host>.elf: snippets = $(SNIPPET_DIR)/<c/asm>/<snippet>.gbin
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
141 $(TEST_DIR)/spec_ex-sie.elf: snippets = $(SNIPPET_DIR)/c/spec_ex.gbin
142 $(TEST_DIR)/stfle-sie.elf: snippets = $(SNIPPET_DIR)/c/stfle.gbin
144 $(TEST_DIR)/pv-diags.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-diag-yield.gbin
145 $(TEST_DIR)/pv-diags.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-diag-288.gbin
146 $(TEST_DIR)/pv-diags.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-diag-500.gbin
147 $(TEST_DIR)/pv-icptcode.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-icpt-112.gbin
148 $(TEST_DIR)/pv-icptcode.elf: pv-snippets += $(SNIPPET_DIR)/asm/icpt-loop.gbin
149 $(TEST_DIR)/pv-icptcode.elf: pv-snippets += $(SNIPPET_DIR)/asm/loop.gbin
150 $(TEST_DIR)/pv-icptcode.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-icpt-vir-timing.gbin
151 $(TEST_DIR)/pv-ipl.elf: pv-snippets += $(SNIPPET_DIR)/asm/pv-diag-308.gbin
155 snippets += $(pv-snippets)
156 tests += $(pv-tests)
157 snippet-hdr-obj = $(patsubst %.gbin,%.hdr.obj,$(pv-snippets))
159 snippet-hdr-obj =
163 lds-autodepend-flags = -MMD -MF $(dir $*).$(notdir $*).d -MT $@
164 %.lds: %.lds.S $(asm-offsets)
165 $(CPP) $(lds-autodepend-flags) $(CPPFLAGS) -P -C -o $@ $<
168 $(CC) $(CFLAGS) -c -o $@ $< -DPROGNAME=\"$(@:.aux.o=.elf)\"
171 %.elf: $(FLATLIBS) $(asmlib) $(TEST_DIR)/flat.lds $$(snippets-obj) $$(snippet-hdr-obj) %.o %.aux.o
172 @$(CC) $(LDFLAGS) -o $@ -T $(TEST_DIR)/flat.lds \
173 $(filter %.o, $^) $(FLATLIBS) $(snippets-obj) $(snippet-hdr-obj) || \
174 { echo "Failure probably caused by missing definition of gen-se-header executable"; exit 1; }
175 @chmod a-x $@
179 comm-key = $(TEST_DIR)/comm.key
180 $(comm-key):
184 $(OBJCOPY) -O binary $< $@
187 $(shell $(GENPROTIMG) --help | grep -q -- "$1" && echo yes || echo no)
190 GENPROTIMG_DEFAULT_ARGS := --no-verify
194 ifeq ($(call test_genprotimg_opt,--comm-key),yes)
195 GENPROTIMG_COMM_OPTION := --comm-key
197 GENPROTIMG_COMM_OPTION := --x-comm-key
203 ifeq ($(call test_genprotimg_opt,--overwrite),yes)
204 GENPROTIMG_DEFAULT_ARGS += --overwrite --no-component-check
217 %.pv.bin: %.bin $(HOST_KEY_DOCUMENT) $(comm-key)
218 $(eval parmfile_args = $(if $(filter %.parmfile,$^),--parmfile $(filter %.parmfile,$^),))
219--host-key-document $(HOST_KEY_DOCUMENT) $(GENPROTIMG_COMM_OPTION) $(comm-key) --x-pcf $(GENPROTI…
221 $(snippet_asmlib): $$(patsubst %.o,%.S,$$@) $(asm-offsets)
222 $(CC) $(CFLAGS) -c -nostdlib -o $@ $<
226 $(RM) $(TEST_DIR)/*.{o,elf,bin,lds} $(TEST_DIR)/.*.d lib/s390x/.*.d $(comm-key)
228 generated-files = $(asm-offsets)
229 $(tests:.elf=.o) $(asmlib) $(cflatobjs): $(generated-files)