/kvm-unit-tests/ |
H A D | LICENSE | 7 of this license document, but changing it is not allowed. 12 freedom to share and change it. By contrast, the GNU General Public 17 using it. (Some other Free Software Foundation software is covered by 18 the GNU Lesser General Public License instead.) You can apply it to 24 this service if you wish), that you receive source code or can get it 25 if you want it, that you can change the software or use pieces of it 31 distribute copies of the software, or if you modify it. 53 program proprietary. To prevent this, we have made it clear that any 63 a notice placed by the copyright holder saying it may be distributed 67 that is to say, a work containing the Program or a portion of it, [all …]
|
H A D | .shellcheckrc | 18 # splitting. There are lots of places that use it for word splitting 27 # kvm-unit-tests is negligible as it's not shell-heavy in the first
|
H A D | README | 129 it is only run when invoked 133 b) by specifying any other non-nodefault group it is in, 209 Additionally it's helpful to have a common order of file types in patches. 214 with `git config diff.orderFile scripts/git.difforder` enables it. 216 We strive to follow the Linux kernels coding style so it's recommended
|
H A D | README.md | 129 it is only run when invoked 133 b) by specifying any other non-nodefault group it is in, 209 Additionally it's helpful to have a common order of file types in patches. 214 with `git config diff.orderFile scripts/git.difforder` enables it. 216 We strive to follow the Linux kernels coding style so it's recommended
|
/kvm-unit-tests/lib/ |
H A D | migrate.c | 12 * Initiate migration and wait for it to complete. 33 * Initiate migration and wait for it to complete. 34 * If this function is called more than once, it is a no-op. 50 * harness not to mark it as a failure to migrate.
|
H A D | auxinfo.h | 2 * This code is free software; you can redistribute it and/or modify it
|
H A D | argv.h | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | stdlib.h | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | setjmp.h | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | stack.h | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | errata.h | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | string.h | 4 * This code is free software; you can redistribute it and/or modify it
|
/kvm-unit-tests/lib/s390x/ |
H A D | sie.c | 66 /* Reset icptcode so we don't trip over it below */ in sie() 74 * - it avoids regressions in tests in sie() 75 * - switching every time makes it easier to extend this in the future, in sie() 87 /* leave SIE when we have an intercept or an interrupt so the test can react to it */ in sie() 147 * sie_guest_alloc() - Allocate memory for a guest and map it in virtual address 148 * space such that it is properly aligned. 163 * 2GB for some environments. It also can't be at 2GB since the memory 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 | mmu.c | 51 * allocating it if necessary 64 * allocating it if necessary. 78 * allocating it if necessary. 93 * @pmd The pmd to split, it must be large. 115 * @pud The pud to split, it must be huge. 187 * splitting if necessary. If the entry was not invalid, invalidate it, and 243 * mapping already existed, it is overwritten. If an existing mapping with
|
/kvm-unit-tests/s390x/ |
H A D | firq.c | 46 /* Stop CPU #2. It must succeed because we have at least 3 CPUs */ in test_wait_state_delivery() 52 * interrupt on CPU #1 while it is in the wait state. in test_wait_state_delivery() 56 /* Start CPU #1 and let it wait for the interrupt. */ in test_wait_state_delivery() 69 * either already in wait_for_sclp_int() or just about to execute it. in test_wait_state_delivery()
|
H A D | ex.c | 8 * The execution of the target instruction is the same as if it was executed 54 * to the instruction address is relative to BRAS when it is the target of an 82 * Clang 15 doesn't like the if below, guard it s.t. we still have the assertion in test_bras() 106 * If it is the target of an execute-type instruction, the address is relative 129 * If it is the target of an execute-type instruction, the address is relative 157 * If it is the target of an execute-type instruction, the address is relative
|
H A D | cpu.S | 22 /* Backup current PSW mask, as we have to restore it on success */ 30 /* Or it to the mask */ 32 /* Store it at the reset PSW location (real 0x0) */
|
H A D | migration.c | 23 /* set by CPU1 to signal it has completed */ 89 * It is important loading the vector/floating point registers and in test_func() 95 * just need to wait for it to set the flag. in test_func() 102 /* inform CPU0 we are done, it will request migration */ in test_func()
|
/kvm-unit-tests/lib/arm64/ |
H A D | stack.c | 32 * and lr is just above it in arch_backtrace_frame() 45 * pretty_print_stacks script is run it would get the right in arch_backtrace_frame() 46 * address (it deducts 1 to find the call address, but we want in arch_backtrace_frame()
|
/kvm-unit-tests/x86/ |
H A D | cet.c | 26 * In below line, it modifies the return address, it'll trigger #CP in cet_shstk_func() 27 * while function is returning. The error-code is 0x1, meaning it's in cet_shstk_func() 41 * endbr64, it'll trigger #CP with error code 0x3, and the execution in cet_ibt_func() 97 /* Mark it as shadow-stack page. */ in main()
|
/kvm-unit-tests/lib/libfdt/ |
H A D | libfdt_internal.h | 86 * For situations where security is not a concern it may be safe to enable 96 * If an error occurs when modifying the tree it may leave the tree in 126 * FDT_ERR_BADOFFSET or offsets that are out of bounds. It disables any 130 * It doesn't make sense to enable this assumption unless 145 * This assumes that it is OK for a failed addition to the device tree, 148 * This is safe to enable in most circumstances, even though it may 169 * This assumes that libfdt itself does not have any internal bugs. It
|
/kvm-unit-tests/lib/arm/ |
H A D | spinlock.c | 4 * This code is free software; you can redistribute it and/or modify it
|
H A D | io.c | 24 * having earlier printf support. We'll overwrite it with the real 138 * Defining halt to take 'code' as an argument guarantees that it will 148 * consistent with powerpc and s390x. The runner can pick it in exit()
|
/kvm-unit-tests/powerpc/ |
H A D | emulator.c | 157 * We check r19 is unmodified by filling it with 1s in test_lswi() 201 * r1 is saved to r29, as adding it to the clobber in test_lswi() 202 * list doesn't protect it in test_lswi() 206 /* doc says it is invalid, real proc stops when it comes to in test_lswi() 310 * We check r19 is unmodified by filling it with 1s in test_lswx() 359 * r1 is saved to r29, as adding it to the clobber in test_lswx() 360 * list doesn't protect it in test_lswx() 364 /* doc says it is invalid, real proc stops when it comes to in test_lswx()
|
/kvm-unit-tests/arm/ |
H A D | spinlock-test.c | 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as
|