-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: fix core_mmu_map_pages() #1827
Conversation
@jenswi-linaro, I wonder why this issue does not occur with the pager, where pages can be loaded from the pagefault handler without dsb in some conditions (bsd only when valid mmu descriptors are updated) before handler return to normal execution ? |
We're doing TLB invalidations instead. Or have you been able to find a suspicious location? |
Maybe we could add in the comments of prototypes of |
Yes, I confirmed that translate fault I see goes away with this patch applied. |
@stuyoder, can I add your |
Sure, thats fine. |
Adds missing dsb_ishst() at the end of core_mmu_map_pages() needed to guarantee that changes to translation tables are visible. Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Stuart Yoder <stuart.yoder@arm.com> Reported-by: Stuart Yoder <stuart.yoder@arm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tags applied. @etienne-lms, I think the interface (and implementation) need to be cleaned up a bit. It's actually one item I'd like to discuss at Connect. |
Adds missing dsb_ishst() at the end of core_mmu_map_pages() needed to
guarantee that changes to translation tables are visible.
Reported-by: Stuart Yoder stuart.yoder@arm.com
Signed-off-by: Jens Wiklander jens.wiklander@linaro.org