[PATCH v4 06/13] arm64: entry: Add entry and exit functions for debug exceptions
Will Deacon
will at kernel.org
Fri Jun 27 08:46:06 PDT 2025
On Fri, Jun 20, 2025 at 10:12:00PM +0100, Ada Couprie Diaz wrote:
> Move the `debug_exception_enter()` and `debug_exception_exit()`
> functions from mm/fault.c, as they are needed to split
> the debug exceptions entry paths from the current unified one.
>
> Make them externally visible in include/asm/exception.h until
> the caller in mm/fault.c is cleaned up.
>
> Signed-off-by: Ada Couprie Diaz <ada.coupriediaz at arm.com>
> Tested-by: Luis Claudio R. Goncalves <lgoncalv at redhat.com>
> Reviewed-by: Anshuman Khandual <anshuman.khandual at arm.com>
> ---
> arch/arm64/include/asm/exception.h | 4 ++++
> arch/arm64/kernel/entry-common.c | 22 ++++++++++++++++++++++
> arch/arm64/mm/fault.c | 22 ----------------------
> 3 files changed, 26 insertions(+), 22 deletions(-)
Reviewed-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list