Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/armv8-r: Enable fpu before arm_el_init #16120

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

jinliangli
Copy link
Contributor

Summary

In the arm_el_init function, the FPU might be used, for example, the assembly optimization of memcpy uses FPU and NEON instructions and registers.
Therefore, it's important to initialize the
FPU as early as possible to prevent system hangs that could occur if the FPU is used without being initialized.

Impact

arch/arm/armv8-r arch init

Testing

cortex-r52

In the arm_el_init function, the FPU might be used, for example, the
assembly optimization of memcpy in arm_tcm_load uses FPU and NEON
instructions and registers.
Therefore, it's important to initialize the
FPU as early as possible to prevent system hangs that could occur if the
FPU is used without being initialized.

Signed-off-by: Jinliang Li <[email protected]>
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small labels Apr 2, 2025
@xiaoxiang781216 xiaoxiang781216 merged commit 95ba78e into apache:master Apr 2, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants