/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-adv.c | 15 regs->msr |= MSR_DE; in user_enable_single_step() 27 regs->msr |= MSR_DE; in user_enable_block_step() 53 regs->msr &= ~MSR_DE; in user_disable_single_step() 115 task->thread.regs->msr &= ~MSR_DE; in ptrace_set_debugreg() 135 task->thread.regs->msr |= MSR_DE; in ptrace_set_debugreg() 223 child->thread.regs->msr |= MSR_DE; in set_instruction_bp() 339 child->thread.regs->msr |= MSR_DE; in set_dac() 433 child->thread.regs->msr |= MSR_DE; in set_dac_range() 488 child->thread.regs->msr &= ~MSR_DE; in ppc_del_hwdebug()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-adv.c | 15 regs_set_return_msr(regs, regs->msr | MSR_DE); in user_enable_single_step() 27 regs_set_return_msr(regs, regs->msr | MSR_DE); in user_enable_block_step() 53 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in user_disable_single_step() 116 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in ptrace_set_debugreg() 136 regs_set_return_msr(regs, regs->msr | MSR_DE); in ptrace_set_debugreg() 224 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_instruction_bp() 340 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_dac() 434 regs_set_return_msr(child->thread.regs, child->thread.regs->msr | MSR_DE); in set_dac_range() 490 child->thread.regs->msr & ~MSR_DE); in ppc_del_hwdebug()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | head_booke.h | 318 EXC_XFER_TEMPLATE(hdlr, n+2, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \ 327 EXC_XFER_TEMPLATE(hdlr, n+4, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \ 354 * we reset the MSR_DE in the _exception handler's_ MSR (the debug trap is 358 * the MSR_DE bit set. 387 1: rlwinm r9,r9,0,~MSR_DE; /* clear DE in the CDRR1 value */ \ 411 EXC_XFER_TEMPLATE(DebugException, 0x2008, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), debug_transfer_to_handler, ret_from_debug_exc) 440 1: rlwinm r9,r9,0,~MSR_DE; /* clear DE in the CSRR1 value */ \ 464 EXC_XFER_TEMPLATE(DebugException, 0x2002, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), crit_transfer_to_handler, ret_from_crit_exc)
|
H A D | head_40x.S | 161 EXC_XFER_TEMPLATE(hdlr, n+2, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \ 431 * we reset the MSR_DE in the _exception handler's_ MSR (the debug trap is 435 * the MSR_DE bit set. 461 1: rlwinm r9,r9,0,~MSR_DE /* clear DE in the SRR3 value */ 482 (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \ 504 (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)),
|
H A D | traps.c | 2014 regs->msr |= MSR_DE; in handle_debug() 2033 regs->msr &= ~MSR_DE; in DebugException() 2044 regs->msr |= MSR_DE; in DebugException() 2058 regs->msr &= ~MSR_DE; in DebugException() 2080 regs->msr |= MSR_DE; in DebugException()
|
H A D | syscall_64.c | 321 mtmsr(mfmsr() & ~MSR_DE); in interrupt_exit_user_prepare()
|
H A D | kgdb.c | 405 linux_regs->msr |= MSR_DE; in kgdb_arch_handle_exception()
|
H A D | signal_32.c | 1125 new_msr |= MSR_DE; in SYSCALL_DEFINE3() 1131 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
|
H A D | exceptions-64e.S | 767 rlwinm r11,r11,0,~MSR_DE /* clear DE in the CSRR1 value */ 839 rlwinm r11,r11,0,~MSR_DE /* clear DE in the DSRR1 value */ 1077 rlwinm r0,r0,0,~MSR_DE /* Clear MSR.DE */
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | booke.c | 206 vcpu->arch.shadow_msr &= ~MSR_DE; in kvmppc_vcpu_sync_debug() 207 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_DE; in kvmppc_vcpu_sync_debug() 214 * Since there is no shadow MSR, sync MSR_DE into the guest in kvmppc_vcpu_sync_debug() 217 vcpu->arch.shared->msr |= MSR_DE; in kvmppc_vcpu_sync_debug() 219 vcpu->arch.shadow_msr |= MSR_DE; in kvmppc_vcpu_sync_debug() 220 vcpu->arch.shared->msr &= ~MSR_DE; in kvmppc_vcpu_sync_debug() 442 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 466 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 470 allowed = vcpu->arch.shared->msr & MSR_DE; in kvmppc_booke_irqprio_deliver() 853 if (dbsr && (vcpu->arch.shared->msr & MSR_DE) in kvmppc_handle_debug() [all...] |
H A D | booke_interrupts.S | 83 rlwinm r4, r4, 0, ~MSR_DE
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | booke.c | 232 vcpu->arch.shadow_msr &= ~MSR_DE; in kvmppc_vcpu_sync_debug() 233 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_DE; in kvmppc_vcpu_sync_debug() 240 * Since there is no shadow MSR, sync MSR_DE into the guest in kvmppc_vcpu_sync_debug() 243 vcpu->arch.shared->msr |= MSR_DE; in kvmppc_vcpu_sync_debug() 245 vcpu->arch.shadow_msr |= MSR_DE; in kvmppc_vcpu_sync_debug() 246 vcpu->arch.shared->msr &= ~MSR_DE; in kvmppc_vcpu_sync_debug() 471 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 495 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 499 allowed = vcpu->arch.shared->msr & MSR_DE; in kvmppc_booke_irqprio_deliver() 881 if (dbsr && (vcpu->arch.shared->msr & MSR_DE) in kvmppc_handle_debug() [all...] |
H A D | booke_interrupts.S | 83 rlwinm r4, r4, 0, ~MSR_DE
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/44x/ |
H A D | idle.c | 23 mtmsr(msr_save|MSR_WE|MSR_EE|MSR_CE|MSR_DE); in ppc44x_idle()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/44x/ |
H A D | idle.c | 23 mtmsr(msr_save|MSR_WE|MSR_EE|MSR_CE|MSR_DE); in ppc44x_idle()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | probes.h | 29 #define MSR_SINGLESTEP (MSR_DE)
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | probes.h | 30 #define MSR_SINGLESTEP (MSR_DE)
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | head_booke.h | 205 LOAD_REG_IMMEDIATE(r11, MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)); \ 336 * we reset the MSR_DE in the _exception handler's_ MSR (the debug trap is 340 * the MSR_DE bit set. 369 1: rlwinm r9,r9,0,~MSR_DE; /* clear DE in the CDRR1 value */ \ 427 1: rlwinm r9,r9,0,~MSR_DE; /* clear DE in the CSRR1 value */ \
|
H A D | head_40x.S | 131 LOAD_REG_IMMEDIATE(r11, MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)) /* re-enable MMU */ 460 * we reset the MSR_DE in the _exception handler's_ MSR (the debug trap is 464 * the MSR_DE bit set. 490 1: rlwinm r9,r9,0,~MSR_DE /* clear DE in the SRR3 value */
|
H A D | traps.c | 2019 regs_set_return_msr(regs, regs->msr | MSR_DE); in handle_debug() 2040 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2051 regs_set_return_msr(regs, regs->msr | MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2065 regs_set_return_msr(regs, regs->msr & ~MSR_DE); in DEFINE_INTERRUPT_HANDLER() 2087 regs_set_return_msr(regs, regs->msr | MSR_DE); in DEFINE_INTERRUPT_HANDLER()
|
H A D | interrupt.c | 88 mtmsr(mfmsr() & ~MSR_DE); in booke_load_dbcr0()
|
H A D | kgdb.c | 402 regs_set_return_msr(linux_regs, linux_regs->msr | MSR_DE); in kgdb_arch_handle_exception()
|
H A D | signal_32.c | 1211 new_msr |= MSR_DE; in SYSCALL_DEFINE3() 1217 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/ |
H A D | cpm.c | 85 mtmsr(msr_save|MSR_WE|MSR_EE|MSR_CE|MSR_DE); in cpm_idle_wait()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/4xx/ |
H A D | cpm.c | 85 mtmsr(msr_save|MSR_WE|MSR_EE|MSR_CE|MSR_DE); in cpm_idle_wait()
|