When Ldaxr Doesn't Work: Exclusive Accesses and Cacheability on AArch64

Why a load exclusive (ldaxr) raised a Data Abort on real Raspberry Pi 5 hardware but not in QEMU, and what cacheability has to do with AArch64 exclusive accesses.
17 points by joelsiks 12 days ago joelsiks.com 2 comments

Summary

A recent issue with the ldaxr instruction on Raspberry Pi 5 hardware led to a Data Abort, a problem not observed in QEMU. The article explains the relationship between cacheability and exclusive accesses in the AArch64 architecture, shedding light on important hardware nuances.

Comments (2 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open