Home
last modified time | relevance | path

Searched refs:cp0_epc (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.6.21/arch/mips/kernel/
Dbranch.c32 long epc = regs->cp0_epc; in __isa_exception_epc()
80 regs->cp0_epc + in __mm_isBranchInstr()
92 regs->regs[31] = regs->cp0_epc + in __mm_isBranchInstr()
98 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
102 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
108 regs->regs[31] = regs->cp0_epc + in __mm_isBranchInstr()
114 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
118 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
124 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
128 *contpc = regs->cp0_epc + in __mm_isBranchInstr()
[all …]
Dkprobes.c185 kcb->kprobe_saved_epc = regs->cp0_epc; in set_current_kprobe()
208 epc = regs->cp0_epc; in evaluate_branch_instruction()
224 kcb->target_epc = regs->cp0_epc; in evaluate_branch_instruction()
245 regs->cp0_epc = (unsigned long)p->addr; in prepare_singlestep()
251 regs->cp0_epc = (unsigned long)&p->ainsn.insn[0]; in prepare_singlestep()
271 regs->cp0_epc = kcb->target_epc; in resume_execution()
274 regs->cp0_epc = orig_epc + 4; in resume_execution()
286 addr = (kprobe_opcode_t *) regs->cp0_epc; in kprobe_handler()
Duprobes.c113 aup->resume_epc = regs->cp0_epc + 4; in arch_uprobe_pre_xol()
117 aup->resume_epc = regs->cp0_epc; in arch_uprobe_pre_xol()
121 regs->cp0_epc = current->utask->xol_vaddr; in arch_uprobe_pre_xol()
131 regs->cp0_epc = aup->resume_epc; in arch_uprobe_post_xol()
Dtraps.c155 unsigned long pc = regs->cp0_epc; in show_backtrace()
216 regs.cp0_epc = 0; in show_stack()
221 regs.cp0_epc = task->thread.reg31; in show_stack()
301 printk("epc : %0*lx %pS\n", field, regs->cp0_epc, in __show_regs()
302 (void *) regs->cp0_epc); in __show_regs()
388 show_code((void *)regs->cp0_epc, user_mode(regs)); in show_registers()
473 regs->cp0_epc = fixup->nextinsn; in do_be()
486 field, regs->cp0_epc, field, regs->regs[31]); in do_be()
759 force_sig_fault(SIGFPE, FPE_INTOVF, (void __user *)regs->cp0_epc); in do_ov()
848 regs->cp0_epc = old_epc; in simulate_fp()
[all …]
Dsignal_o32.c58 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext32()
95 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext32()
145 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame_32()
149 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
231 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_32()
235 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
Dkgdb.c93 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_epc) },
279 regs->cp0_epc = pc; in kgdb_arch_set_pc()
313 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
314 regs->cp0_epc += 4; in kgdb_mips_notify()
362 regs->cp0_epc = address; in kgdb_arch_handle_exception()
Dunaligned.c585 regs->cp0_epc = origpc; in emulate_load_store_insn()
630 origpc = regs->cp0_epc; in emulate_load_store_microMIPS()
638 pc16 = (unsigned short __user *)msk_isa16_mode(regs->cp0_epc); in emulate_load_store_microMIPS()
641 contpc = regs->cp0_epc + 2; in emulate_load_store_microMIPS()
648 contpc = regs->cp0_epc + 4; in emulate_load_store_microMIPS()
960 regs->cp0_epc = origpc; in emulate_load_store_microMIPS()
1203 regs->cp0_epc = contpc; /* advance or branch */ in emulate_load_store_microMIPS()
1212 regs->cp0_epc = origpc; in emulate_load_store_microMIPS()
1248 origpc = regs->cp0_epc; in emulate_load_store_MIPS16e()
1493 regs->cp0_epc = origpc; in emulate_load_store_MIPS16e()
[all …]
Dsignal.c443 err |= __put_user(regs->cp0_epc, &sc->sc_pc); in setup_sigcontext()
524 err |= __get_user(regs->cp0_epc, &sc->sc_pc); in restore_sigcontext()
743 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame()
747 frame, regs->cp0_epc, regs->regs[31]); in setup_frame()
792 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
796 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame()
845 regs->cp0_epc -= 4; in handle_signal()
880 regs->cp0_epc -= 4; in do_signal()
886 regs->cp0_epc -= 4; in do_signal()
Dmips-r2-to-r6-emul.c257 nepc = regs->cp0_epc; in jr_func()
259 regs->cp0_epc -= 4; in jr_func()
260 epc = regs->cp0_epc; in jr_func()
268 cepc = regs->cp0_epc; in jr_func()
286 regs->cp0_epc = nepc; in jr_func()
918 epc = regs->cp0_epc; in mipsr2_decoder()
994 regs->cp0_epc = epc; in mipsr2_decoder()
1000 cpc = regs->cp0_epc; in mipsr2_decoder()
1051 regs->cp0_epc = epc; in mipsr2_decoder()
1055 cpc = regs->cp0_epc; in mipsr2_decoder()
[all …]
Dstacktrace.c43 unsigned long pc = regs->cp0_epc; in save_context_stack()
88 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
Dsignal_n32.c130 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame_n32()
134 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()
Dptrace.c88 __put_user((long)regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_getregs()
115 __get_user(regs->cp0_epc, (__s64 __user *)&data->cp0_epc); in ptrace_setregs()
267 regs->cp0_epc = (s32)uregs[i]; in gpr32_set()
328 regs->cp0_epc = uregs[i]; in gpr64_set()
904 REG_OFFSET_NAME(c0_epc, cp0_epc),
1144 tmp = regs->cp0_epc; in arch_ptrace()
1239 regs->cp0_epc = data; in arch_ptrace()
Dptrace32.c125 tmp = regs->cp0_epc; in compat_arch_ptrace()
237 regs->cp0_epc = data; in compat_arch_ptrace()
Dperf_event.c48 unsigned long pc = regs->cp0_epc; in perf_callchain_kernel()
Dperf_regs.c46 v = regs->cp0_epc; in perf_reg_value()
/linux-6.6.21/arch/mips/math-emu/
Ddsemul.c141 if (regs->cp0_epc < base) in within_emuframe()
143 if (regs->cp0_epc >= (base + PAGE_SIZE)) in within_emuframe()
192 if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->emul) in dsemul_thread_rollback()
193 regs->cp0_epc = current->thread.bd_emu_branch_pc; in dsemul_thread_rollback()
194 else if (msk_isa16_mode(regs->cp0_epc) == (unsigned long)&fr->badinst) in dsemul_thread_rollback()
195 regs->cp0_epc = current->thread.bd_emu_cont_pc; in dsemul_thread_rollback()
212 int isa16 = get_isa16_mode(regs->cp0_epc); in mips_dsemul()
236 v = regs->cp0_epc & ~3; in mips_dsemul()
243 pr_debug("dsemul 0x%08lx cont at 0x%08lx\n", regs->cp0_epc, cont_pc); in mips_dsemul()
287 regs->cp0_epc = fr_uaddr | isa16; in mips_dsemul()
[all …]
Dcp1emu.c439 regs->cp0_epc + dec_insn.pc_inc + in isBranchInstr()
459 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
469 *contpc = regs->cp0_epc + in isBranchInstr()
473 *contpc = regs->cp0_epc + in isBranchInstr()
483 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
493 *contpc = regs->cp0_epc + in isBranchInstr()
497 *contpc = regs->cp0_epc + in isBranchInstr()
507 regs->regs[31] = regs->cp0_epc + in isBranchInstr()
512 *contpc = regs->cp0_epc + dec_insn.pc_inc; in isBranchInstr()
526 *contpc = regs->cp0_epc + in isBranchInstr()
[all …]
/linux-6.6.21/arch/mips/include/asm/
Dbranch.h63 return regs->cp0_epc; in exception_epc()
65 if (get_isa16_mode(regs->cp0_epc)) in exception_epc()
68 return regs->cp0_epc + 4; in exception_epc()
75 if (get_isa16_mode(regs->cp0_epc)) { in compute_return_epc()
81 regs->cp0_epc += 4; in compute_return_epc()
93 regs->cp0_epc += 4; in MIPS16e_compute_return_epc()
96 regs->cp0_epc += 2; in MIPS16e_compute_return_epc()
Dptrace.h46 unsigned long cp0_epc; member
62 regs->cp0_epc = val; in instruction_pointer_set()
156 #define instruction_pointer(regs) ((regs)->cp0_epc)
Dstacktrace.h84 : "=m" (regs->cp0_epc) in prepare_frametrace()
/linux-6.6.21/arch/mips/mm/
Dfault.c54 field, regs->cp0_epc); in __do_page_fault()
117 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault()
123 field, regs->cp0_epc); in __do_page_fault()
134 field, regs->cp0_epc); in __do_page_fault()
206 (unsigned long) regs->cp0_epc); in __do_page_fault()
207 print_vma_addr(KERN_CONT " ", regs->cp0_epc); in __do_page_fault()
234 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault()
266 field, (unsigned long) regs->cp0_epc, in __do_page_fault()
Dextable.c19 regs->cp0_epc = fixup->nextinsn; in fixup_exception()
/linux-6.6.21/arch/mips/dec/
Dkn01-berr.c75 unsigned int __user *pc = (unsigned int __user *)regs->cp0_epc + in dec_kn01_be_backend()
170 regs->cp0_epc, regs->regs[31]); in dec_kn01_be_interrupt()
/linux-6.6.21/arch/mips/sgi-ip32/
Dip32-berr.c28 printk("Got %cbe at 0x%lx\n", data ? 'd' : 'i', regs->cp0_epc); in ip32_be_handler()
/linux-6.6.21/arch/mips/include/uapi/asm/
Dptrace.h44 __u64 cp0_epc; member

12