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 …]
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
127 unsigned long dbcr0 = current->thread.debug.dbcr0; in booke_restore_dbcr0() local129 if (IS_ENABLED(CONFIG_PPC32) && unlikely(dbcr0 & DBCR0_IDM)) { in booke_restore_dbcr0()
101 uint32_t dbcr0; member
239 unsigned long dbcr0 = current->thread.debug.dbcr0; in booke_load_dbcr0() local241 if (likely(!(dbcr0 & DBCR0_IDM))) in booke_load_dbcr0()253 mtspr(SPRN_DBCR0, dbcr0); in booke_load_dbcr0()
579 #define single_stepping(regs) (current->thread.debug.dbcr0 & DBCR0_IC)580 #define clear_single_step(regs) (current->thread.debug.dbcr0 &= ~DBCR0_IC)1947 current->thread.debug.dbcr0 &= ~DBCR0_IAC1; in handle_debug()1953 current->thread.debug.dbcr0 &= ~DBCR0_IAC2; in handle_debug()1958 current->thread.debug.dbcr0 &= ~DBCR0_IAC3; in handle_debug()1964 current->thread.debug.dbcr0 &= ~DBCR0_IAC4; in handle_debug()1974 if (DBCR_ACTIVE_EVENTS(current->thread.debug.dbcr0, in handle_debug()1979 current->thread.debug.dbcr0 &= ~DBCR0_IDM; in handle_debug()1982 mtspr(SPRN_DBCR0, current->thread.debug.dbcr0); in handle_debug()2006 current->thread.debug.dbcr0 &= ~DBCR0_BT; in DEFINE_INTERRUPT_HANDLER()[all …]
705 thread->debug.dbcr0 = 0; in set_debug_reg_defaults()743 mtspr(SPRN_DBCR0, debug->dbcr0); in prime_debug_regs()756 if ((current->thread.debug.dbcr0 & DBCR0_IDM) in switch_booke_debug_regs()757 || (new_debug->dbcr0 & DBCR0_IDM)) in switch_booke_debug_regs()
1191 unsigned long new_dbcr0 = current->thread.debug.dbcr0; in SYSCALL_DEFINE3()1241 current->thread.debug.dbcr0 = new_dbcr0; in SYSCALL_DEFINE3()
880 (vcpu->arch.dbg_reg.dbcr0 & DBCR0_IDM)) in kvmppc_handle_debug()1899 dbg_reg->dbcr0 |= DBCR0_IAC1; in kvmppc_booke_add_breakpoint()1903 dbg_reg->dbcr0 |= DBCR0_IAC2; in kvmppc_booke_add_breakpoint()1908 dbg_reg->dbcr0 |= DBCR0_IAC3; in kvmppc_booke_add_breakpoint()1912 dbg_reg->dbcr0 |= DBCR0_IAC4; in kvmppc_booke_add_breakpoint()1920 dbg_reg->dbcr0 |= DBCR0_IDM; in kvmppc_booke_add_breakpoint()1930 dbg_reg->dbcr0 |= DBCR0_DAC1R; in kvmppc_booke_add_watchpoint()1932 dbg_reg->dbcr0 |= DBCR0_DAC1W; in kvmppc_booke_add_watchpoint()1937 dbg_reg->dbcr0 |= DBCR0_DAC2R; in kvmppc_booke_add_watchpoint()1939 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()