Searched refs:dbcr0 (Results 1 – 10 of 10) sorted by relevance
13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step()114 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in ptrace_set_debugreg()117 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in ptrace_set_debugreg()128 task->thread.debug.dbcr0 |= DBCR0_IDM; in ptrace_set_debugreg()[all …]
77 unsigned long dbcr0 = current->thread.debug.dbcr0; in booke_load_dbcr0() local79 if (likely(!(dbcr0 & DBCR0_IDM))) in booke_load_dbcr0()91 mtspr(SPRN_DBCR0, dbcr0); in booke_load_dbcr0()
582 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC)583 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC)1959 current->thread.debug.dbcr0 &= ~DBCR0_IAC1; in handle_debug()1965 current->thread.debug.dbcr0 &= ~DBCR0_IAC2; in handle_debug()1970 current->thread.debug.dbcr0 &= ~DBCR0_IAC3; in handle_debug()1976 current->thread.debug.dbcr0 &= ~DBCR0_IAC4; in handle_debug()1986 if (DBCR_ACTIVE_EVENTS(current->thread.debug.dbcr0, in handle_debug()1991 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in handle_debug()1994 mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); in handle_debug()2018 current->thread.debug.dbcr0 &= ~DBCR0_BT; in DEFINE_INTERRUPT_HANDLER()[all …]
702 thread->debug.dbcr0 = 0; in set_debug_reg_defaults()740 mtspr(SPRN_DBCR0, debug->dbcr0); in prime_debug_regs()753 if ((current->thread.debug.dbcr0 & DBCR0_IDM) in switch_booke_debug_regs()754 || (new_debug->dbcr0 & DBCR0_IDM)) in switch_booke_debug_regs()
1198 unsigned long new_dbcr0 = current->thread.debug.dbcr0; in SYSCALL_DEFINE3()1248 current->thread.debug.dbcr0 = new_dbcr0; in SYSCALL_DEFINE3()
389 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr0)417 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument449 #define dbcr_dac(task) ((task)->thread.debug.dbcr0)519 #define DBCR_ACTIVE_EVENTS(dbcr0, dbcr1) (((dbcr0) & DBCR0_ACTIVE_EVENTS) || \ argument
143 unsigned long dbcr0 = current->thread.debug.dbcr0; in booke_restore_dbcr0() local145 if (IS_ENABLED(CONFIG_PPC32) && unlikely(dbcr0 & DBCR0_IDM)) { in booke_restore_dbcr0()
100 uint32_t dbcr0; member
879 (vcpu->arch.dbg_reg.dbcr0 & DBCR0_IDM)) in kvmppc_handle_debug()1897 dbg_reg->dbcr0 |= DBCR0_IAC1; in kvmppc_booke_add_breakpoint()1901 dbg_reg->dbcr0 |= DBCR0_IAC2; in kvmppc_booke_add_breakpoint()1906 dbg_reg->dbcr0 |= DBCR0_IAC3; in kvmppc_booke_add_breakpoint()1910 dbg_reg->dbcr0 |= DBCR0_IAC4; in kvmppc_booke_add_breakpoint()1918 dbg_reg->dbcr0 |= DBCR0_IDM; in kvmppc_booke_add_breakpoint()1928 dbg_reg->dbcr0 |= DBCR0_DAC1R; in kvmppc_booke_add_watchpoint()1930 dbg_reg->dbcr0 |= DBCR0_DAC1W; in kvmppc_booke_add_watchpoint()1935 dbg_reg->dbcr0 |= DBCR0_DAC2R; in kvmppc_booke_add_watchpoint()1937 dbg_reg->dbcr0 |= DBCR0_DAC2W; in kvmppc_booke_add_watchpoint()[all …]
225 vcpu->arch.dbg_reg.dbcr0 = spr_val; in kvmppc_booke_emulate_mtspr()429 *spr_val = vcpu->arch.dbg_reg.dbcr0; in kvmppc_booke_emulate_mfspr()