/linux-6.6.21/tools/testing/selftests/rseq/ |
D | rseq-arm.h | 82 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ argument 88 …".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_… 94 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ argument 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) \ argument 108 ".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(exit_ip) ", 0x0\n\t" \ 125 start_ip, post_commit_offset, abort_ip) \ argument 129 …".word " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_… 136 start_ip, post_commit_ip, abort_ip) \ argument [all …]
|
D | rseq-x86.h | 59 start_ip, post_commit_offset, abort_ip) \ argument 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) \ argument 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) \ argument 85 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 147 start_ip, post_commit_offset, abort_ip) \ argument 152 …".long " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(abort_… 158 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ argument [all …]
|
D | rseq-s390.h | 42 start_ip, post_commit_offset, abort_ip) \ argument 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) \ argument 63 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 69 start_ip, post_commit_offset, abort_ip) \ argument 74 …".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(a… 88 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ argument 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) \ argument 104 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ [all …]
|
D | rseq-mips.h | 83 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ argument 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) \ argument 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) \ argument 111 LONG " " U32_U64_PAD(__rseq_str(start_ip)) "\n\t" \ 128 start_ip, post_commit_offset, abort_ip) \ argument 132 LONG " " U32_U64_PAD(__rseq_str(start_ip)) "\n\t" \ 141 start_ip, post_commit_ip, abort_ip) \ argument [all …]
|
D | rseq-ppc.h | 55 start_ip, post_commit_offset, abort_ip) \ argument 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) \ argument 86 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n\t" \ 100 start_ip, post_commit_offset, abort_ip) \ argument 106 …".long 0x0, " __rseq_str(start_ip) ", 0x0, " __rseq_str(post_commit_offset) ", 0x0, " __rseq_str(a… 120 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \ argument 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) \ argument 136 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ [all …]
|
D | rseq-riscv.h | 52 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ argument 58 ".quad " __rseq_str(start_ip) ", " \ 66 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ argument 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) \ argument 80 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n" \
|
D | rseq-arm64.h | 94 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \ argument 100 " .quad " __rseq_str(start_ip) ", " \ 108 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \ argument 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) \ argument 122 " .quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n" \
|
D | rseq-abi.h | 50 __u64 start_ip; member
|
/linux-6.6.21/include/trace/events/ |
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; 55 __entry->regs_ip, __entry->start_ip,
|
/linux-6.6.21/kernel/ |
D | rseq.c | 177 if (rseq_cs->start_ip >= TASK_SIZE || in rseq_get_rseq_cs() 178 rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || in rseq_get_rseq_cs() 183 if (rseq_cs->start_ip + rseq_cs->post_commit_offset < rseq_cs->start_ip) in rseq_get_rseq_cs() 186 if (rseq_cs->abort_ip - rseq_cs->start_ip < rseq_cs->post_commit_offset) in rseq_get_rseq_cs() 271 return ip - rseq_cs->start_ip < rseq_cs->post_commit_offset; in in_rseq_cs() 298 trace_rseq_ip_fixup(ip, rseq_cs.start_ip, rseq_cs.post_commit_offset, in rseq_ip_fixup()
|
/linux-6.6.21/include/uapi/linux/ |
D | rseq.h | 50 __u64 start_ip; member
|
/linux-6.6.21/arch/x86/kernel/ |
D | smpboot.c | 987 unsigned long start_ip = real_mode_header->trampoline_start; in do_boot_cpu() local 993 start_ip = real_mode_header->trampoline_start64; in do_boot_cpu() 1019 smpboot_setup_warm_reset_vector(start_ip); in do_boot_cpu() 1039 ret = apic->wakeup_secondary_cpu_64(apicid, start_ip); in do_boot_cpu() 1041 ret = apic->wakeup_secondary_cpu(apicid, start_ip); in do_boot_cpu() 1043 ret = wakeup_secondary_cpu_via_init(apicid, start_ip); in do_boot_cpu()
|
D | sev.c | 969 static int wakeup_cpu_via_vmgexit(int apic_id, unsigned long start_ip) in wakeup_cpu_via_vmgexit() argument 991 if (WARN_ONCE(start_ip != real_mode_header->trampoline_start, in wakeup_cpu_via_vmgexit() 992 "Unsupported SNP start_ip: %lx\n", start_ip)) in wakeup_cpu_via_vmgexit() 996 start_ip = real_mode_header->sev_es_trampoline_start; in wakeup_cpu_via_vmgexit() 1023 sipi_vector = (start_ip >> 12); in wakeup_cpu_via_vmgexit() 1030 vmsa->rip = start_ip & 0xfff; in wakeup_cpu_via_vmgexit()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | mshyperv.h | 279 int hv_snp_boot_ap(int cpu, unsigned long start_ip); 283 static inline int hv_snp_boot_ap(int cpu, unsigned long start_ip) { return 0; } in hv_snp_boot_ap() argument
|
/linux-6.6.21/arch/x86/hyperv/ |
D | ivm.c | 291 int hv_snp_boot_ap(int cpu, unsigned long start_ip) in hv_snp_boot_ap() argument
|
/linux-6.6.21/arch/x86/kernel/acpi/ |
D | boot.c | 365 static int acpi_wakeup_cpu(int apicid, unsigned long start_ip) in acpi_wakeup_cpu() argument 389 acpi_mp_wake_mailbox->wakeup_vector = start_ip; in acpi_wakeup_cpu()
|
/linux-6.6.21/tools/perf/util/ |
D | unwind-libunwind-local.c | 455 di.start_ip = map__start(map); in find_proc_info()
|
D | intel-pt.c | 759 u64 offset, start_offset, start_ip; in intel_pt_walk_next_insn() local 852 start_ip = *ip; in intel_pt_walk_next_insn() 931 *ip - start_ip, intel_pt_insn); in intel_pt_walk_next_insn()
|