From: Philippe Gerum Date: Fri, 7 Sep 2018 11:04:00 +0200 Message-Id: Subject: [Xenomai] [PATCH 1/1] arm64: ipipe: route debug exceptions to co-kernel List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dmitriy Cherkasov Cc: xenomai@xenomai.org --- arch/arm64/mm/fault.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index 7dc5906d586f..70c72c2a7f7e 100644 --- a/arch/arm64/mm/fault.c +++ b/arch/arm64/mm/fault.c @@ -939,6 +939,9 @@ asmlinkage int __exception do_debug_exception(unsigned long addr, struct siginfo info; int rv; + if (__ipipe_report_trap(IPIPE_TRAP_BREAK, regs)) + return 1; + /* * Tell lockdep we disabled irqs in entry.S. Do nothing if they were * already disabled to preserve the last enabled/disabled addresses. -- 2.14.4