Searched hist:b715a4208a7612402298f27aa6513d728e322bba (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/mm/ |
| H A D | mobj.c | b715a4208a7612402298f27aa6513d728e322bba Fri Jul 09 15:12:33 UTC 2021 Anton Rybakov <a.rybakov@omp.ru> mm: fix mobj split by adding core_mmu_find_mapping_exclusive() helper
Fixes: ff01e2452169 ("mm: split mobj_tee_ram onto rw/rx parts")
This fixes mobj splitting onto RX/RW parts. Now split can be done incorrectly if RX and RW regions doesn`t mapped contiguosly. Added helper core_mmu_find_mapping_exclusive() allows to find unique mapping for specified type and length independently of their order, so then RX/RW regions for mobjects should be determined correctly.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Anton Rybakov <a.rybakov@omp.ru>
|
| /optee_os/core/arch/arm/mm/ |
| H A D | core_mmu.c | b715a4208a7612402298f27aa6513d728e322bba Fri Jul 09 15:12:33 UTC 2021 Anton Rybakov <a.rybakov@omp.ru> mm: fix mobj split by adding core_mmu_find_mapping_exclusive() helper
Fixes: ff01e2452169 ("mm: split mobj_tee_ram onto rw/rx parts")
This fixes mobj splitting onto RX/RW parts. Now split can be done incorrectly if RX and RW regions doesn`t mapped contiguosly. Added helper core_mmu_find_mapping_exclusive() allows to find unique mapping for specified type and length independently of their order, so then RX/RW regions for mobjects should be determined correctly.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Anton Rybakov <a.rybakov@omp.ru>
|