Home
last modified time | relevance | path

Searched refs:DBCR0_IDM (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace-adv.c14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step()
117 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in ptrace_set_debugreg()
128 task->thread.debug.dbcr0 |= DBCR0_IDM; in ptrace_set_debugreg()
223 child->thread.debug.dbcr0 |= DBCR0_IDM; in set_instruction_bp()
339 child->thread.debug.dbcr0 |= DBCR0_IDM; in set_dac()
423 child->thread.debug.dbcr0 |= (DBCR0_DAC1R | DBCR0_IDM); in set_dac_range()
425 child->thread.debug.dbcr0 |= (DBCR0_DAC1W | DBCR0_IDM); in set_dac_range()
488 child->thread.debug.dbcr0 &= ~DBCR0_IDM; in ppc_del_hwdebug()
/linux-6.1.9/arch/powerpc/include/asm/
Dprobes.h81 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); in enable_single_step()
Dreg_booke.h360 #define DBCR0_IDM 0x40000000 /* Internal Debug Mode */ macro
422 #define DBCR0_IDM 0x40000000 /* Internal Debug Mode */ macro
Dinterrupt.h145 if (IS_ENABLED(CONFIG_PPC32) && unlikely(dbcr0 & DBCR0_IDM)) { in booke_restore_dbcr0()
/linux-6.1.9/arch/powerpc/kernel/
Dinterrupt.c79 if (likely(!(dbcr0 & DBCR0_IDM))) in booke_load_dbcr0()
Dkgdb.c401 mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); in kgdb_arch_handle_exception()
Dtraps.c1991 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in handle_debug()
2019 current->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in DEFINE_INTERRUPT_HANDLER()
2059 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in DEFINE_INTERRUPT_HANDLER()
Dsignal_32.c1209 new_dbcr0 |= (DBCR0_IDM | DBCR0_IC); in SYSCALL_DEFINE3()
1215 new_dbcr0 &= ~DBCR0_IDM; in SYSCALL_DEFINE3()
Dhead_85xx.S197 lis r2,DBCR0_IDM@h
997 lis r13,(DBCR0_IDM|DBCR0_RST_CHIP)@h
Dprocess.c753 if ((current->thread.debug.dbcr0 & DBCR0_IDM) in switch_booke_debug_regs()
754 || (new_debug->dbcr0 & DBCR0_IDM)) in switch_booke_debug_regs()
/linux-6.1.9/arch/powerpc/kvm/
Dbooke_emulate.c221 spr_val &= (DBCR0_IDM | DBCR0_IC | DBCR0_BT | DBCR0_TIE | in kvmppc_booke_emulate_mtspr()
Dbooke.c879 (vcpu->arch.dbg_reg.dbcr0 & DBCR0_IDM)) in kvmppc_handle_debug()
1918 dbg_reg->dbcr0 |= DBCR0_IDM; in kvmppc_booke_add_breakpoint()
1944 dbg_reg->dbcr0 |= DBCR0_IDM; in kvmppc_booke_add_watchpoint()
2042 vcpu->arch.dbg_reg.dbcr0 |= DBCR0_IDM | DBCR0_IC; in kvm_arch_vcpu_ioctl_set_guest_debug()
/linux-6.1.9/arch/powerpc/xmon/
Dxmon.c1196 mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM); in do_step()