/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | kprobes.c | 74 kcb->iaoq[0] = regs->iaoq[0]; in setup_singlestep() 75 kcb->iaoq[1] = regs->iaoq[1]; in setup_singlestep() 76 regs->iaoq[0] = (unsigned long)p->ainsn.insn; in setup_singlestep() 89 p = get_kprobe((unsigned long *)regs->iaoq[0]); in parisc_kprobe_break_handler() 139 if (regs->iaoq[0] != (unsigned long)p->ainsn.insn+4) in parisc_kprobe_ss_handler() 162 /* for absolute branches, regs->iaoq[1] has already the right in parisc_kprobe_ss_handler() 165 regs->iaoq[0] = kcb->iaoq[ in parisc_kprobe_ss_handler() [all...] |
H A D | kgdb.c | 87 gr->iaoq_f = regs->iaoq[0]; in pt_regs_to_gdb_regs() 90 gr->iaoq_b = regs->iaoq[1]; in pt_regs_to_gdb_regs() 118 regs->iaoq[0] = gr->iaoq_f; in gdb_regs_to_pt_regs() 121 regs->iaoq[1] = gr->iaoq_b; in gdb_regs_to_pt_regs() 129 unsigned long gr30, iaoq; in sleeping_thread_to_gdb_regs() local 132 iaoq = regs->iaoq[0]; in sleeping_thread_to_gdb_regs() 135 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs() 139 regs->iaoq[0] = iaoq; in sleeping_thread_to_gdb_regs() [all...] |
H A D | traps.c | 142 level, regs->iasq[0], regs->iasq[1], regs->iaoq[0], regs->iaoq[1]); in show_regs() 150 printk("%s IAOQ[0]: " RFMT "\n", level, regs->iaoq[0]); in show_regs() 151 printk("%s IAOQ[1]: " RFMT "\n", level, regs->iaoq[1]); in show_regs() 154 printk("%s IAOQ[0]: %pS\n", level, (void *) regs->iaoq[0]); in show_regs() 155 printk("%s IAOQ[1]: %pS\n", level, (void *) regs->iaoq[1]); in show_regs() 206 int is_valid_bugaddr(unsigned long iaoq) in is_valid_bugaddr() argument 219 current->comm, task_pid_nr(current), str, err, regs->iaoq[0]); in die_if_kernel() 279 (void __user *) (regs->iaoq[0] & ~3)); in handle_gdb_break() 289 tt = report_bug(regs->iaoq[ in handle_break() [all...] |
H A D | signal.c | 77 err |= __copy_from_user(regs->iaoq, sc->sc_iaoq, sizeof(regs->iaoq)); in restore_sigcontext() 80 DBG(2,"restore_sigcontext: iaoq is %#lx / %#lx\n", in restore_sigcontext() 81 regs->iaoq[0],regs->iaoq[1]); in restore_sigcontext() 157 regs->gr[31] = regs->iaoq[0]; in sys_rt_sigreturn() 159 DBG(1,"sys_rt_sigreturn: returning to %#lx, DUMPING REGS:\n", regs->iaoq[0]); in sys_rt_sigreturn() 203 /* regs->iaoq is undefined in the syscall return path */ in setup_sigcontext() 208 DBG(1,"setup_sigcontext: iaoq %#lx / %#lx (in syscall)\n", in setup_sigcontext() 211 err |= __copy_to_user(sc->sc_iaoq, regs->iaoq, sizeo in setup_sigcontext() [all...] |
H A D | signal32.c | 68 regs->iaoq[0] = ((u64)compat_regt << 32) | (u64)compat_reg; in restore_sigcontext32() 69 DBG(2,"restore_sigcontext32: upper half of iaoq[0] = %#lx\n", compat_regt); in restore_sigcontext32() 76 regs->iaoq[1] = ((u64)compat_regt << 32) | (u64)compat_reg; in restore_sigcontext32() 77 DBG(2,"restore_sigcontext32: upper half of iaoq[1] = %#lx\n", compat_regt); in restore_sigcontext32() 80 DBG(2,"restore_sigcontext32: iaoq is %#lx / %#lx\n", in restore_sigcontext32() 81 regs->iaoq[0],regs->iaoq[1]); in restore_sigcontext32() 134 /* regs->iaoq is undefined in the syscall return path */ in setup_sigcontext32() 142 DBG(2,"setup_sigcontext32: upper half iaoq[0] = %#x\n", compat_reg); in setup_sigcontext32() 152 DBG(2,"setup_sigcontext32: upper half iaoq[ in setup_sigcontext32() [all...] |
H A D | ptrace.c | 79 task_regs(task)->iaoq[0] = task_regs(task)->iaoq[1]; in user_enable_single_step() 81 task_regs(task)->iaoq[1] = task_regs(task)->iaoq[0] + 4; in user_enable_single_step() 91 (void __user *) (task_regs(task)->iaoq[0] & ~3), in user_enable_single_step() 156 * entry.S:syscall_restore_rfi; e.g. iaoq is written with in arch_ptrace() 280 * entry.S:syscall_restore_rfi; e.g. iaoq is written with in compat_arch_ptrace() 452 case RI(iaoq[0]): return regs->iaoq[0]; in get_reg() 453 case RI(iaoq[ in get_reg() [all...] |
H A D | ftrace.c | 225 regs->iaoq[0] = ip; in kprobe_ftrace_handler() 226 regs->iaoq[1] = ip + 4; in kprobe_ftrace_handler() 229 regs->iaoq[0] = ip + 4; in kprobe_ftrace_handler() 230 regs->iaoq[1] = ip + 8; in kprobe_ftrace_handler()
|
H A D | unwind.c | 235 info->prev_ip = regs->iaoq[0]; in unwind_special() 251 info->prev_ip = regs->iaoq[0]; in unwind_special() 392 info->ip = regs->iaoq[0]; in unwind_frame_init() 410 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task() 431 r.iaoq[0] = _THIS_IP_; in unwind_frame_init_task()
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | kgdb.c | 88 gr->iaoq_f = regs->iaoq[0]; in pt_regs_to_gdb_regs() 91 gr->iaoq_b = regs->iaoq[1]; in pt_regs_to_gdb_regs() 119 regs->iaoq[0] = gr->iaoq_f; in gdb_regs_to_pt_regs() 122 regs->iaoq[1] = gr->iaoq_b; in gdb_regs_to_pt_regs() 130 unsigned long gr30, iaoq; in sleeping_thread_to_gdb_regs() local 133 iaoq = regs->iaoq[0]; in sleeping_thread_to_gdb_regs() 136 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs() 140 regs->iaoq[0] = iaoq; in sleeping_thread_to_gdb_regs() [all...] |
H A D | kprobes.c | 80 kcb->iaoq[0] = regs->iaoq[0]; in setup_singlestep() 81 kcb->iaoq[1] = regs->iaoq[1]; in setup_singlestep() 93 p = get_kprobe((unsigned long *)regs->iaoq[0]); in parisc_kprobe_break_handler() 143 if (regs->iaoq[0] != (unsigned long)p->ainsn.insn+4) in parisc_kprobe_ss_handler() 166 /* for absolute branches, regs->iaoq[1] has already the right in parisc_kprobe_ss_handler() 169 regs->iaoq[0] = kcb->iaoq[1]; in parisc_kprobe_ss_handler() 172 regs->iaoq[ in parisc_kprobe_ss_handler() [all...] |
H A D | traps.c | 147 level, regs->iasq[0], regs->iasq[1], regs->iaoq[0], regs->iaoq[1]); in show_regs() 155 printk("%s IAOQ[0]: " RFMT "\n", level, regs->iaoq[0]); in show_regs() 156 printk("%s IAOQ[1]: " RFMT "\n", level, regs->iaoq[1]); in show_regs() 159 printk("%s IAOQ[0]: %pS\n", level, (void *) regs->iaoq[0]); in show_regs() 160 printk("%s IAOQ[1]: %pS\n", level, (void *) regs->iaoq[1]); in show_regs() 211 int is_valid_bugaddr(unsigned long iaoq) in is_valid_bugaddr() argument 224 current->comm, task_pid_nr(current), str, err, regs->iaoq[0]); in die_if_kernel() 277 (void __user *) (regs->iaoq[0] & ~3)); in handle_gdb_break() 287 tt = report_bug(regs->iaoq[ in handle_break() [all...] |
H A D | signal32.c | 68 regs->iaoq[0] = ((u64)compat_regt << 32) | (u64)compat_reg; in restore_sigcontext32() 69 DBG(2,"restore_sigcontext32: upper half of iaoq[0] = %#lx\n", compat_regt); in restore_sigcontext32() 76 regs->iaoq[1] = ((u64)compat_regt << 32) | (u64)compat_reg; in restore_sigcontext32() 77 DBG(2,"restore_sigcontext32: upper half of iaoq[1] = %#lx\n", compat_regt); in restore_sigcontext32() 80 DBG(2,"restore_sigcontext32: iaoq is %#lx / %#lx\n", in restore_sigcontext32() 81 regs->iaoq[0],regs->iaoq[1]); in restore_sigcontext32() 134 /* regs->iaoq is undefined in the syscall return path */ in setup_sigcontext32() 142 DBG(2,"setup_sigcontext32: upper half iaoq[0] = %#x\n", compat_reg); in setup_sigcontext32() 152 DBG(2,"setup_sigcontext32: upper half iaoq[ in setup_sigcontext32() [all...] |
H A D | signal.c | 67 err |= __copy_from_user(regs->iaoq, sc->sc_iaoq, sizeof(regs->iaoq)); in restore_sigcontext() 70 DBG(2, "%s: iaoq is %#lx / %#lx\n", in restore_sigcontext() 71 __func__, regs->iaoq[0], regs->iaoq[1]); in restore_sigcontext() 146 regs->gr[31] = regs->iaoq[0]; in sys_rt_sigreturn() 189 /* regs->iaoq is undefined in the syscall return path */ in setup_sigcontext() 194 DBG(1, "%s: iaoq %#lx / %#lx (in syscall)\n", in setup_sigcontext() 197 err |= __copy_to_user(sc->sc_iaoq, regs->iaoq, sizeof(regs->iaoq)); in setup_sigcontext() [all...] |
H A D | ptrace.c | 78 task_regs(task)->iaoq[0] = task_regs(task)->iaoq[1]; in user_enable_single_step() 80 task_regs(task)->iaoq[1] = task_regs(task)->iaoq[0] + 4; in user_enable_single_step() 90 (void __user *) (task_regs(task)->iaoq[0] & ~3), in user_enable_single_step() 155 * entry.S:syscall_restore_rfi; e.g. iaoq is written with in arch_ptrace() 279 * entry.S:syscall_restore_rfi; e.g. iaoq is written with in compat_arch_ptrace() 452 case RI(iaoq[0]): return regs->iaoq[0]; in get_reg() 453 case RI(iaoq[ in get_reg() [all...] |
H A D | toc.c | 32 regs->iaoq[0] = (unsigned long)toc->cr[18]; in toc20_to_pt_regs() 33 regs->iaoq[1] = (unsigned long)toc->iaoq_back; in toc20_to_pt_regs() 55 regs->iaoq[0] = toc->cr[18]; in toc11_to_pt_regs() 56 regs->iaoq[1] = toc->iaoq_back; in toc11_to_pt_regs()
|
H A D | ftrace.c | 228 regs->iaoq[0] = ip; in kprobe_ftrace_handler() 229 regs->iaoq[1] = ip + 4; in kprobe_ftrace_handler() 232 regs->iaoq[0] = ip + 4; in kprobe_ftrace_handler() 233 regs->iaoq[1] = ip + 8; in kprobe_ftrace_handler()
|
H A D | unwind.c | 236 info->prev_ip = regs->iaoq[0]; in unwind_special() 252 info->prev_ip = regs->iaoq[0]; in unwind_special() 391 info->ip = regs->iaoq[0]; in unwind_frame_init() 409 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task() 430 r.iaoq[0] = _THIS_IP_; in unwind_frame_init_task()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | ptrace.h | 16 /* XXX should we use iaoq[1] or iaoq[0] ? */ 17 #define user_mode(regs) (((regs)->iaoq[0] & 3) ? 1 : 0) 19 #define instruction_pointer(regs) ((regs)->iaoq[0] & ~3) 31 regs->iaoq[0] = val; in instruction_pointer_set() 32 regs->iaoq[1] = val + 4; in instruction_pointer_set()
|
H A D | processor.h | 149 .iaoq = { 0, }, \ 163 * Note that we set both the iaoq and r31 to the new pc. When 165 * rfi path that will use the values in the iaoq. The execve 257 regs->iaoq[0] = pc; \ 258 regs->iaoq[1] = pc + 4; \ 286 #define KSTK_EIP(tsk) ((tsk)->thread.regs.iaoq[0])
|
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | ptrace.h | 16 /* XXX should we use iaoq[1] or iaoq[0] ? */ 17 #define user_mode(regs) (((regs)->iaoq[0] & 3) != PRIV_KERNEL) 19 #define instruction_pointer(regs) ((regs)->iaoq[0] & ~3) 31 regs->iaoq[0] = val; in instruction_pointer_set() 32 regs->iaoq[1] = val + 4; in instruction_pointer_set()
|
H A D | processor.h | 141 .iaoq = { 0, }, \ 155 * Note that we set both the iaoq and r31 to the new pc. When 157 * rfi path that will use the values in the iaoq. The execve 249 regs->iaoq[0] = pc; \ 250 regs->iaoq[1] = pc + 4; \ 274 #define KSTK_EIP(tsk) ((tsk)->thread.regs.iaoq[0])
|
/kernel/linux/linux-6.6/arch/parisc/mm/ |
H A D | fault.c | 147 fix = search_exception_tables(regs->iaoq[0]); in fixup_exception() 162 fault_error_reg, (void*)regs->iaoq[0]); in fixup_exception() 172 regs->iaoq[0] = (unsigned long)&fix->fixup + fix->fixup; in fixup_exception() 173 regs->iaoq[0] &= ~3; in fixup_exception() 178 * increment iaoq[1], instead we set it to be in fixup_exception() 179 * iaoq[0]+4, and clear the B bit in the PSW in fixup_exception() 181 regs->iaoq[1] = regs->iaoq[0] + 4; in fixup_exception() 255 print_vma_addr(KERN_CONT " in ", regs->iaoq[0]); in show_signal_msg()
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
H A D | fault.c | 145 fix = search_exception_tables(regs->iaoq[0]); in fixup_exception() 165 regs->iaoq[0] = (unsigned long)&fix->fixup + fix->fixup; in fixup_exception() 166 regs->iaoq[0] &= ~3; in fixup_exception() 171 * increment iaoq[1], instead we set it to be in fixup_exception() 172 * iaoq[0]+4, and clear the B bit in the PSW in fixup_exception() 174 regs->iaoq[1] = regs->iaoq[0] + 4; in fixup_exception() 248 print_vma_addr(KERN_CONT " in ", regs->iaoq[0]); in show_signal_msg()
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
H A D | ptrace.h | 29 unsigned long iaoq[2]; member 54 unsigned long iaoq[2]; member
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | ptrace.h | 29 unsigned long iaoq[2]; member 54 unsigned long iaoq[2]; member
|