RTEMS | bsps/aarch64: Add isb instruction after write to sctlr_el1 in aarch64_mmu_enable (!908)

Preetam Das (@lostux) gitlab at rtems.org
Wed Jan 14 20:01:21 UTC 2026



Preetam Das created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/908

Project:Branches: lostux/rtems:bsps-aarch64-add-isb-after-mmu-enable to rtems/rtos/rtems:main
Author:   Preetam Das




## Summary

bsps/aarch64: Add isb instruction after write to sctlr_el1 in aarch64_mmu_enable

A write to the sctlr_el1 register is a 'context-changing operation'
and thus requires a pipeline flush for the change to actually take
effect on subsequent instructions.

The isb instruction gurantees this, and ensures mmu is enabled
immediately.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/908
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260114/f2e84f00/attachment.htm>


More information about the bugs mailing list