/linux-master/tools/testing/selftests/rseq/ |
H A D | rseq-arm.h | 82 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ 88 ".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) ", 0x0\n\t" \ 94 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 95 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 96 (post_commit_ip - start_ip), abort_ip) 106 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 108 ".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(exit_ip) ", 0x0\n\t" \ 125 start_ip, post_commit_offset, abort_ip) \ 129 ".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) ", 0x0\n\t" \ 136 start_ip, post_commit_i [all...] |
H A D | rseq-s390.h | 42 start_ip, post_commit_offset, abort_ip) \ 47 ".quad " __rseq_str(start_ip) ", " __rseq_str(post_commit_offset) ", " __rseq_str(abort_ip) "\n\t" \ 61 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 63 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 69 start_ip, post_commit_offset, abort_ip) \ 74 ".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) "\n\t" \ 88 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 90 ".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(exit_ip) "\n\t" \ 103 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 104 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ [all...] |
H A D | rseq-x86.h | 59 start_ip, post_commit_offset, abort_ip) \ 64 ".quad " __rseq_str(start_ip) ", " __rseq_str(post_commit_offset) ", " __rseq_str(abort_ip) "\n\t" \ 71 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 72 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 73 (post_commit_ip - start_ip), abort_ip) 83 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 85 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 147 start_ip, post_commit_offset, abort_ip) \ 152 ".long " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) ", 0x0\n\t" \ 158 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_i [all...] |
H A D | rseq-mips.h | 83 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ 89 LONG " " U32_U64_PAD(__rseq_str(start_ip)) "\n\t" \ 97 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 98 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 99 (post_commit_ip - start_ip), abort_ip) 109 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 111 LONG " " U32_U64_PAD(__rseq_str(start_ip)) "\n\t" \ 128 start_ip, post_commit_offset, abort_ip) \ 132 LONG " " U32_U64_PAD(__rseq_str(start_ip)) "\n\t" \ 141 start_ip, post_commit_i [all...] |
H A D | rseq-ppc.h | 55 start_ip, post_commit_offset, abort_ip) \ 60 ".quad " __rseq_str(start_ip) ", " __rseq_str(post_commit_offset) ", " __rseq_str(abort_ip) "\n\t" \ 84 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 86 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 100 start_ip, post_commit_offset, abort_ip) \ 106 ".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_ip) "\n\t" \ 120 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 123 ".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(exit_ip) "\n\t" \ 135 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 136 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ [all...] |
H A D | rseq-arm64.h | 94 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ 100 " .quad " __rseq_str(start_ip) ", " \ 108 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 109 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 110 (post_commit_ip - start_ip), abort_ip) 120 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 122 " .quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n" \
|
H A D | rseq-riscv.h | 52 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ 58 ".quad " __rseq_str(start_ip) ", " \ 66 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ 67 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ 68 ((post_commit_ip) - (start_ip)), abort_ip) 78 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ 80 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n" \
|
H A D | rseq-abi.h | 50 __u64 start_ip; member in struct:rseq_abi_cs 51 /* Offset from start_ip. */
|
/linux-master/include/trace/events/ |
H A D | rseq.h | 35 TP_PROTO(unsigned long regs_ip, unsigned long start_ip, 38 TP_ARGS(regs_ip, start_ip, post_commit_offset, abort_ip), 42 __field(unsigned long, start_ip) 49 __entry->start_ip = start_ip; 54 TP_printk("regs_ip=0x%lx start_ip=0x%lx post_commit_offset=%lu abort_ip=0x%lx", 55 __entry->regs_ip, __entry->start_ip,
|
/linux-master/kernel/ |
H A D | rseq.c | 43 * [start_ip] ---------------------------- 52 * [abort_ip] < [start_ip] || [abort_ip] >= [post_commit_ip] 62 * [start_ip] 65 * the cpu number loaded before start_ip, branching to abort_ip 69 * at or after start_ip and before post_commit_ip, then the kernel 177 if (rseq_cs->start_ip >= TASK_SIZE || 178 rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || 183 if (rseq_cs->start_ip + rseq_cs->post_commit_offset < rseq_cs->start_ip) 186 if (rseq_cs->abort_ip - rseq_cs->start_ip < rseq_c [all...] |
/linux-master/include/uapi/linux/ |
H A D | rseq.h | 50 __u64 start_ip; member in struct:rseq_cs 51 /* Offset from start_ip. */
|
/linux-master/arch/x86/include/asm/ |
H A D | mshyperv.h | 279 int hv_snp_boot_ap(u32 cpu, unsigned long start_ip); 283 static inline int hv_snp_boot_ap(u32 cpu, unsigned long start_ip) { return 0; } argument
|
/linux-master/arch/x86/kernel/ |
H A D | smpboot.c | 879 unsigned long start_ip = real_mode_header->trampoline_start; local 885 start_ip = real_mode_header->trampoline_start64; 911 smpboot_setup_warm_reset_vector(start_ip); 931 ret = apic->wakeup_secondary_cpu_64(apicid, start_ip); 933 ret = apic->wakeup_secondary_cpu(apicid, start_ip); 935 ret = wakeup_secondary_cpu_via_init(apicid, start_ip);
|
H A D | sev.c | 976 static int wakeup_cpu_via_vmgexit(u32 apic_id, unsigned long start_ip) argument 998 if (WARN_ONCE(start_ip != real_mode_header->trampoline_start, 999 "Unsupported SNP start_ip: %lx\n", start_ip)) 1002 /* Override start_ip with known protected guest start IP */ 1003 start_ip = real_mode_header->sev_es_trampoline_start; 1029 /* Set the CS value based on the start_ip converted to a SIPI vector */ 1030 sipi_vector = (start_ip >> 12); 1036 /* Set the RIP value based on start_ip */ 1037 vmsa->rip = start_ip [all...] |
/linux-master/arch/x86/kernel/acpi/ |
H A D | boot.c | 346 static int acpi_wakeup_cpu(u32 apicid, unsigned long start_ip) argument 370 acpi_mp_wake_mailbox->wakeup_vector = start_ip;
|
/linux-master/arch/x86/hyperv/ |
H A D | ivm.c | 292 int hv_snp_boot_ap(u32 cpu, unsigned long start_ip) argument
|
/linux-master/tools/perf/util/ |
H A D | unwind-libunwind-local.c | 277 * encoded_t start_ip; 469 di.start_ip = map__start(map);
|
H A D | intel-pt.c | 759 u64 offset, start_offset, start_ip; local 852 start_ip = *ip; 931 *ip - start_ip, intel_pt_insn);
|