xiaoxiang781216 commented on code in PR #15072:
URL: https://github.com/apache/nuttx/pull/15072#discussion_r1874242439


##########
arch/arm64/src/common/arm64_addrenv.c:
##########
@@ -179,8 +179,8 @@ static int create_spgtables(arch_addrenv_t *addrenv)
 
   /* Synchronize data and instruction pipelines */
 
-  ARM64_DSB();
-  ARM64_ISB();
+  __MB();

Review Comment:
   @lipengfei28 let's change to UP_MB or up_mb to indicate the barrier macro is 
the standard API between kernel/driver and arch. and replace ALL SP_XXX with 
the new macros



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to