
Explore arm's modified Harvard architecture with independent I side, D side, and TLB side interfaces and unified caches, and learn barrier techniques like DSB and ISB to guarantee memory ordering.
Explore how Herd Tools simulate the ARM memory model with litmus tests to determine when barriers are required, using DMB nush concepts and program order.
Explore how dmb and dsb enforce ordering in other-multi-copy-atomic memory models, illustrated by a dma barrier example and linux kernel io practices.
Explain how endpoint completion and control dependencies govern memory-mapped writes. Show techniques to guarantee write A reaches E3 before completion, including read-back flush and dummy control dependencies.
Join a guided walkthrough of lesson 24's quiz on arm barriers 101, covering d side, i side, tlb side, cache maintenance, coherence, and barriers like dsb, isb, and dmb.
Welcome to Part 3 of our Barriers 101 training course, a comprehensive deep dive on barriers in the Arm® Architecture.
This course is suitable for software engineers working on Arm-based platforms on system-level software, from down at the firmware layer all the way up through to the kernel, hypervisor, and device drivers.
In these lessons, you'll learn:
Why Data Memory Barriers are not always sufficient to guarantee ordering.
How to use other barriers to enforce ordering in those situations.
How Arm formally defines ordering relationships in its weakly-ordered memory model.
How to test for missing barriers under simulation.
From beginner to expert: Our courses are suitable for all levels of experience, whether you're already a seasoned veteran of the Arm Architecture or you're seeing Arm Barriers for the very first time.
How it really works: Our courses go both broader and deeper on the topic of barriers than anyone else; we show you how things really work, and more importantly, why.
Learning is doing: Reinforce your learning with 30 multiple-choice quiz questions including a video walkthrough of each question and answer.
Recognised trainer: Our courses are written and produced by Ash Wilding, formerly one of Arm's lead technical trainers and a kernel engineer at both Amazon AWS and Apple.