You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/19 08:18:57 UTC
[GitHub] [incubator-nuttx] GUIDINGLI opened a new pull request #4176: ARM: fix CPSR corruption after exception handling
GUIDINGLI opened a new pull request #4176:
URL: https://github.com/apache/incubator-nuttx/pull/4176
ARM: fix CPSR corruption after exception handling
It seems to be caused by the corrupted or wrong CPSR restored on return
from exception. NuttX restores the context using code like this:
msr spsr, r1
GCC translates this to:
msr spsr_fc, r1
As a result, not all SPSR fields are updated on exception return. This
should be:
msr spsr_fsxc, r1
This bug has been fixed by Heesub Shin in:
343243c7c0de3d0696fa19c08d8d81e8d6cf0a1c
Change-Id: Ibc64db7bceecd0fb6ef39284fb5bc467f5603e2e
## Summary
## Impact
## Testing
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #4176: ARM: fix CPSR corruption after exception handling
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4176:
URL: https://github.com/apache/incubator-nuttx/pull/4176
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #4176: ARM: fix CPSR corruption after exception handling
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4176:
URL: https://github.com/apache/incubator-nuttx/pull/4176
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #4176: ARM: fix CPSR corruption after exception handling
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4176:
URL: https://github.com/apache/incubator-nuttx/pull/4176
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org