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

os/arch/arm/src/amebasmart, os/board/rtl8730e: Update critical zone API usage for SMP #6079

Merged
merged 3 commits into from
May 15, 2024

Commits on May 3, 2024

  1. os/arch/arm/src/amebasmart: Update arch layer critical zone usage

    - Change irqsave/irqrestore to enter/leave_critical_section
    edwakuwaku committed May 3, 2024
    Configuration menu
    Copy the full SHA
    89d1605 View commit details
    Browse the repository at this point in the history
  2. os/board/rtl8730e: Refine driver layer critical zone usage

    - Reduce overhead of implementation in osdep_service_critical.c
    - Update SMP mechanism for IPC part
    edwakuwaku committed May 3, 2024
    Configuration menu
    Copy the full SHA
    ffa4c9f View commit details
    Browse the repository at this point in the history
  3. os/arch/arm/src/amebasmart,armv7-a: Update CPU gating mechanism for SMP

    - A deadlock was observed when the cpuA which undergo flash operation is trying to gate the other cpuB, but the cpuB is in critical zone (ie. interrupt disabled state), due to waiting for cpuA to pause itself
    - This commit fix the deadlock issue by letting cpuA to check and handle any pending pause request at first, so that cpuB can continue it's workflow and exit from critical zone, thus it can handle the gating request from cpuA
    edwakuwaku committed May 3, 2024
    Configuration menu
    Copy the full SHA
    0fff071 View commit details
    Browse the repository at this point in the history