Skip to contentSkip to conversation

arm64: ipipe: route debug exceptions to co-kernel

PATCH New Philippe Gerum 1 participant 1 message Sep 7, 2018 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: ipipe: route debug exceptions to co-kernel

---
 arch/arm64/mm/fault.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/mm/fault.c +3 -0
index 7dc5906d586f..70c72c2a7f7e 100644
@@ -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.
Signature · 1 line
2.14.4