Effective and correct way of invalidating data-cache for arm64 Xen domain #58436
-
If we build Zephyr as a Xen Initial domain or for xenvm board, it won't work with cache management support enabled. Initialization of board(s) is failed in enable_mmu_el1 function during call Our team have found a fast workaround for the issue: just replace sys_cache_data_invd_all call with the next one So, the question is: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
FYI, U-boot had the same issue and there is the fix they implemented: https://www.mail-archive.com/u-boot@lists.denx.de/msg464402.html |
Beta Was this translation helpful? Give feedback.
-
While this worked well for U-Boot, I am not sure that this is the best approach for Zephyr. IMO, it is better to clean/invalidate every page during mapping. |
Beta Was this translation helpful? Give feedback.
FYI, U-boot had the same issue and there is the fix they implemented: https://www.mail-archive.com/u-boot@lists.denx.de/msg464402.html