/Linux-v6.1/arch/powerpc/kernel/ |
D | traps.c | 307 force_sig_fault(SIGTRAP, TRAP_TRACE, (void __user *)regs->nip); in user_single_step_report() 327 addr, regs->nip, regs->link, code); in show_signal_msg() 329 print_vma_addr(KERN_CONT " in ", regs->nip); in show_signal_msg() 401 unsigned long nip = regs->nip; in hv_nmi_check_nonrecoverable() local 417 nip &= ~0xc000000000000000ULL; in hv_nmi_check_nonrecoverable() 418 if ((nip >= 0x500 && nip < 0x600) || (nip >= 0x4500 && nip < 0x4600)) in hv_nmi_check_nonrecoverable() 420 if ((nip >= 0x980 && nip < 0xa00) || (nip >= 0x4980 && nip < 0x4a00)) in hv_nmi_check_nonrecoverable() 422 if ((nip >= 0xe00 && nip < 0xec0) || (nip >= 0x4e00 && nip < 0x4ec0)) in hv_nmi_check_nonrecoverable() 424 if ((nip >= 0xf80 && nip < 0xfa0) || (nip >= 0x4f80 && nip < 0x4fa0)) in hv_nmi_check_nonrecoverable() 428 if (nip >= (unsigned long)(start_real_trampolines - kbase) && in hv_nmi_check_nonrecoverable() [all …]
|
D | optprobes.c | 51 unsigned long nip = 0; in can_optimize() local 72 regs.nip = addr; in can_optimize() 90 nip = regs.nip; in can_optimize() 93 return nip; in can_optimize() 160 unsigned long nip, size; in arch_prepare_optimized_kprobe() local 163 nip = can_optimize(p); in arch_prepare_optimized_kprobe() 164 if (!nip) in arch_prepare_optimized_kprobe() 186 b_offset = (unsigned long)(buff + TMPL_RET_IDX) - nip; in arch_prepare_optimized_kprobe() 237 patch_branch(buff + TMPL_RET_IDX, nip, 0); in arch_prepare_optimized_kprobe()
|
D | kprobes-ftrace.c | 16 void kprobe_ftrace_handler(unsigned long nip, unsigned long parent_nip, in kprobe_ftrace_handler() argument 24 bit = ftrace_test_recursion_trylock(nip, parent_nip); in kprobe_ftrace_handler() 29 p = get_kprobe((kprobe_opcode_t *)nip); in kprobe_ftrace_handler()
|
D | process.c | 975 tsk->pid, thr->regs->nip, in tm_reclaim_task() 1359 unsigned long nip = regs->nip; in show_instructions() local 1360 unsigned long pc = regs->nip - (NR_INSN_TO_PRINT * 3 / 4 * sizeof(int)); in show_instructions() 1370 nip = (unsigned long)phys_to_virt(regs->nip); in show_instructions() 1383 if (nip == pc) in show_instructions() 1402 pc = regs->nip - (NR_INSN_TO_PRINT * 3 / 4 * sizeof(int)); in show_user_instructions() 1419 seq_buf_printf(&s, regs->nip == pc ? "<%08x> " : "%08x ", instr); in show_user_instructions() 1522 regs->nip, regs->link, regs->ctr); in __show_regs() 1559 printk("NIP ["REG"] %pS\n", regs->nip, (void *)regs->nip); in __show_regs() 1825 kregs->nip = ppc_function_entry(f); in copy_thread() [all …]
|
D | syscall.c | 124 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in system_call_exception() 141 _exception(SIGILL, regs, ILL_ILLOPC, regs->nip); in system_call_exception()
|
D | kgdb.c | 115 return kgdb_isremovedbreak(regs->nip); in kgdb_skipexception() 146 if (*(u32 *)regs->nip == BREAK_INSTR) in kgdb_handle_breakpoint() 223 PACK64(ptr, regs->nip); in sleeping_thread_to_gdb_regs() 311 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, nip) },
|
D | hw_breakpoint_constraints.c | 70 if (is_kernel_addr(regs->nip) && !(info->type & HW_BRK_TYPE_KERNEL)) in check_dawrx_constraints() 135 if (__get_user_instr(*instr, (void __user *)regs->nip)) in wp_get_instr_detail()
|
D | align.c | 307 if (is_kernel_addr(regs->nip)) in fix_alignment() 308 r = copy_inst_from_kernel_nofault(&instr, (void *)regs->nip); in fix_alignment() 310 r = __get_user_instr(instr, (void __user *)regs->nip); in fix_alignment()
|
D | mce_power.c | 463 pfn = addr_to_pfn(regs, regs->nip); in mce_find_instr_ea_and_phys() 465 instr_addr = (pfn << PAGE_SHIFT) + (regs->nip & ~PAGE_MASK); in mce_find_instr_ea_and_phys() 547 *addr = regs->nip; in mce_handle_ierror() 553 pfn = addr_to_pfn(regs, regs->nip); in mce_handle_ierror() 719 save_mce_event(regs, handled, &mce_err, regs->nip, addr, phys_addr); in mce_handle_error()
|
/Linux-v6.1/arch/powerpc/kvm/ |
D | book3s_hv_tm.c | 21 tfiar = vcpu->arch.regs.nip & ~0x3ull; in emulate_tx_failure() 56 vcpu->arch.regs.nip -= 4; in kvmhv_p9_tm_emulation() 79 vcpu->arch.cfar = vcpu->arch.regs.nip; in kvmhv_p9_tm_emulation() 80 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation() 113 vcpu->arch.cfar = vcpu->arch.regs.nip; in kvmhv_p9_tm_emulation() 114 vcpu->arch.regs.nip = vcpu->arch.ebbrr; in kvmhv_p9_tm_emulation() 129 vcpu->arch.regs.nip += 4; in kvmhv_p9_tm_emulation() 167 vcpu->arch.regs.nip += 4; in kvmhv_p9_tm_emulation() 206 vcpu->arch.regs.nip += 4; in kvmhv_p9_tm_emulation() 239 vcpu->arch.regs.nip += 4; in kvmhv_p9_tm_emulation()
|
D | book3s_hv_tm_builtin.c | 46 vcpu->arch.cfar = vcpu->arch.regs.nip - 4; in kvmhv_p9_tm_emulation_early() 47 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation_early() 69 vcpu->arch.cfar = vcpu->arch.regs.nip - 4; in kvmhv_p9_tm_emulation_early() 70 vcpu->arch.regs.nip = mfspr(SPRN_EBBRR); in kvmhv_p9_tm_emulation_early() 116 vcpu->arch.regs.nip = vcpu->arch.tfhar; in kvmhv_emulate_tm_rollback()
|
D | booke.c | 94 printk("pc: %08lx msr: %08llx\n", vcpu->arch.regs.nip, in kvmppc_dump_vcpu() 510 set_guest_srr(vcpu, vcpu->arch.regs.nip, in kvmppc_booke_irqprio_deliver() 514 set_guest_csrr(vcpu, vcpu->arch.regs.nip, in kvmppc_booke_irqprio_deliver() 518 set_guest_dsrr(vcpu, vcpu->arch.regs.nip, in kvmppc_booke_irqprio_deliver() 522 set_guest_mcsrr(vcpu, vcpu->arch.regs.nip, in kvmppc_booke_irqprio_deliver() 527 vcpu->arch.regs.nip = vcpu->arch.ivpr | in kvmppc_booke_irqprio_deliver() 845 __func__, vcpu->arch.regs.nip, vcpu->arch.last_inst); in emulation_exit() 895 run->debug.arch.address = vcpu->arch.regs.nip; in kvmppc_handle_debug() 924 regs->nip = ip; in kvmppc_fill_pt_regs() 991 __func__, vcpu->arch.regs.nip); in kvmppc_resume_inst_load() [all …]
|
/Linux-v6.1/arch/powerpc/perf/ |
D | callchain_32.c | 58 static int is_sigreturn_32_address(unsigned int nip, unsigned int fp) in is_sigreturn_32_address() argument 60 if (nip == fp + offsetof(struct signal_frame_32, mctx.mc_pad)) in is_sigreturn_32_address() 63 nip == VDSO32_SYMBOL(current->mm->context.vdso, sigtramp32)) in is_sigreturn_32_address() 68 static int is_rt_sigreturn_32_address(unsigned int nip, unsigned int fp) in is_rt_sigreturn_32_address() argument 70 if (nip == fp + offsetof(struct rt_signal_frame_32, in is_rt_sigreturn_32_address() 74 nip == VDSO32_SYMBOL(current->mm->context.vdso, sigtramp_rt32)) in is_rt_sigreturn_32_address()
|
D | callchain_64.c | 40 static int is_sigreturn_64_address(unsigned long nip, unsigned long fp) in is_sigreturn_64_address() argument 42 if (nip == fp + offsetof(struct signal_frame_64, tramp)) in is_sigreturn_64_address() 45 nip == VDSO64_SYMBOL(current->mm->context.vdso, sigtramp_rt64)) in is_sigreturn_64_address()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | ptrace.h | 34 unsigned long nip; member 176 regs->nip = ip; in regs_set_return_ip() 188 regs_set_return_ip(regs, regs->nip + offset); in regs_add_return_ip() 193 return regs->nip; in instruction_pointer()
|
D | kvm_booke.h | 84 vcpu->arch.regs.nip = val; in kvmppc_set_pc() 89 return vcpu->arch.regs.nip; in kvmppc_get_pc()
|
D | interrupt.h | 102 if (regs->nip >= (unsigned long)__end_soft_masked) in is_implicit_soft_masked() 105 return search_kernel_soft_mask_table(regs->nip); in is_implicit_soft_masked() 214 search_kernel_restart_table(regs->nip)); in interrupt_enter_prepare() 385 unsigned long rst = search_kernel_restart_table(regs->nip); in interrupt_nmi_exit_prepare()
|
D | perf_event.h | 37 (regs)->nip = __ip; \
|
/Linux-v6.1/fs/gfs2/ |
D | inode.c | 1381 struct gfs2_inode *nip = NULL; in gfs2_rename() local 1394 nip = GFS2_I(d_inode(ndentry)); in gfs2_rename() 1395 if (ip == nip) in gfs2_rename() 1432 if (nip) { in gfs2_rename() 1433 gfs2_holder_init(nip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, in gfs2_rename() 1447 if (nip) { in gfs2_rename() 1452 nrgd = gfs2_blk2rgrpd(sdp, nip->i_no_addr, 1); in gfs2_rename() 1475 if (nip) { in gfs2_rename() 1476 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip); in gfs2_rename() 1480 if (nip->i_inode.i_nlink == 0) { in gfs2_rename() [all …]
|
/Linux-v6.1/arch/powerpc/xmon/ |
D | xmon.c | 514 bp = in_breakpoint_table(regs->nip, &offset); in xmon_core() 556 bp = at_breakpoint(regs->nip); in xmon_core() 567 xmon_print_symbol(regs->nip, " ", ")\n"); in xmon_core() 619 ppc_inst_dump(regs->nip, 1, 0); in xmon_core() 680 bp = at_breakpoint(regs->nip); in xmon_core() 683 xmon_print_symbol(regs->nip, " ", ")\n"); in xmon_core() 693 ppc_inst_dump(regs->nip, 1, 0); in xmon_core() 707 bp = at_breakpoint(regs->nip); in xmon_core() 715 bp = at_breakpoint(regs->nip); in xmon_core() 771 bp = in_breakpoint_table(regs->nip, &offset); in xmon_bpt() [all …]
|
/Linux-v6.1/arch/powerpc/mm/ |
D | fault.c | 223 if (!search_exception_tables(regs->nip)) in bad_kernel_fault() 488 if (!is_user && !search_exception_tables(regs->nip)) in ___do_page_fault() 614 regs->nip < PAGE_SIZE ? " (NULL pointer?)\n" : "\n"); in __bad_page_fault() 626 regs->nip); in __bad_page_fault()
|
/Linux-v6.1/arch/powerpc/platforms/powernv/ |
D | opal.c | 617 _exception(SIGBUS, regs, BUS_MCEERR_AR, regs->nip); in opal_recover_mce() 750 static uint64_t find_recovery_address(uint64_t nip) in find_recovery_address() argument 755 if ((nip >= mc_recoverable_range[i].start_addr) && in find_recovery_address() 756 (nip < mc_recoverable_range[i].end_addr)) in find_recovery_address() 768 if ((regs->nip >= opal.base) && in opal_mce_check_early_recovery() 769 (regs->nip < (opal.base + opal.size))) in opal_mce_check_early_recovery() 770 recover_addr = find_recovery_address(regs->nip); in opal_mce_check_early_recovery()
|
/Linux-v6.1/arch/powerpc/platforms/8xx/ |
D | machine_check.c | 18 pr_cont("Fetch error at address %lx\n", regs->nip); in machine_check_8xx()
|
/Linux-v6.1/arch/powerpc/kernel/ptrace/ |
D | ptrace.c | 349 BUILD_BUG_ON(offsetof(struct pt_regs, nip) != in pt_regs_check() 350 offsetof(struct user_pt_regs, nip)); in pt_regs_check() 422 CHECK_REG(PT_NIP, nip); in pt_regs_check()
|
/Linux-v6.1/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-sigreturn-nt.c | 27 ucp->uc_mcontext.regs->nip += 4; in trap_signal_handler()
|