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: cxd56xx: Fix cxd56xx for SMP #14842

Merged
merged 1 commit into from
Nov 19, 2024

Commits on Nov 19, 2024

  1. arch: arm: Fix cxd56xx for SMP

    Summary:
    - In apache#14465,
      atomic_compare_exchange_weak_explicit() was newly introduced
      in semaphore. However, cxd56xx has an issue with the API
      if SMP is enabled (see up_testset2 in cxd56_testset.c).
    - This commit fixes the issue by using LIBC_ARCH_ATOMIC.
    
    Impact:
    - Only cxd56xx SoCs in SMP mode.
    
    Testing:
    - Tested with spresense:smp, spresense:wifi_smp
    - NOTE: If DEBUG_ASSERTIONS is enabled assert would be happend.
      I think this might be another issue.
    
    Signed-off-by: Masayuki Ishikawa <[email protected]>
    masayuki2009 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9c24834 View commit details
    Browse the repository at this point in the history