aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorAda Couprie Diaz <ada.coupriediaz@arm.com>2025-07-07 12:41:04 +0100
committerWill Deacon <will@kernel.org>2025-07-08 13:27:42 +0100
commit80691d35523de3292b64c2ffa444aab3d55e51ba (patch)
treeee62bb1240ff0bd6f33816a32aba2158b7779f5b /scripts/lib/kdoc/kdoc_parser.py
parentarm64: debug: split hardware breakpoint exception entry (diff)
downloadlinux-80691d35523de3292b64c2ffa444aab3d55e51ba.tar.gz
linux-80691d35523de3292b64c2ffa444aab3d55e51ba.zip
arm64: debug: refactor reinstall_suspended_bps()
`reinstall_suspended_bps()` plays a key part in the stepping process when we have hardware breakpoints and watchpoints enabled. It checks if we need to step one, will re-enable it if it has been handled and will return whether or not we need to proceed with a single-step. However, the current naming and return values make it harder to understand the logic and goal of the function. Rename it `try_step_suspended_breakpoints()` and change the return value to a boolean, aligning it with similar functions used in `do_el0_undef()` like `try_emulate_mrs()`, and making its behaviour more obvious. Signed-off-by: Ada Couprie Diaz <ada.coupriediaz@arm.com> Tested-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Will Deacon <will@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20250707114109.35672-9-ada.coupriediaz@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
class='insertions'>+3 2017-09-27distinguish error versus short read from read_in_full()Jeff King3-4/+16 2017-09-27avoid looking at errno for short read_in_full() returnsJeff King2-4/+14 2017-09-27prefer "!=" when checking read_in_full() resultJeff King3-3/+3 2017-09-27t7406: submodule.<name>.update command must not be run from .gitmodulesStefan Beller1-0/+8 2017-09-27string-list.h: move documentation from Documentation/api/ into headerHan-Wen Nienhuys2-239/+162 2017-09-27read_gitfile_gently: clarify return value ownership.Han-Wen Nienhuys1-1/+2 2017-09-27real_path: clarify return value ownershipHan-Wen Nienhuys1-0/+4 2017-09-26submodule.c: describe submodule_to_gitdir() in a new commentHan-Wen Nienhuys1-0/+4 2017-09-26notes-merge: drop dead zero-write codeJeff King1-2/+0 2017-09-26files-backend: prefer "0" for write_in_full() error checkJeff King1-1/+1