core: bugfix tee_svc_copy_param()
core: bugfix tee_svc_copy_param()

tee_svc_copy_param() was doing a phys_to_virt() as if the physical
memory was in TEE ram. This patch fixes that by doing the lookup in TA
ram instead.

Reviewed-by: Jerome Forissier <ced78d268b4c9a0a20a59a9feeebd2ad90da03d3@linaro.org>
Reviewed-by: Pascal Brand <0b55292d2562685bad4ce52d64f802e8f1cd299e@linaro.org>
Tested-by: Pascal Brand <0b55292d2562685bad4ce52d64f802e8f1cd299e@linaro.org> (STM)
Tested-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org>

pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,matt2048/optee_os,pascal-brand-st-dev/optee_os,matt2048/optee_os,pascal-brand-st-dev/optee_os,matt2048/optee_os,pascal-brand-st-dev/optee_os,matt2048/optee_os