jerpelea opened a new pull request, #21195:
URL: https://github.com/apache/nuttx/pull/21195

   ## Summary
   
   On arm64, a user fault that the kernel recovers from looks like a kernel 
failure. arm64_fatal_handler() prints "PANIC: Unhandled user exception" and a 
full register dump, but it then only kills the offending task with SIGSEGV. 
This change prints "Segmentation fault in (PID n: )", the same message as 
risc-v, and keeps the register dump for the fatal path.
   
   arm64_el1_undef() also reads the words around ELR. For an exception from EL0 
these are user addresses that can be in an unmapped page. A fault there is a 
nested exception that trips the DEBUGASSERT in arm64_fatal_handler(). This 
change skips the dump for EL0 and keeps it for EL1.
   
   The first commit fixes an older nxstyle error in arm64_fatal.c, because CI 
checks every file that a change touches. It changes whitespace only.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to