Home
last modified time | relevance | path

Searched refs:BRANCH_SET_LINK (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/powerpc/lib/
Dtest-code-patching.c73 err = create_branch(&instr, iptr, addr, BRANCH_SET_LINK); in test_branch_iform()
78 err = create_branch(&instr, iptr, addr - 0x100, BRANCH_SET_LINK); in test_branch_iform()
88 err = create_branch(&instr, iptr, addr - 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
93 err = create_branch(&instr, iptr, addr - 0x2000004, BRANCH_SET_LINK); in test_branch_iform()
97 err = create_branch(&instr, iptr, addr + 0x2000000, BRANCH_SET_LINK); in test_branch_iform()
101 err = create_branch(&instr, iptr, addr + 3, BRANCH_SET_LINK); in test_branch_iform()
120 create_branch(&instr, iptr, dest, BRANCH_SET_LINK); in test_create_function_call()
162 flags = 0x3ff000 | BRANCH_SET_LINK; in test_branch_bform()
253 create_branch(&instr, p, addr, BRANCH_SET_LINK); in test_translate_branch()
313 create_cond_branch(&instr, p, addr, BRANCH_SET_LINK); in test_translate_branch()
Dfeature-fixups.c157 (unsigned long)&stf_barrier_fallback, BRANCH_SET_LINK); in do_stf_entry_barrier_fixups()
387 (unsigned long)&entry_flush_fallback, BRANCH_SET_LINK); in __do_entry_flush_fixups()
406 (unsigned long)&scv_entry_flush_fallback, BRANCH_SET_LINK); in __do_entry_flush_fixups()
Dcode-patching.c276 return instr_is_relative_branch(instr) && (ppc_inst_val(instr) & BRANCH_SET_LINK); in instr_is_relative_link_branch()
/linux-6.1.9/arch/powerpc/kernel/trace/
Dftrace.c48 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); in ftrace_call_replace()
451 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call()
501 if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { in __ftrace_make_call_kernel()
598 if (patch_branch((u32 *)ip, addr, BRANCH_SET_LINK)) { in __ftrace_modify_call()
625 if (patch_branch((u32 *)ip, tramp, BRANCH_SET_LINK)) { in __ftrace_modify_call()
/linux-6.1.9/arch/powerpc/kernel/
Doptprobes.c217 op_callback_addr, BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
220 emulate_step_addr, BRANCH_SET_LINK); in arch_prepare_optimized_kprobe()
Dsecurity.c449 patch_branch_site(site, (u64)&kvm_flush_link_stack, BRANCH_SET_LINK); in update_branch_cache_flush()
450 patch_branch_site(site2, (u64)&kvm_flush_link_stack, BRANCH_SET_LINK); in update_branch_cache_flush()
478 patch_branch_site(site, (u64)&flush_branch_caches, BRANCH_SET_LINK); in update_branch_cache_flush()
/linux-6.1.9/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c76 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
/linux-6.1.9/arch/powerpc/include/asm/
Dcode-patching.h22 #define BRANCH_SET_LINK 0x1 macro
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dsmp.c815 patch_branch(vector, target, BRANCH_SET_LINK); in smp_core99_kick_cpu()