Multiple Cores, One Zephyr: The Path To Cortex-M SMP in Zephyr
summary
Claims a working Proof-of-Concept SMP on dual Cortex-M7 using the Infineon Traveo T2G (CYT4DN) that runs one Zephyr image with true parallel threads; implementation uses the SOC’s IPC block and hardware spinlocks via IPC block for cross-core atomics, the CPU SS identity register for core IDs, and a shared TCPWM timer as a shared TCPWM system timebase to avoid SYSTICK conflicts. Demonstrates three concurrent threads plus UART shell; interrupts currently route to core0 and cache coherency is disabled. Upstream needs: arch SMP hooks and config_use_switch cross-core context switching support.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:03AMP vs SMP differences
- 2:49SMP benefits and costs
- 5:40Hardware requirements for SMP
- 7:46Zephyr architecture port needs
- 10:16Cortex-M multicore hardware
- 13:05Case study SOC Traveo T2G
- 15:12Booting Zephyr on dual cores
- 17:23Cross-core atomics implementation
- 19:32Unified system timekeeping
- 22:21Interprocessor interrupts
- 24:04Config use switch in SMP
- 26:14Interrupt routing mechanisms
- 27:39Demo parallel thread execution
- 28:23Cache coherency challenges
- 29:46Upstreaming plan for SMP
- 31:11Demo showcase and Q&A intro
- 31:33Q&A session
