RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)

Wayne Thornton (@wmthornton-dev) gitlab at rtems.org
Fri May 22 14:36:11 UTC 2026




Wayne Thornton commented on a discussion on cpukit/score/cpu/x86_64/include/rtems/score/cpu.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150823

 >  
 >  typedef uintptr_t CPU_Uint32ptr;
 >  
 > +/**
 > + * @brief Pauses the CPU pipeline to prevent aggressive speculative execution
 > + * and reduce thermal load during spin-wait loops.
 > + */
 > +static inline void _CPU_Pause_speculation( void )
 > +{
 > +  __asm__ volatile( "pause" ::: "memory" );

@gedare I can absolutely open a separate MR to add `_CPU_Spin_wait()` to the `score/cpu.h` file(s) for each BSP that is `RTEMS_SMP` capable. I will note that since each architecture will need a thorough review to determine whether the memory handling and core assignment features are compatible with the API, it will take some time to go through them all.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150823
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/20260522/ce407e9e/attachment.htm>


More information about the bugs mailing list