svn commit: r286879 - head/sys/arm64/arm64

Ed Maste emaste at FreeBSD.org
Tue Aug 18 10:07:04 UTC 2015


Author: emaste
Date: Tue Aug 18 10:07:03 2015
New Revision: 286879
URL: https://svnweb.freebsd.org/changeset/base/286879

Log:
  Remove register dump from arm64 el0 unknown exception
  
  An exception with an unknown reasion is the expected result of the
  attempted execution of an instruction bit pattern that has no allocated
  instruction.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/arm64/trap.c

Modified: head/sys/arm64/arm64/trap.c
==============================================================================
--- head/sys/arm64/arm64/trap.c	Tue Aug 18 09:09:39 2015	(r286878)
+++ head/sys/arm64/arm64/trap.c	Tue Aug 18 10:07:03 2015	(r286879)
@@ -309,8 +309,8 @@ do_el1h_sync(struct trapframe *frame)
 }
 
 /*
- * We get EXCP_UNKNOWN from QEMU when executing zeroed memory. For now turn
- * this into a SIGILL.
+ * The attempted execution of an instruction bit pattern that has no allocated
+ * instruction resuls in an exception with an unknown reason.
  */
 static void
 el0_excp_unknown(struct trapframe *frame)
@@ -320,8 +320,6 @@ el0_excp_unknown(struct trapframe *frame
 
 	td = curthread;
 	far = READ_SPECIALREG(far_el1);
-	printf("el0 EXCP_UNKNOWN exception\n");
-	print_registers(frame);
 	call_trapsignal(td, SIGILL, ILL_ILLTRP, (void *)far);
 	userret(td, frame);
 }


More information about the svn-src-all mailing list