jlaitine commented on code in PR #13520:
URL: https://github.com/apache/nuttx/pull/13520#discussion_r1772700965


##########
arch/arm64/src/common/arm64_vector_table.S:
##########
@@ -78,6 +78,10 @@
 #endif
     stp    x0, x1,  [sp, #8 * REG_ELR]
 
+    mrs    x0, sp_el0
+    mrs    x1, tpidrro_el0
+    stp    x0, x1,  [sp, #8 * REG_SP_EL0]
+

Review Comment:
   This patch is completely useless. Kernel doesn't use sp_el0, you are only 
suppposed to store it when changing context. Like it was done before this PR.



-- 
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