xiaoxiang781216 commented on code in PR #16729:
URL: https://github.com/apache/nuttx/pull/16729#discussion_r2209342978
##########
drivers/misc/optee.c:
##########
@@ -345,6 +346,10 @@ optee_shm_to_page_list(FAR struct optee_shm *shm, FAR
uintptr_t *list_pa)
*list_pa = optee_va_to_pa(list) | pgoff;
}
+#ifndef CONFIG_ARCH_USE_MMU
Review Comment:
Ok, I understand your config: disable MMU, but enable cache. But it mayn't a
support combination from:
https://developer.arm.com/documentation/ddi0406/b/System-Level-Architecture/Virtual-Memory-System-Architecture--VMSA-/Memory-access-sequence/Enabling-and-disabling-the-MMU
this statement is for armv7-a, but the similar limitation may exist on
armv8-a too.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]