| 821f46cf | 16-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: minor housekeeping in tee_pager.c
* Reduces to one #ifdef CFG_WITH_PAGER section in the file and one #else section. * Removes unneeded includes.
Reviewed-by: Pascal Brand <pascal.brand@lina
core: minor housekeeping in tee_pager.c
* Reduces to one #ifdef CFG_WITH_PAGER section in the file and one #else section. * Removes unneeded includes.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 16841254 | 16-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: add abort.{c,h} pager neutral processing
Moves structs, functions and defines which are central in abort processing into abort.{c,h}. All identifier keeps their name in this commit to make it
core: add abort.{c,h} pager neutral processing
Moves structs, functions and defines which are central in abort processing into abort.{c,h}. All identifier keeps their name in this commit to make it easier to follow how the code is moved.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0795afd0 | 27-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: merge tee_ta_manager{,_unpg}.{c,h}
Merges tee_ta_manager_unpg.h into tee_ta_manager.h and tee_ta_manager_unpg.c into tee_ta_manager.c
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewe
core: merge tee_ta_manager{,_unpg}.{c,h}
Merges tee_ta_manager_unpg.h into tee_ta_manager.h and tee_ta_manager_unpg.c into tee_ta_manager.c
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 046ffe61 | 27-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: move cache syscall
Moves cache syscall code to arch/arm/tee
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander
core: move cache syscall
Moves cache syscall code to arch/arm/tee
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 494df822 | 26-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
cleanup static TA handling
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| a0fdab65 | 05-Jan-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
Assembly files should use FUNC* macros
* All assembly files should use the FUNC* macros for interwork to work properly. * Moves asm.S into libutils to make it available for TA libs
Reviewed-by: J
Assembly files should use FUNC* macros
* All assembly files should use the FUNC* macros for interwork to work properly. * Moves asm.S into libutils to make it available for TA libs
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey 32/64 bits) 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>
show more ...
|
| 739804b5 | 11-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
get rid of platform_flags.mk
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@l
get rid of platform_flags.mk
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a8a78b85 | 27-Nov-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: RPMB (Replay Protected Memory Block) filesystem support
This is an update to the RPMB filesystem implementation so that the persistent object API may use RPMB rather than the REE filesystem. T
core: RPMB (Replay Protected Memory Block) filesystem support
This is an update to the RPMB filesystem implementation so that the persistent object API may use RPMB rather than the REE filesystem. This feature is enabled with CFG_RPMB_FS=y. Note that this implementation requires support from the non-secure side to actually access the RPMB partition, as there is no eMMC driver here. Also, the code is currently not compatible with CFG_ENC_FS (file encryption), which must be set to 'n'. Encryption will be added later.
Signed-off-by: Youssef Esmat <youssef.esmat@microsoft.com> Signed-off-by: Paul Swan <Paul.Swan@microsoft.com> [Rebased onto master, Linux driver/tee-supplicant support] Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| c4eaf58b | 24-Jan-2016 |
Victor Chong <victor.chong@linaro.org> |
plat-vexpress: Change UART1_BASE and IT_UART1
This is required to move OP-TEE to upstream QEMU.
Signed-off-by: Victor Chong <victor.chong@linaro.org> Suggested-by: Peter Maydell <peter.maydell@lina
plat-vexpress: Change UART1_BASE and IT_UART1
This is required to move OP-TEE to upstream QEMU.
Signed-off-by: Victor Chong <victor.chong@linaro.org> Suggested-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| b5569a68 | 08-Jan-2016 |
Pascal Brand <pascal.brand@st.com> |
Compiles user library using conf.h
Compilation of user libraries now includes conf.h This makes the definition of CFG_xxx macro more reliable, without the need of adding specific -D directives in ta
Compiles user library using conf.h
Compilation of user libraries now includes conf.h This makes the definition of CFG_xxx macro more reliable, without the need of adding specific -D directives in ta/ta.mk
Note that conf.h and conf.mk are no more generated in the out/core directory.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 36f28345 | 19-Jan-2016 |
Pascal Brand <pascal.brand@st.com> |
Fix final step in SSK generation
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Suggested-by: Collin Elhossari <collin.elhossari@
Fix final step in SSK generation
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Suggested-by: Collin Elhossari <collin.elhossari@gmail.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 4bf425c1 | 21-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Replace CFG_TEE_IMPL_VERSION with TEE_IMPL_VERSION
Replaces CFG_TEE_IMPL_VERSION with TEE_IMPL_VERSION to avoid updating <out-dir>/core/include/generated/conf.h each time description of the current
Replace CFG_TEE_IMPL_VERSION with TEE_IMPL_VERSION
Replaces CFG_TEE_IMPL_VERSION with TEE_IMPL_VERSION to avoid updating <out-dir>/core/include/generated/conf.h each time description of the current git commit is changed.
This avoids full recompiles that can't even be cached just because some files has changed in an updated commit.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> 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>
show more ...
|
| 8684fde8 | 26-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: split struct tee_ta_ctx
Moves user ta specific parts into struct user_ta_ctx and static ta specific parts into struct static_ta_ctx.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested
core: split struct tee_ta_ctx
Moves user ta specific parts into struct user_ta_ctx and static ta specific parts into struct static_ta_ctx.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0dcea1a3 | 25-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: split tee_ta_manager.c
Isolates static and user TA specifics into separate files. Almost no change in behaviour, except some changes for static TA to be more consistent.
Reviewed-by: Pascal B
core: split tee_ta_manager.c
Isolates static and user TA specifics into separate files. Almost no change in behaviour, except some changes for static TA to be more consistent.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 4aeff297 | 16-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add __rodata_unpaged macro
Adds a __rodata_unpaged macro that will put the object in the unpaged rodata section.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jen
Add __rodata_unpaged macro
Adds a __rodata_unpaged macro that will put the object in the unpaged rodata section.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9fa130bf | 30-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: Add KEEP_PAGER() and KEEP_INIT() macros
Adds KEEP_PAGER(sym) and KEEP_INIT(sym) macros which makes supplied symbol available for pager or init code respectively.
Reviewed-by: Joakim Bech <joa
core: Add KEEP_PAGER() and KEEP_INIT() macros
Adds KEEP_PAGER(sym) and KEEP_INIT(sym) macros which makes supplied symbol available for pager or init code respectively.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 8b4ed803 | 08-Jan-2016 |
Joakim Bech <joakim.bech@linaro.org> |
Remove unused functions
After finding a set of functions potentially not used anywhere (using gcc -Wl,--print-gc-sections) I did grep'd for those functions and the ones that couldn't be found to be
Remove unused functions
After finding a set of functions potentially not used anywhere (using gcc -Wl,--print-gc-sections) I did grep'd for those functions and the ones that couldn't be found to be used anywhere has been deleted (although utility functions, LibTomCrypt etc hasn't been touched).
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| ae3d06c1 | 31-Dec-2015 |
Paul Swan <Paul.Swan@microsoft.com> |
Adjust the optional flags according to TA_FLAG_INSTANCE_KEEP_ALIVE
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand
Adjust the optional flags according to TA_FLAG_INSTANCE_KEEP_ALIVE
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Paul Swan <paswan@microsoft.com> Tested-by: Youssef Esmat <Youssef.Esmat@microsoft.com> Signed-off-by: Paul Swan <paswan@microsoft.com>
show more ...
|
| 7215f52d | 07-Jan-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: trace_syscall(): print the syscall name in addition to its number
When CFG_TEE_CORE_LOG_LEVEL >= 4, a debug trace is printed whenever a system call is entered. Currently it just prints the sys
core: trace_syscall(): print the syscall name in addition to its number
When CFG_TEE_CORE_LOG_LEVEL >= 4, a debug trace is printed whenever a system call is entered. Currently it just prints the syscall number, which is not very convenient. This commit adds the name of the syscall function to the trace.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| dfa1ae1e | 07-Jan-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
arm32: tee_svc_do_call() must preserve r5 and r6
Since the assembly function tee_svc_do_call() uses registers r5 and r6, it must push them on entry and restore them on exit.
Signed-off-by: Jerome F
arm32: tee_svc_do_call() must preserve r5 and r6
Since the assembly function tee_svc_do_call() uses registers r5 and r6, it must push them on entry and restore them on exit.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a189a570 | 17-Dec-2015 |
Pascal Brand <pascal.brand@st.com> |
ltc: mutex support, in case of no mutex
Some platforms, other than arm, may not support multiple threads, or may have other support than the LTC_OPTEE_THREAD thread scheme.
This patch defines LTC_O
ltc: mutex support, in case of no mutex
Some platforms, other than arm, may not support multiple threads, or may have other support than the LTC_OPTEE_THREAD thread scheme.
This patch defines LTC_OPTEE_THREAD for arm only platform, and defines the no mutex mechanism in libtomcrypt
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 3cb85474 | 10-Dec-2015 |
SY Chiu <sy.chiu@linaro.org> |
Secure Storage: fixed potential error while creating persistent object
Following is the issue description:
If we failed to create meta file while creating a new persistent object. We will leave a e
Secure Storage: fixed potential error while creating persistent object
Following is the issue description:
If we failed to create meta file while creating a new persistent object. We will leave a empty tee folder in ree filesystem.
Next time when we want to create tee file when the same object id, it will fail because the folder is already existed.
The patch solves this issue by checking if meta file is existed, instead of just checking if the folder is existed.
Signed-off-by: SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| f6d80bd6 | 30-Mar-2015 |
Pascal Brand <pascal.brand.com> |
Stats on allocation
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by:
Stats on allocation
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| f17dfc0c | 11-Dec-2015 |
Pascal Brand <pascal.brand@st.com> |
Merge files tee_mm and tee_mm_unpg
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| dc5c6bfa | 11-Dec-2015 |
Victor Chong <victor.chong@linaro.org> |
plat-hikey: change default console to UART3
96boards community now uses UART3 as default for all SW components. Change default for optee_os to UART3 as well to be inline with them.
Signed-off-by: V
plat-hikey: change default console to UART3
96boards community now uses UART3 as default for all SW components. Change default for optee_os to UART3 as well to be inline with them.
Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|