You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1350
JIRA: https://issues.redhat.com/browse/RHEL-69599
CONFLICTS:
minor conflict, more context than functionality, as RHEL-10 does not have
commit d683a85 ("ubsan: Remove regs from report_ubsan_failure()")
This series simplifies the debug exception entry path by removing handler
registration mechanisms for the debug exception handlers, a holdover from
the arm kernel, as well as the break and stepping handlers.
This moves much of the code related to debug exceptions outside of
`mm/fault.c` where it didn't make much sense.
This allows us to split the debug exception entries: going from one common
path per EL for all debug exceptions to a unique one per exception and EL.
The result is a much simpler and fully static exception entry path, which
we tailor to the different exceptions and their constraints.
...
Original cover letter and testing procedure can be found here:
arm64: debug: remove hook registration, split exception entry (v6)
https://lore.kernel.org/linux-arm-kernel/20250707114109.35672-1-ada.coupriediaz@arm.com/
These are the upstream commits backported for this MR:
ad8b226 arm64: debug: clean up single_step_handler logic
b1e2d95 arm64: refactor aarch32_break_handler()
dc1fd37 arm64: Introduce esr_is_ubsan_brk()
6adfdc5 arm64: debug: call software breakpoint handlers statically
403b48a arm64: debug: call step handlers statically
d4e0b12 arm64: debug: remove break/step handler registration infrastructure
398edaa arm64/fpsimd: Do not discard modified SVE state
eaff68b arm64: entry: Add entry and exit functions for debug exceptions
43e2ae7 arm64: debug: split hardware breakpoint exception entry
80691d3 arm64: debug: refactor reinstall_suspended_bps()
0ac7584 arm64: debug: split single stepping exception entry
413f0bb arm64: debug: split hardware watchpoint exception entry
31575e1 arm64: debug: split brk64 exception entry
fc5e5d0 arm64: debug: split bkpt32 exception entry
a8b8cce arm64: debug: remove debug exception registration infrastructure
Special note goes for commit dc1fd37 that was added to fix a minor context
conflict and commit 398edaa that is both required context and a fix.
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Approved-by: Gabriele Monaco <gmonaco@redhat.com>
Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Scott Weaver <scweaver@redhat.com>
0 commit comments