| 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 ...
|
| 4718d4b8 | 18-Dec-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
libutee: use CFG_TEE_PANIC_DEBUG setting
When libutee is compiled, the configuration variable CFG_TEE_PANIC_DEBUG is not exported to the C code as a pre-processor macro (contrary to TEE core build,
libutee: use CFG_TEE_PANIC_DEBUG setting
When libutee is compiled, the configuration variable CFG_TEE_PANIC_DEBUG is not exported to the C code as a pre-processor macro (contrary to TEE core build, it does not happen automatically). As a result, all the calls to TEE_Panic() that occur in the GlobalPlatform API wrappers do not call EMSG() when the TA is about to panic. This commit fixes this issue by properly defining the C macro when the configuration variable is enabled.
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 ...
|
| 050009e2 | 16-Dec-2015 |
Olivier Martin <olivier@labapart.com> |
documentation/arm_trusted_firmware.md: Fixed maximum debug level
Both README.md and trace_levels.h say the level ranges from 1 to 4.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed
documentation/arm_trusted_firmware.md: Fixed maximum debug level
Both README.md and trace_levels.h say the level ranges from 1 to 4.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Olivier Martin <olivier@labapart.com>
show more ...
|
| dc5fe258 | 17-Dec-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Travis: fix typos (s/CFS_BLOCK_CACHE/CFG_BLOCK_CACHE)
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <j
Travis: fix typos (s/CFS_BLOCK_CACHE/CFG_BLOCK_CACHE)
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 ...
|
| 3e27ab4b | 11-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Export CFG_TA_FLOAT_SUPPORT to TA dev kit
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP Aarch64) Signed-off-by: Jens Wiklander
Export CFG_TA_FLOAT_SUPPORT to TA dev kit
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP Aarch64) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| fce4cfa1 | 10-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
libutils: provide aeabi functions using softfloat
Configures Softfloat to be used with aeabi function to provide floating point support for user TAs. CFG_TA_FLOAT_SUPPORT is set to y for arm32 platf
libutils: provide aeabi functions using softfloat
Configures Softfloat to be used with aeabi function to provide floating point support for user TAs. CFG_TA_FLOAT_SUPPORT is set to y for arm32 platforms to indicate that floating support is enabled.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9403c583 | 10-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Import Softfloat 3a
Imports Softfloat 3a by unzipping it into lib/libutils/isoc/arch/arm/softfloat and converts all dos line endings without any further changes.
Reviewed-by: Pascal Brand <pascal.b
Import Softfloat 3a
Imports Softfloat 3a by unzipping it into lib/libutils/isoc/arch/arm/softfloat and converts all dos line endings without any further changes.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| b5fed1a5 | 10-Dec-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
libutils: add aeabi functions for 64-bit shifting
Adds __aeabi_llsl and __aeabi_llsr to support 64-bit shifting.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <j
libutils: add aeabi functions for 64-bit shifting
Adds __aeabi_llsl and __aeabi_llsr to support 64-bit shifting.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 4c1908d3 | 02-Sep-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
stdint.h: add missing least and fast types
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 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> |
| 7104e8b7 | 24-Nov-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Document the different stacks
Documents how the different stacks are used, both in ARMv7/Aarch32 and Aarch64.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.w
Document the different stacks
Documents how the different stacks are used, both in ARMv7/Aarch32 and Aarch64.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a8e6a00b | 11-Dec-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix Travis build error (QEMU check)
The QEMU build project now needs AARCH32_CROSS_COMPILE to be set.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal
Fix Travis build error (QEMU check)
The QEMU build project now needs AARCH32_CROSS_COMPILE to be set.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 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 ...
|
| ea140671 | 03-Dec-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix compile error with 64-bit TA dev kit
$ make PLATFORM=hikey CFG_TEE_TA_LOG_LEVEL=2 CFG_ARM64_core=y \ CROSS_COMPILE=arm-linux-gnueabihf- \ CROSS_COMPILE_core=aarch64-linux-gnu- \ CROSS_COMP
Fix compile error with 64-bit TA dev kit
$ make PLATFORM=hikey CFG_TEE_TA_LOG_LEVEL=2 CFG_ARM64_core=y \ CROSS_COMPILE=arm-linux-gnueabihf- \ CROSS_COMPILE_core=aarch64-linux-gnu- \ CROSS_COMPILE_ta_arm64=aarch64-linux-gnu-
lib/libutee/tee_user_mem.c: In function ‘tee_user_mem_status’: lib/libutee/tee_user_mem.c:508:3: error: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘size_t’ [-Werror=format=] IMSG("Size:\t[%d]", global_stats.size); ^
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 ...
|
| 156fe685 | 03-Dec-2015 |
Pascal Brand <pascal.brand@st.com> |
build: fix definition of MDBG_ENABLE
Note that because of this bug, MDBG_ENABLE was always defined. Now, MDBG_ENABLE is not defined by default.
Reviewed-by: Jerome Forissier <jerome.forissier@linar
build: fix definition of MDBG_ENABLE
Note that because of this bug, MDBG_ENABLE was always defined. Now, MDBG_ENABLE is not defined by default.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> 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 ...
|
| 945694b9 | 02-Dec-2015 |
Pascal Brand <pascal.brand@st.com> |
alloc: fix mutex usage
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> |
| d4ce92c3 | 02-Dec-2015 |
Pascal Brand <pascal.brand@st.com> |
alloc: Remove mdbg_mode
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> |