| 8611015f | 21-May-2015 |
Youssef Esmat <youssef.esmat@microsoft.com> |
Out of memory check fix for tee_mm_alloc
This is to address issue #304 where tee_mm_alloc has an incorrect check for out of memory condition.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Rev
Out of memory check fix for tee_mm_alloc
This is to address issue #304 where tee_mm_alloc has an incorrect check for out of memory condition.
Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Youssef Esmat <youssef.esmat@microsoft.com>
show more ...
|
| e6f7b90f | 21-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
hikey: enable SHA1 and SHA256 crypto extensions by default on aarch32
This results in a 3.4x speed improvement on a mixed SHA1 and SHA256 test. I used xtest 4001, modified to run 2 test loops (one f
hikey: enable SHA1 and SHA256 crypto extensions by default on aarch32
This results in a 3.4x speed improvement on a mixed SHA1 and SHA256 test. I used xtest 4001, modified to run 2 test loops (one for SHA1 and one for SHA256) on a 32 KiB buffer. The buffer is hashed 10,000 times in each loop. I measured the total elapsed time for a test run. aarch64 numbers are given for comparison although crypto extensions are not supported in this case.
Test case # runs min avg max stddev relative (s) (s) (s) (%) speed -------------- ------ ----- ----- ----- ------ --------- aarch32, no CE 10 18.65 18.86 19.49 1.7 1.00 aarch32, CE 10 5.49 5.60 5.67 1.0 3.37 aarch64 10 22.02 22.14 22.83 1.2 0.85
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 ...
|
| ba5ca707 | 21-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix compile error
Some versions of GCC produce a "may be used uninitialized" error when DEBUG=0 CFG_TEE_CORE_LOG_LEVEL=3.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Fix compile error
Some versions of GCC produce a "may be used uninitialized" error when DEBUG=0 CFG_TEE_CORE_LOG_LEVEL=3.
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 ...
|
| 8017a714 | 21-May-2015 |
Pascal Brand <pascal.brand@st.com> |
TEE_HANDLE_FLAG_INITIALIZED cleared in tee_svc_cryp_obj_reset()
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Reviewed-by: Joakim Be
TEE_HANDLE_FLAG_INITIALIZED cleared in tee_svc_cryp_obj_reset()
Signed-off-by: Pascal Brand <pascal.brand@st.com> Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| c999e231 | 18-May-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Move SMALL_PAGE_* defines to core_mmu.h
Moves SMALL_PAGE_* to core_mmu.h and removes core/arch/arm/include/mm/tee_mm_def.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pas
Move SMALL_PAGE_* defines to core_mmu.h
Moves SMALL_PAGE_* to core_mmu.h and removes core/arch/arm/include/mm/tee_mm_def.h
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 05f34fb5 | 19-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add HiKey build instructions to README.md
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@lina
Add HiKey build instructions to README.md
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 ...
|
| ab35d7ad | 28-Apr-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP Internal Core API v1.1 : TEE configuration properties
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier
GP Internal Core API v1.1 : TEE configuration properties
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 55093bf4 | 18-May-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Remove RTT0 and RTT1 support
Removes the support for RTT0 and RTT1 as we don't have a port to any hardware with RTT0 and RTT1.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
Remove RTT0 and RTT1 support
Removes the support for RTT0 and RTT1 as we don't have a port to any hardware with RTT0 and RTT1.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| ce3a2f7b | 18-May-2015 |
James Kung <james.kung@linaro.org> |
Update README and setup script for Mediatek Platform
Signed-off-by: James Kung <james.kung@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linar
Update README and setup script for Mediatek Platform
Signed-off-by: James Kung <james.kung@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (MT8173)
show more ...
|
| fbecf4ee | 16-Apr-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add sparse support [C=1]
Adds support to check source files with sparse when C=1 on the command line. Only files that are recompiled are checked.
Note that sparse isn't very useful at this stage si
Add sparse support [C=1]
Adds support to check source files with sparse when C=1 on the command line. Only files that are recompiled are checked.
Note that sparse isn't very useful at this stage since the source code need changes to be more sparse friendly.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 6227e099 | 20-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Fix CFG_TEE_CORE_EMBED_INTERNAL_TESTS macro
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.br
Fix CFG_TEE_CORE_EMBED_INTERNAL_TESTS macro
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 ...
|
| d7df0762 | 20-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Clean/simplify supplicant RPC parameters
Tested on HiKey with 32-bit and 64-bit TEE Core.
Note: this commit depends on: https://github.com/OP-TEE/optee_client/pull/32 https://github.com/OP-TEE/op
Clean/simplify supplicant RPC parameters
Tested on HiKey with 32-bit and 64-bit TEE Core.
Note: this commit depends on: https://github.com/OP-TEE/optee_client/pull/32 https://github.com/OP-TEE/optee_linuxdriver/pull/22
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 ...
|
| 0ed6a6ca | 30-Apr-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP Internal Core API v1.1 : generic object functions
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal
GP Internal Core API v1.1 : generic object functions
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 2e5831a9 | 13-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: main.c now use generic_boot.c
Yet another step towrds generic boot on plat-stm plat-stm/main.c is now minimized by including kernel/generic_boot.c
Reviewed-by: Joakim Bech <joakim.bech@li
plat-stm: main.c now use generic_boot.c
Yet another step towrds generic boot on plat-stm plat-stm/main.c is now minimized by including kernel/generic_boot.c
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 6ef34537 | 08-May-2015 |
SY Chiu <sy.chiu@linaro.org> |
Generic console initialization code
Signed-off-by: SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| 44bd24c5 | 08-Apr-2015 |
James Kung <james.kung@linaro.org> |
Mediatek mt8173 platform support
Add support for Mediatek mt8173 platform with 32bit and 64bit OP-TEE OS. Due to Mediatek ATF firmware limitation, this commit only tested with 64bit OP-TEE OS.
Sign
Mediatek mt8173 platform support
Add support for Mediatek mt8173 platform with 32bit and 64bit OP-TEE OS. Due to Mediatek ATF firmware limitation, this commit only tested with 64bit OP-TEE OS.
Signed-off-by: James Kung <james.kung@linaro.org> Signed-off-by: SY Chiu <sy.chiu@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB)
NOTE: To test this on MT8173 EVB, you need to update firmware please refer to https://github.com/m943040028/evb-utils
show more ...
|
| fd1bdc6b | 12-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: log build information on init
Build information includes:
- Version string as returned by 'git describe --always --dirty' - Build counter (#1 initially or after 'make clean') - Build date/tim
core: log build information on init
Build information includes:
- Version string as returned by 'git describe --always --dirty' - Build counter (#1 initially or after 'make clean') - Build date/time - Linker architecture ('arm', 'aarch64')
For example: 0.2.0-107-g985d7d8 #1 Tue May 12 16:49:14 UTC 2015 aarch64
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 14fb9f84 | 12-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: using the heap as the generic one
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pasc
plat-stm: using the heap as the generic one
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 5526b8c0 | 12-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: going to generic_boot_init_primary / secondary
In plat_stm, we now use functions that are close to the generic one generic_boot_init_primary and generic_boot_init_secondary
Reviewed-by: J
plat-stm: going to generic_boot_init_primary / secondary
In plat_stm, we now use functions that are close to the generic one generic_boot_init_primary and generic_boot_init_secondary
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 73980898 | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: Use CFG_MMU_V7_TTB
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| db90573f | 06-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-hikey: enable ARM64
make PLATFORM=hikey CFG_ARM64_core=y \ CROSS_COMPILE_core=aarch64-linux-gnu-
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <p
plat-hikey: enable ARM64
make PLATFORM=hikey CFG_ARM64_core=y \ CROSS_COMPILE_core=aarch64-linux-gnu-
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 ...
|
| e8f2a0ad | 06-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Generic boot: Introduce DEVICE0_TYPE
Within this step, plat-stm/core_bootcfg.c is now exactly generic_core_bootcfg.c.
This is a step towards using the generic boot on STM platform.
Reviewed-by: Je
Generic boot: Introduce DEVICE0_TYPE
Within this step, plat-stm/core_bootcfg.c is now exactly generic_core_bootcfg.c.
This is a step towards using the generic boot on STM platform.
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 ...
|
| c03e613c | 06-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: unification with generic_core_boot_cfg.c
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pa
plat-stm: unification with generic_core_boot_cfg.c
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 ...
|
| 17da325d | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Remove unused function tee_get_cutid()
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@s
Remove unused function tee_get_cutid()
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 ...
|
| 7a976658 | 06-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: move common 32/64-bit definitions to core/arch/arm/arm.mk
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP 32/64-bit
core: move common 32/64-bit definitions to core/arch/arm/arm.mk
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP 32/64-bit) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|