Searched hist:e06a9ea52ab0465e0ac2585e300dd87b69820129 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/mm/ |
| H A D | core_mmu.c | e06a9ea52ab0465e0ac2585e300dd87b69820129 Fri Jul 26 13:15:17 UTC 2024 Volodymyr Babchuk <volodymyr_babchuk@epam.com> mmu: ignore VA spaces in core_mmu_get_type_by_pa
VA spaces have no valid PA addresses stored in memory map, so they are not valid return values for core_mmu_get_type_by_pa() function.
This issues was discovered when OP-TEE tried to access a device tree that was stored at the very beginning of physical address space. In may case it had PA address 0x112C0, which was "covered" by RES_VASPACE:
D/TC:0 0 dump_mmap_table:838 type RES_VASPACE va 0x1d800000..0x1e1fffff pa 0x00000000..0x009fffff size 0x00a00000 (pgdir)
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
|