You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pussuw (via GitHub)" <gi...@apache.org> on 2024/09/27 14:03:46 UTC
[PR] arm64/SMP: Fix FPU and exception handling for ARM64 [nuttx]
pussuw opened a new pull request, #13695:
URL: https://github.com/apache/nuttx/pull/13695
## Summary
Fix FPU and exception handling for ARM64 by:
- Saving and restoring FPU state on every exception / interrupt
- Switching to the interrupt stack, when executing the exception handler / interrupt service routine
This is a continuation of: https://github.com/apache/nuttx/pull/13520
@GUIDINGLI Did the initial patches, which are adapted for CONFIG_BUILD_KERNEL / CONFIG_LIB_SYSCALL, which were implemented by me. The goal is to merge this work without breaking either one.
## Impact
Impact is on ARM64 platform only. The impacted parts are the exception and ISR handling.
## Testing
qemu-armv8a:nsh
qemu-armv8a:nsh_smp
qemu-armv8a:knsh
--
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
Re: [PR] arm64/SMP: Fix FPU and exception handling for ARM64 [nuttx]
Posted by "pussuw (via GitHub)" <gi...@apache.org>.
pussuw commented on PR #13695:
URL: https://github.com/apache/nuttx/pull/13695#issuecomment-2379366100
@GUIDINGLI the adaptation with https://github.com/apache/nuttx/pull/13520 is almost done. Flat mode nsh and nsh_smp both work, knsh doesn't work yet due to how SP_EL0 handling was changed.
Can you please take a look that the SMP issue you mentioned is OK with these changes? I'll fix the kernel mode issue on Monday.
--
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