Searched hist:b80243af6eb4c2c5660e8ed6db3832dda9f4dfbb (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/mm/ |
| H A D | mobj_ffa.c | b80243af6eb4c2c5660e8ed6db3832dda9f4dfbb Wed Nov 02 11:36:49 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: mobj_ffa_add_pages_at() trust addresses from SPMC
mobj_ffa_add_pages_at() checks that a supplied physical address is non-secure. This check is not needed with an SPMC at S-EL2 as we can trust that to only provide verified addresses. So disable the check for non-secure memory in that case, this has also the advantage that OP-TEE no longer need to know the valid ranges of non-secure memory.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|