| 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 ...
|
| 876d549a | 09-Dec-2015 |
Victor Chong <victor.chong@linaro.org> |
plat-mediatek: generate new TA dev kit for ARM64
Signed-off-by: Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (mediatek build only) Reviewed-by: Pascal Bra
plat-mediatek: generate new TA dev kit for ARM64
Signed-off-by: Victor Chong <victor.chong@linaro.org> Tested-by: Victor Chong <victor.chong@linaro.org> (mediatek build only) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 9fcc9dff | 11-Dec-2015 |
Victor Chong <victor.chong@linaro.org> |
Generate new TA dev kit for ARM32 platforms
Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.foriss
Generate new TA dev kit for ARM32 platforms
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> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 5dd05ba7 | 16-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core/arm64: core local flags
Updates core local flags (irq, fiq, abort, tmp-stack) in all relevant exception handlers.
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP) Signed-off-by: Jen
core/arm64: core local flags
Updates core local flags (irq, fiq, abort, tmp-stack) in all relevant exception handlers.
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| bc1ac4ab | 16-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core/arm64: shrink struct thread_core_local |
| d5fbeadc | 16-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core/arm64: clean assembly IRQ/FIQ handlers
Clean the assembly part of the IRQ and FIQ handlers.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 27ecfc4d | 11-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm: bugfix compile error in tee_mmu_map()
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wikland
arm: bugfix compile error in tee_mmu_map()
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 ...
|
| 7b3f7edc | 10-Dec-2015 |
Victor Chong <victor.chong@linaro.org> |
Fix compile error with newer gcc
$ make \ CFG_ARM64_core=y \ CROSS_COMPILE_ta_arm64=aarch64-linux-gnu- \ CROSS_COMPILE=arm-linux-gnueabihf- \ CROSS_COMPILE_core=aarch64-linux-gnu- \ CROSS_COMPI
Fix compile error with newer gcc
$ make \ CFG_ARM64_core=y \ CROSS_COMPILE_ta_arm64=aarch64-linux-gnu- \ CROSS_COMPILE=arm-linux-gnueabihf- \ CROSS_COMPILE_core=aarch64-linux-gnu- \ CROSS_COMPILE_ta_arm32=arm-linux-gnueabihf- \ DEBUG=0 \ PLATFORM=hikey \ CFG_TEE_CORE_LOG_LEVEL=2 \ CFG_TEE_TA_LOG_LEVEL=3
core/arch/arm/mm/tee_mmu.c: In function 'tee_mmu_map': core/arch/arm/mm/tee_mmu.c:266:10: error: 'pa' may be used uninitialized in this function [-Werror=maybe-uninitialized] paddr_t pa; ^
gcc version 4.9.2 20140811 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.08 - Linaro GCC 4.9-2014.08) is ok but gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) generates this error.
Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| bb6e1b3e | 03-Dec-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-hikey: generate new TA dev kit for ARM64
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wikl
plat-hikey: generate new TA dev kit for ARM64
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 ...
|