Lines Matching full:privilege
138 * Convert a breakpoint privilege level to the corresponding exception
141 static enum dbg_active_el debug_exception_level(int privilege) in debug_exception_level() argument
143 switch (privilege) { in debug_exception_level()
149 pr_warn("invalid breakpoint privilege level %d\n", privilege); in debug_exception_level()
230 enum dbg_active_el dbg_el = debug_exception_level(info->ctrl.privilege); in hw_breakpoint_control()
490 * Privilege in arch_build_bp_info()
495 hw->ctrl.privilege = AARCH64_BREAKPOINT_EL1; in arch_build_bp_info()
497 hw->ctrl.privilege = AARCH64_BREAKPOINT_EL0; in arch_build_bp_info()
570 if (hw->ctrl.privilege == AARCH64_BREAKPOINT_EL1 && bp->hw.target) in hw_breakpoint_arch_parse()
583 int i, max_slots, privilege; in toggle_bp_registers() local
604 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
605 if (debug_exception_level(privilege) != el) in toggle_bp_registers()
747 if (!user_mode(regs) && info->ctrl.privilege == AARCH64_BREAKPOINT_EL0) in watchpoint_report()