/kvm-unit-tests/lib/s390x/ |
H A D | asm-offsets.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */
|
/kvm-unit-tests/lib/asm-generic/ |
H A D | atomic.h | 6 #define atomic_fetch_dec(ptr) __sync_fetch_and_add(ptr, -1) 14 #define atomic_dec_fetch(ptr) __sync_add_and_fetch(ptr, -1)
|
/kvm-unit-tests/lib/x86/ |
H A D | apic.h | 7 #include "apic-defs.h" 70 /* Converts byte-addressable APIC register offset to 4-byte offset. */
|
/kvm-unit-tests/x86/ |
H A D | tsc_adjust.c | 21 report((t2 - t1) >= t3, in main() 32 report(t1 <= t4 - t5, "Internal TSC advances across write to IA32_TSC"); in main()
|
H A D | eventinj.c | 7 #include "apic-defs.h" 69 // no task on x86_64, save/restore caller-save regs 94 printf("NP isr running %lx err=%lx\n", r->rip, r->error_code); in np_isr() 113 printf("Nested NMI isr running rip=%lx\n", r->rip); in nested_nmi_isr() 115 if (r->rip != (ulong)&isr_iret_ip) in nested_nmi_isr() 133 printf("Nested NMI isr running rip=%lx\n", r->rip); in nested_nmi_iret_isr() 135 if (r->rip == iret_stack[-3]) in nested_nmi_iret_isr()
|
H A D | asyncpf.c | 7 * stat -fc %T /sys/fs/cgroup/ 12 * mount -t cgroup none -omemory /dev/cgroup 91 virt = (void*)((ulong)(buf+i) & ~(PAGE_SIZE-1)); in handle_pf()
|
H A D | ioapic.c | 109 g_78_rip = regs->rip; in ioapic_isr_78() 118 g_66_rip = regs->rip; in ioapic_isr_66() 136 static volatile int g_tmr_79 = -1; 186 g_tmr_79 = -1; in test_ioapic_edge_tmr_smp() 192 while(g_tmr_79 == -1) i++; in test_ioapic_edge_tmr_smp() 211 g_tmr_79 = -1; in test_ioapic_level_tmr_smp() 217 while(g_tmr_79 == -1) i++; in test_ioapic_level_tmr_smp()
|
H A D | umip.c | 15 if (regs->rip == expected_rip) { in gp_handler() 17 regs->rip += skip_count; in gp_handler() 37 "movl $2f-1f, %[skip_count]\n\t" \ 188 [user_stack_top]"m"(user_stack[sizeof(user_stack) - in do_ring3()
|
/kvm-unit-tests/lib/arm/asm/ |
H A D | gic-v2.h | 2 * All GIC* defines are lifted from include/linux/irqchip/arm-gic.h 12 #error Do not directly include <asm/gic-v2.h>. Include <asm/gic.h>
|
/kvm-unit-tests/arm/ |
H A D | debug.c | 44 hw_bp_addr[hw_bp_idx++] = regs->pc; in hw_bp_handler() 45 regs->pstate |= SPSR_D; in hw_bp_handler() 51 regs->pstate |= SPSR_D; in wp_handler() 56 ss_addr[ss_idx++] = regs->pc; in ss_handler() 57 regs->pstate |= SPSR_SS; in ss_handler() 394 } else if (strcmp(argv[1], "bp-migration") == 0) { in main() 402 } else if (strcmp(argv[1], "wp-migration") == 0) { in main() 410 } else if (strcmp(argv[1], "ss-migration") == 0) { in main()
|
H A D | cache.c | 32 /* This is the sequence recommended in ARM DDI 0487E.a, page B2-136. */ in prime_icache() 51 mmu_clear_user(current_thread_info()->pgtable, (unsigned long)code); in check_code_generation() 100 report_prefix_push("IDC-DIC"); in main()
|
/kvm-unit-tests/powerpc/ |
H A D | sprs.c | 10 * fill in the SPRs with a well-known value, read the values back (since not 12 * (if the '-w' option has been specified) so that the user has a chance to 19 * content automatically, and some are only accessible with hypervisor privi- 33 /* "Indirect" mfspr/mtspr which accept a non-constant spr number */ 42 " addi %0, %0, (2f-1b) \n" in __mfspr() 69 " addi %0, %0, (2f-1b) \n" in __mtspr() 246 /* SPRs from PowerISA 2.07 Book III-S */ 305 [895] = { "WORT", 64, OS_RW, }, /* UM says 18-bits! */ 509 -1ULL, in main() 513 if (!strcmp(argv[i], "-w")) { in main() [all …]
|
H A D | flat.lds | 42 * tocptr is tocbase + 32K, allowing toc offsets to be +-32K 52 stackptr = . - 64;
|
/kvm-unit-tests/s390x/ |
H A D | flat.lds.S | 1 #include <asm/asm-offsets.h> 50 stackptr = . - STACK_FRAME_SIZE;
|
/kvm-unit-tests/lib/s390x/asm/ |
H A D | uv.h | 109 u8 reserved88[158 - 136]; /* 0x0088 */ 112 uint8_t reserveda8[224 - 168]; /* 0x00a8 */ 115 uint8_t reservedf0[256 - 240]; /* 0x00f0 */ 233 ((struct uv_cb_header *)r2)->cmd, in uv_call_once() 234 ((struct uv_cb_header *)r2)->rc, in uv_call_once() 235 ((struct uv_cb_header *)r2)->rrc); in uv_call_once() 245 * CC 2 and 3 tell us to re-execute because the instruction in uv_call()
|
H A D | sie-arch.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */
|
/kvm-unit-tests/lib/ppc64/ |
H A D | stack.c | 39 return_addr = (void *)regs->trap; in arch_backtrace_frame() 43 return_addr = (void *)regs->nip; in arch_backtrace_frame()
|
H A D | .gitignore | 1 asm-offsets.[hs]
|
/kvm-unit-tests/ |
H A D | LICENSE | 5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 14 software--to make sure the software is free for all its users. This 138 a) Accompany it with the complete corresponding machine-readable 145 machine-readable copy of the corresponding source code, to be 205 license would not permit royalty-free redistribution of the Program by 308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 323 mouse-clicks or menu items--whatever suits your program.
|
/kvm-unit-tests/lib/ |
H A D | report.c | 42 len += vsnprintf(&prefixes[len], sizeof(prefixes) - len, prefix_fmt, in report_prefix_pushf() 51 len += snprintf(&prefixes[len], sizeof(prefixes) - len, in report_prefix_pushf() 87 while (n--) in report_prefix_popn()
|
/kvm-unit-tests/lib/arm64/asm/ |
H A D | gic-v3-its.h | 2 * All ITS* defines are lifted from include/linux/irqchip/arm-gic-v3.h 12 #error Do not directly include <asm/gic-v3-its.h>. Include <asm/gic.h>
|
/kvm-unit-tests/lib/arm/ |
H A D | gic-v3.c | 70 return iar & ((1 << 24) - 1); in gicv3_iar_irqnr() 130 --cpu; in gicv3_ipi_send_mask() 161 * alloc_lpi_tables - Allocate LPI config and pending tables
|
H A D | .gitignore | 1 asm-offsets.[hs]
|
/kvm-unit-tests/lib/powerpc/ |
H A D | .gitignore | 1 asm-offsets.[hs]
|
/kvm-unit-tests/lib/arm64/ |
H A D | .gitignore | 1 asm-offsets.[hs]
|