Searched hist:bfb714a2f8411f071aac45ecfcfb52c8c2859c2b (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/mm/ |
| H A D | core_mmu.c | bfb714a2f8411f071aac45ecfcfb52c8c2859c2b Wed Jul 10 16:07:10 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> core: mm: ensure all pager VA space is mapped with small pages
Fix can_map_at_level() to ensure all memory areas related the pager pageable virtual memory are mapped with small pages. This change fixes an issue found when the pager physical RAM ends on a section boundary (e.g. 512MB or 2MB on LPAE case) making the virtual memory mapping above that boundary to be prepared with pgdir or wider MMU tables while pager implementation expects 4kB page MMU tables.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|