/kvm-unit-tests/x86/ |
H A D | pcid.c | 16 /* try clearing CR0.PG when CR4.PCIDE=1, #GP expected */ in test_pcid_enabled() 22 /* try setting CR4.PCIDE when CR3[11:0] != 0 , #GP expected */ in test_pcid_enabled() 31 report(passed, "Test on PCID when enabled"); in test_pcid_enabled() 46 report(passed, "Test on PCID when disabled"); in test_pcid_disabled() 57 /* try executing invpcid when CR4.PCIDE=0, desc.pcid=0 and type=0..3 in test_invpcid_enabled() 65 /* try executing invpcid when CR4.PCIDE=0, desc.pcid=1 and type=0..1 in test_invpcid_enabled() 81 /* try executing invpcid when CR4.PCIDE=1 in test_invpcid_enabled() 92 report(passed, "Test on INVPCID when enabled"); in test_invpcid_enabled() 107 report(passed, "Test on INVPCID when disabled"); in test_invpcid_disabled()
|
H A D | pku.c | 101 "write to supervisor page when pkru is ad and wp == 1"); in main() 108 "write to supervisor page when pkru is ad and wp == 0"); in main() 115 "write to supervisor page when pkru is wd and wp == 1"); in main() 122 "write to supervisor page when pkru is wd and wp == 0"); in main() 129 "write to user page when pkru is wd and wp == 0"); in main() 136 "write to user page when pkru is wd and wp == 1"); in main() 141 report(pf_count == 1 && save == 26, "read from user page when pkru is ad"); in main()
|
H A D | pks.c | 104 "write to supervisor page when pkrs is ad and wp == 1"); in main() 111 "write to supervisor page when pkrs is ad and wp == 0"); in main() 118 "write to supervisor page when pkrs is wd and wp == 1"); in main() 125 "write to supervisor page when pkrs is wd and wp == 0"); in main() 132 "write to user page when pkrs is wd and wp == 0"); in main() 139 "write to user page when pkrs is wd and wp == 1"); in main() 144 report(pf_count == 0, "read from user page when pkrs is ad"); in main()
|
H A D | lam.c | 100 * This test case is only triggered when LAM_U57 is active and 4-level in test_ptr() 245 * can be enabled or not. That means, when EPT is on, even when KVM in test_lam_user() 250 * Only enable LAM CR3 bits when LAM feature is exposed. in test_lam_user()
|
H A D | cet.c | 29 * when HW detects the violation. in cet_shstk_func() 42 * is terminated when HW detects the violation. in cet_ibt_func()
|
H A D | hyperv.h | 158 uint64_t expiration_time; /* When the timer expired */ 159 uint64_t delivery_time; /* When the message was delivered */
|
H A D | la57.c | 224 * Note that this test tests the kvm's behavior only when ept=0. in test_invpcid() 263 * Thus, the checks only work when run on bare metal, without forced in __test_canonical_checks() 329 report(vector == expected, "%s when CR4.LA57 %ssupported (in %u-bit mode)", in main()
|
/kvm-unit-tests/ |
H A D | README | 35 clang may also be used with cross binutils when cross-compiling. For example, 128 unittests.cfg file. When a unit test is in the nodefault group 129 it is only run when invoked 146 when 158 when the user does not provide an environ, then an environ generated 191 Please try to adhere to the following patterns when adding
|
H A D | README.md | 35 clang may also be used with cross binutils when cross-compiling. For example, 128 unittests.cfg file. When a unit test is in the nodefault group 129 it is only run when invoked 146 when 158 when the user does not provide an environ, then an environ generated 191 Please try to adhere to the following patterns when adding
|
H A D | LICENSE | 21 When we speak of free software, we are referring to freedom, not 104 when run, you must cause it, when started running for such 118 sections when you distribute them as separate works. But when you 261 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 313 when it starts in an interactive mode:
|
H A D | .gitlab-ci.yml | 7 # By default artifacts are only saved on success. This uses when:always 11 when: always 13 when: always 19 when: always 21 when: always
|
H A D | MAINTAINERS | 5 code base, but to provide a set of names that developers can consult when they 7 to be CC'd when submitting a patch to obtain appropriate review.
|
H A D | configure | 103 enable or disable the generation of a default environ when 140 option. When not enabled, tests will be placed in an EFI file 141 system and run from the UEFI shell. Ignored when efi isn't enabled 142 and defaults to enabled when efi is enabled for riscv64. 370 # $arch will have changed when cross-compiling.
|
/kvm-unit-tests/lib/ |
H A D | alloc_phys.h | 43 * when no free memory is remaining, but base will equal top. 48 * Search for memory that can only be used when the MMU is on, and reinitialize
|
H A D | abort.c | 9 * When exit(code) is invoked, qemu will exit with ((code << 1) | 1),
|
/kvm-unit-tests/s390x/ |
H A D | firq.c | 30 * Some KVM versions might mix CPUs when looking for a floating IRQ target, 68 * will take some time as well and smp_cpu_setup() returns when we're in test_wait_state_delivery()
|
H A D | cstart64.S | 24 * When booting from disk the initial short psw is in 31 bit mode. 25 * When running under LPAR or z/VM, we might start in 31 bit and esam mode.
|
H A D | diag308.c | 38 /* Expect a specification exception when using an uneven register */ 51 /* Expect a specification exception when using an unaligned address */
|
H A D | mvpg.c | 201 /* MVPG should still succeed when the source is read-only */ in test_mmu_prot() 209 * When the source or destination are invalid, a page translation in test_mmu_prot() 210 * exception should be raised; when the destination is read-only, in test_mmu_prot()
|
/kvm-unit-tests/s390x/snippets/asm/ |
H A D | icpt-loop.S | 4 * control block intercepts. E.g. when manipulating the PV handles.
|
/kvm-unit-tests/lib/libfdt/ |
H A D | fdt_overlay.c | 20 * overlay fragment when that fragment uses a phandle (target 149 * application process, when we want to update all the overlay 186 * application process, when we want to update all the overlay 360 * This is part of the device tree overlay application process, when 420 * This is part of the device tree overlay application process, when 503 * process, when you want all the phandles in the overlay to point to 549 * application process, when all the phandles have been adjusted and 612 * process, when all the phandles have been adjusted and resolved and
|
/kvm-unit-tests/lib/x86/ |
H A D | fwcfg.h | 24 /* Dummy entries used when running on bare metal */
|
/kvm-unit-tests/lib/arm/ |
H A D | io.c | 139 * be in x0/r0 when we halt. That gives us a final chance to see the exit 149 * up when chr-testdev is not present. in exit()
|
/kvm-unit-tests/lib/ppc64/ |
H A D | opal-calls.S | 28 /* switch to BE and real-mode when we enter OPAL */
|
/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()
|