Home
last modified time | relevance | path

Searched full:start_ip (Results 1 – 17 of 17) sorted by relevance

/linux/tools/testing/selftests/rseq/
H A Drseq-mips.h83 #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 …]
H A Drseq-s390.h42 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 …]
H A Drseq-arm.h82 #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 …]
H A Drseq-x86.h59 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 …]
H A Drseq-ppc.h55 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 …]
H A Drseq-riscv.h51 #define __RSEQ_ASM_DEFINE_TABLE(label, version, flags, start_ip, \
57 ".quad " __rseq_str(start_ip) ", " \
65 #define RSEQ_ASM_DEFINE_TABLE(label, start_ip, post_commit_ip, abort_ip) \
66 __RSEQ_ASM_DEFINE_TABLE(label, 0x0, 0x0, start_ip, \ argument
67 ((post_commit_ip) - (start_ip)), abort_ip)
77 #define RSEQ_ASM_DEFINE_EXIT_POINT(start_ip, exit_ip) \
79 ".quad " __rseq_str(start_ip) ", " __rseq_str(exit_ip) "\n" \
52 __RSEQ_ASM_DEFINE_TABLE(label,version,flags,start_ip,post_commit_offset,abort_ip) global() argument
78 RSEQ_ASM_DEFINE_EXIT_POINT(start_ip,exit_ip) global() argument
H A Drseq-arm64.h94 #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" \
H A Drseq-abi.h50 __u64 start_ip; member
51 /* Offset from start_ip. */
/linux/include/trace/events/
H A Drseq.h35 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/kernel/
H A Drseq.c116 * [start_ip] ----------------------------
125 * [abort_ip] < [start_ip] || [abort_ip] >= [post_commit_ip]
135 * [start_ip]
138 * the cpu number loaded before start_ip, branching to abort_ip
142 * at or after start_ip and before post_commit_ip, then the kernel
286 if (rseq_cs->start_ip >= TASK_SIZE || in rseq_get_rseq_cs()
287 rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || in rseq_get_rseq_cs()
292 if (rseq_cs->start_ip + rseq_cs->post_commit_offset < rseq_cs->start_ip) in rseq_get_rseq_cs()
295 if (rseq_cs->abort_ip - rseq_cs->start_ip < rseq_cs->post_commit_offset) in rseq_get_rseq_cs()
375 * Unsigned comparison will be true when ip >= start_ip, and when
[all …]
/linux/include/uapi/linux/
H A Drseq.h50 __u64 start_ip; member
51 /* Offset from start_ip. */
/linux/arch/x86/include/asm/
H A Dmshyperv.h254 int hv_snp_boot_ap(u32 apic_id, unsigned long start_ip, unsigned int cpu);
258 static inline int hv_snp_boot_ap(u32 apic_id, unsigned long start_ip, in hv_snp_boot_ap() argument
/linux/arch/x86/coco/sev/
H A Dcore.c1028 static int wakeup_cpu_via_vmgexit(u32 apic_id, unsigned long start_ip, unsigned int cpu) in wakeup_cpu_via_vmgexit() argument
1048 if (WARN_ONCE(start_ip != real_mode_header->trampoline_start, in wakeup_cpu_via_vmgexit()
1049 "Unsupported SNP start_ip: %lx\n", start_ip)) in wakeup_cpu_via_vmgexit()
1052 /* Override start_ip with known protected guest start IP */ in wakeup_cpu_via_vmgexit()
1053 start_ip = real_mode_header->sev_es_trampoline_start; in wakeup_cpu_via_vmgexit()
1073 /* Set the CS value based on the start_ip converted to a SIPI vector */ in wakeup_cpu_via_vmgexit()
1074 sipi_vector = (start_ip >> 12); in wakeup_cpu_via_vmgexit()
1080 /* Set the RIP value based on start_ip */ in wakeup_cpu_via_vmgexit()
1081 vmsa->rip = start_ip & 0xfff; in wakeup_cpu_via_vmgexit()
/linux/arch/x86/kernel/
H A Dsmpboot.c844 unsigned long start_ip = real_mode_header->trampoline_start; in do_boot_cpu() local
850 start_ip = real_mode_header->trampoline_start64; in do_boot_cpu()
876 smpboot_setup_warm_reset_vector(start_ip); in do_boot_cpu()
896 ret = apic->wakeup_secondary_cpu_64(apicid, start_ip, cpu); in do_boot_cpu()
898 ret = apic->wakeup_secondary_cpu(apicid, start_ip, cpu); in do_boot_cpu()
900 ret = wakeup_secondary_cpu_via_init(apicid, start_ip, cpu); in do_boot_cpu()
/linux/tools/perf/util/
H A Dunwind-libunwind-local.c277 * encoded_t start_ip;
472 di.start_ip = map__start(map); in find_proc_info()
H A Dintel-pt.c761 u64 offset, start_offset, start_ip; in intel_pt_walk_next_insn() local
855 start_ip = *ip; in intel_pt_walk_next_insn()
935 *ip - start_ip, intel_pt_insn); in intel_pt_walk_next_insn()
/linux/arch/x86/hyperv/
H A Divm.c294 int hv_snp_boot_ap(u32 apic_id, unsigned long start_ip, unsigned int cpu) in hv_snp_boot_ap() argument