/kvm-unit-tests/s390x/snippets/c/ |
H A D | cstart.S | 28 * from snippets) to the CPU stop code below, so that snippets can 36 /* For now let's only use cpu 0 in snippets so this will always work. */ 42 /* enable AFP-register control, so FP regs (+BFP instr) can be used */
|
H A D | sie-dat.c | 26 /* write some value to the page so the host can verify it */ in main()
|
/kvm-unit-tests/lib/s390x/ |
H A D | sie.c | 29 * 0xffff will never be returned by SIE, so we can indicate a in sie_get_validity() 66 /* Reset icptcode so we don't trip over it below */ in sie() 81 /* switch to home space so guest tables can be different from host */ in sie() 87 /* leave SIE when we have an intercept or an interrupt so the test can react to it */ in sie() 166 * mapping. This also leaves space after end of physical memory so the in sie_guest_alloc() 175 * Establish a new mapping of the guest memory so it can be 2GB aligned in sie_guest_alloc()
|
H A D | interrupt.c | 153 /* Normal operation is in supervisor state, so this exception in fixup_pgm_int() 164 * the exception so we can use the return in fixup_pgm_int() 203 * responsible instruction. Forward the PSW so we don't loop. in fixup_pgm_int() 272 * then we need to do it here so we print the host registers in print_pgm_info() 293 /* Dump stack doesn't end with a \n so we add it here instead */ in print_pgm_info()
|
H A D | snippet.h | 80 * We want to exit on PGM exceptions so we don't need in snippet_init() 111 /* Unpack works on guest addresses so we only need off */ in snippet_pv_init()
|
/kvm-unit-tests/lib/x86/ |
H A D | amd_sev.c | 102 * Copy UEFI's #VC IDT entry, so KVM-Unit-Tests can reuse it and does in setup_amd_sev_es() 104 * segment to use KVM-Unit-Tests segments, KERNEL_CS, so that we do not in setup_amd_sev_es() 109 * handler in kvm-unit-tests and load it, so that kvm-unit-tests does in setup_amd_sev_es() 125 * must be unencrypted, i.e. its c-bit should be unset. To do so, this in setup_ghcb_pte()
|
H A D | setup.c | 223 * memory allocator, so that the memory allocator can work in the in setup_memory_allocator() 252 * by kvm-unit-tests x86's memory allocator. So it is not necessary to in setup_rsdp() 356 * Resetting the APIC sets the per-vCPU APIC ops and so must be in setup_efi()
|
/kvm-unit-tests/riscv/ |
H A D | Makefile | 111 .PRECIOUS: %.so 113 %.so: EFI_LDFLAGS += -defsym=EFI_SUBSYSTEM=0xa --no-undefined 114 %.so: %.o $(FLATLIBS) $(SRCDIR)/riscv/efi/elf_riscv64_efi.lds $(cstart.o) %.aux.o $$($$*-deps) 118 %.efi: %.so 145 $(RM) $(TEST_DIR)/*.{o,flat,elf,so,efi,debug} \
|
/kvm-unit-tests/arm/ |
H A D | Makefile.common | 80 %.so: EFI_LDFLAGS += -defsym=EFI_SUBSYSTEM=0xa --no-undefined 81 %.so: %.o $(FLATLIBS) $(SRCDIR)/arm/efi/elf_aarch64_efi.lds $(cstart.o) %.aux.o 85 %.efi: %.so 116 $(RM) $(TEST_DIR)/*.{o,flat,elf,so,efi,debug} $(libeabi) $(eabiobjs) \
|
/kvm-unit-tests/x86/ |
H A D | Makefile.common | 49 .PRECIOUS: %.efi %.so 51 %.so: %.o $(FLATLIBS) $(SRCDIR)/x86/efi/elf_x86_64_efi.lds $(cstart.o) 56 %.efi: %.so 132 $(TEST_DIR)/*.so $(TEST_DIR)/*.efi $(TEST_DIR)/*.debug
|
H A D | tsx-ctrl.c | 15 * The value before the transaction is important, so make the in try_transaction()
|
/kvm-unit-tests/ |
H A D | LICENSE | 36 source code. And you must show them these terms so they know their 46 want its recipients to know that what they have is not the original, so 162 form) with the major components (compiler, kernel, and so on) of the 177 this License will not have their licenses terminated so long as such 185 Program), you indicate your acceptance of this License to do so, and 202 distribute so as to satisfy simultaneously your obligations under this 233 those countries, so that distribution is permitted only in or among 288 To do so, attach the following notices to the program. It is safest
|
H A D | .gitignore | 6 *.so
|
H A D | README | 95 to. So that a given group can be executed by specifying its name in the 177 Currently there is a mix of indentation styles so any changes to 216 We strive to follow the Linux kernels coding style so it's recommended
|
H A D | README.md | 95 to. So that a given group can be executed by specifying its name in the 177 Currently there is a mix of indentation styles so any changes to 216 We strive to follow the Linux kernels coding style so it's recommended
|
/kvm-unit-tests/s390x/ |
H A D | macros.S | 36 /* Save registers on the stack (r15), so we can have stacked interrupts. */ 50 * Store CR0 and load initial CR0 so AFP is active and we can
|
/kvm-unit-tests/powerpc/ |
H A D | cstart64.S | 34 * so we just linked at zero. This means the first thing to do is 36 * pseries load addresses are not the same, so find the address 48 /* Zero backpointers in initial stack frame so backtrace() stops */ 162 /* Zero backpointers in initial stack frame so backtrace() stops */
|
H A D | run | 62 # run_qemu treats that as a failure exit and returns 1, so we need
|
H A D | atomics.c | 91 /* This is implementation specific, so don't fail */ in test_lwarx_stwcx() 112 * the store does not proceed if there is no matching reservation, so in test_lwarx_stwcx() 207 /* This is implementation specific, so don't fail */ in test_lqarx_stqcx()
|
/kvm-unit-tests/scripts/ |
H A D | common.bash | 85 # file. Shellcheck can't follow this so help it out. There doesn't appear to be a 86 # way to specify multiple alternatives, so we will have to rethink this if things
|
/kvm-unit-tests/lib/ppc64/ |
H A D | mmu.c | 213 /* Only pseries and powernv support radix so far */ in setup_mmu() 218 * Avoid mapping page 0 so NULL dereferences fault. Test images in setup_mmu() 219 * run relocated well above 0, so nothing useful here except in setup_mmu()
|
/kvm-unit-tests/riscv/efi/ |
H A D | elf_riscv64_efi.lds | 48 * command, so they don't start with a size. Because of p2align and the 73 /* the EFI loader doesn't seem to like a .bss section, so we stick
|
/kvm-unit-tests/s390x/snippets/asm/ |
H A D | flat.lds.S | 17 * Invalid PGM new PSW so we hopefully get a code 8
|
/kvm-unit-tests/lib/arm64/ |
H A D | stack.c | 44 * If this is an exception, add 1 to the pointer so when the in arch_backtrace_frame()
|
/kvm-unit-tests/arm/efi/ |
H A D | elf_aarch64_efi.lds | 30 /* the EFI loader doesn't seem to like a .bss section, so we stick
|