Home
last modified time | relevance | path

Searched hist:"36 bf7ea889946ea981ead44ad43940f3b7e5d74c" (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/include/mm/
H A Dtee_mmu_types.h36bf7ea889946ea981ead44ad43940f3b7e5d74c Tue Mar 01 18:14:00 UTC 2016 Jens Wiklander <jens.wiklander@linaro.org> core: bugfix static TA buffer from user TA

Before this patch the checks of the parameters buffers for a TA where
required to be physical pointers. When a static TA is invoked from a
user TA the virtual addresses of the buffers aren't translated to
physical addresses as they will be translated back to the same virtual
address again. With this patch the parameters buffers are tagged as
containing virtual addresses allowing the checks to take that into
account.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/tee/
H A Dtee_svc.c36bf7ea889946ea981ead44ad43940f3b7e5d74c Tue Mar 01 18:14:00 UTC 2016 Jens Wiklander <jens.wiklander@linaro.org> core: bugfix static TA buffer from user TA

Before this patch the checks of the parameters buffers for a TA where
required to be physical pointers. When a static TA is invoked from a
user TA the virtual addresses of the buffers aren't translated to
physical addresses as they will be translated back to the same virtual
address again. With this patch the parameters buffers are tagged as
containing virtual addresses allowing the checks to take that into
account.

Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU)
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>