Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/lib/
Dcode-patching.c362 if (instr_is_branch_iform(ppc_inst_read(instr))) in branch_target()
364 else if (instr_is_branch_bform(ppc_inst_read(instr))) in branch_target()
372 if (instr_is_branch_iform(ppc_inst_read(instr)) || in instr_is_branch_to_addr()
373 instr_is_branch_bform(ppc_inst_read(instr))) in instr_is_branch_to_addr()
385 if (instr_is_branch_iform(ppc_inst_read(src))) in translate_branch()
387 ppc_inst_val(ppc_inst_read(src))); in translate_branch()
388 else if (instr_is_branch_bform(ppc_inst_read(src))) in translate_branch()
390 ppc_inst_val(ppc_inst_read(src))); in translate_branch()
614 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x4a000000))); in test_translate_branch()
625 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x49fffffc))); in test_translate_branch()
[all …]
Dfeature-fixups.c52 instr = ppc_inst_read(src); in patch_alt_instruction()
558 inst = ppc_inst_read(src); in do_final_fixups()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dinst.h49 static inline struct ppc_inst ppc_inst_read(const struct ppc_inst *ptr) in ppc_inst_read() function
86 static inline struct ppc_inst ppc_inst_read(const struct ppc_inst *ptr) in ppc_inst_read() function
111 tmp = ppc_inst_read(value); in ppc_inst_next()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkprobes.c110 struct ppc_inst insn = ppc_inst_read((struct ppc_inst *)p->addr); in arch_prepare_kprobe()
119 ppc_inst_prefixed(ppc_inst_read((struct ppc_inst *)(p->addr - 1)))) { in arch_prepare_kprobe()
127 ppc_inst_prefixed(ppc_inst_read((struct ppc_inst *)prev->ainsn.insn))) { in arch_prepare_kprobe()
231 struct ppc_inst insn = ppc_inst_read((struct ppc_inst *)p->ainsn.insn); in try_to_emulate()
443 len = ppc_inst_len(ppc_inst_read((struct ppc_inst *)cur->ainsn.insn)); in kprobe_post_handler()
Doptprobes.c103 if (!is_conditional_branch(ppc_inst_read((struct ppc_inst *)p->ainsn.insn)) && in can_optimize()
105 ppc_inst_read((struct ppc_inst *)p->ainsn.insn)) == 1) { in can_optimize()
285 temp = ppc_inst_read((struct ppc_inst *)p->ainsn.insn); in arch_prepare_optimized_kprobe()
Duprobes.c177 ret = emulate_step(regs, ppc_inst_read(&auprobe->insn)); in arch_uprobe_skip_sstep()
Dmce_power.c460 instr = ppc_inst_read((struct ppc_inst *)instr_addr); in mce_find_instr_ea_and_phys()
/kernel/linux/linux-5.10/arch/powerpc/kernel/trace/
Dftrace.c852 old = ppc_inst_read((struct ppc_inst *)&ftrace_call);
860 old = ppc_inst_read((struct ppc_inst *)&ftrace_regs_call);
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c712 int stepped = emulate_step(regs, ppc_inst_read(bp->instr)); in xmon_core()
718 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd"); in xmon_core()
940 if (bp2 && ppc_inst_prefixed(ppc_inst_read(bp2->instr))) { in insert_bpts()
994 (struct ppc_inst *)bp->address, ppc_inst_read(bp->instr)) != 0) in remove_bpts()
2221 *instr = ppc_inst_read((struct ppc_inst *)adrs); in mread_instr()