Home
last modified time | relevance | path

Searched refs:ppc_inst_equal (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/arch/powerpc/lib/
Dtest-code-patching.c108 check(ppc_inst_equal(instr, ppc_inst(0x48000000))); in test_branch_iform()
200 check(ppc_inst_equal(instr, ppc_inst(0x43FF0000))); in test_branch_bform()
236 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x4a000000))); in test_translate_branch()
248 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x49fffffc))); in test_translate_branch()
296 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x43ff8000))); in test_translate_branch()
308 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x43ff7ffc))); in test_translate_branch()
383 check(ppc_inst_equal(ppc_inst_read((u32 *)&addr64[1]), inst64)); in test_multi_instruction_patching()
384 check(ppc_inst_equal(ppc_inst_read((u32 *)&addr64[2]), inst64)); in test_multi_instruction_patching()
385 check(ppc_inst_equal(ppc_inst_read((u32 *)&addr64[3]), inst64)); in test_multi_instruction_patching()
420 check(ppc_inst_equal(ppc_inst_read((u32 *)&addr64[1]), inst64)); in test_multi_instruction_patching()
[all …]
/linux-6.12.1/arch/powerpc/kernel/trace/
Dftrace_64_pg.c76 if (!ppc_inst_equal(replaced, old)) { in ftrace_modify_code()
165 if (!ppc_inst_equal(op, ppc_inst(PPC_RAW_MFLR(_R0))) && in __ftrace_make_nop()
166 !ppc_inst_equal(op, ppc_inst(PPC_INST_STD_LR))) { in __ftrace_make_nop()
181 if (!ppc_inst_equal(op, ppc_inst(PPC_INST_LD_TOC))) { in __ftrace_make_nop()
402 return ppc_inst_equal(op0, ppc_inst(PPC_RAW_NOP())); in expected_nop_sequence()
404 return ppc_inst_equal(op0, ppc_inst(PPC_RAW_BRANCH(8))) && in expected_nop_sequence()
405 ppc_inst_equal(op1, ppc_inst(PPC_INST_LD_TOC)); in expected_nop_sequence()
494 if (!ppc_inst_equal(op, ppc_inst(PPC_RAW_NOP()))) { in __ftrace_make_call_kernel()
Dftrace.c72 if (!ret && !ppc_inst_equal(op, inst)) { in ftrace_validate_inst()
248 if (!ret && !ppc_inst_equal(old, ppc_inst(PPC_RAW_MFLR(_R0)))) { in ftrace_init_nop()
/linux-6.12.1/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c100 if (unlikely(ppc_inst_equal(instr, ppc_inst(0)))) { in wp_check_constraints()
Dhw_breakpoint.c417 ppc_inst_equal(instr, ppc_inst(0))) { in hw_breakpoint_handler()
/linux-6.12.1/arch/powerpc/include/asm/
Dinst.h97 static inline bool ppc_inst_equal(ppc_inst_t x, ppc_inst_t y) in ppc_inst_equal() function
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c994 && ppc_inst_equal(instr, ppc_inst(bpinstr)) in remove_bpts()
3038 if (adr > first_adr && ppc_inst_equal(inst, last_inst)) { in generic_inst_dump()