Author: zbb
Date: Mon Aug  3 14:58:46 2015
New Revision: 286233
URL: https://svnweb.freebsd.org/changeset/base/286233

Log:
  Add missing exception number to EL0 sync. abort on ARM64
  
  When doing a data abort from userland it is possible to get
  more than one data abort inside the same exception level.
  Add an appropriate exception number to allow nesting of
  data_abort handler for EL0.
  
  Reviewed by:   andrew
  Obtained from: Semihalf
  Sponsored by:  The FreeBSD Foundation
  Differential Revision: https://reviews.freebsd.org/D3276

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

Modified: head/sys/arm64/arm64/trap.c
==============================================================================
--- head/sys/arm64/arm64/trap.c Mon Aug  3 14:31:06 2015        (r286232)
+++ head/sys/arm64/arm64/trap.c Mon Aug  3 14:58:46 2015        (r286233)
@@ -329,6 +329,7 @@ do_el0_sync(struct trapframe *frame)
                break;
        case EXCP_INSN_ABORT_L:
        case EXCP_DATA_ABORT_L:
+       case EXCP_DATA_ABORT:
                data_abort(frame, esr, 1);
                break;
        default:
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to