| a38d95ce | 17-Apr-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Remove CFG_WITH_SEC_MON
CFG_WITH_SEC_MON = !CFG_WITH_ARM_TRUSTED_FW
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by
Remove CFG_WITH_SEC_MON
CFG_WITH_SEC_MON = !CFG_WITH_ARM_TRUSTED_FW
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 ...
|
| 5daf0bbc | 20-Apr-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-vexpress/entry_a32.S: fix wrong name in END_FUNC macro
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal
plat-vexpress/entry_a32.S: fix wrong name in END_FUNC macro
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 ...
|
| 80d65d27 | 20-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
Define TAMSG / TAMSG_RAW when CFG_TEE_CORE_TA_TRACE is undefined
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pa
Define TAMSG / TAMSG_RAW when CFG_TEE_CORE_TA_TRACE is undefined
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 ...
|
| dbd392c9 | 20-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
Adding noreturn in _assert_break() definition
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.c
Adding noreturn in _assert_break() definition
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| fcca3b1b | 20-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
Cleanup: comments and unused function
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| e0a3ffe4 | 20-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: Use exception helper
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| c61c04b8 | 20-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
Fix potential memory leak in DH
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| 3354f9b2 | 15-Apr-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
mk/checkconf.mk: update generation of conf.mk
Make generation of conf.mk more consistent with what we do for conf.h, that is: - conf.mk shall not be touched if its content does not change, - write "
mk/checkconf.mk: update generation of conf.mk
Make generation of conf.mk more consistent with what we do for conf.h, that is: - conf.mk shall not be touched if its content does not change, - write "CHK" when checking the file, then "UPD" only if it needs updating.
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 ...
|
| 06707251 | 03-Apr-2015 |
etienne carriere <etienne.carriere@st.com> |
Check invalid thread id
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Tested-by: E
Check invalid thread id
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@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 ...
|
| 1f7edb98 | 30-Mar-2015 |
etienne carriere <etienne.carriere@st.com> |
core: remove deprecated TA context field 'smem_size'
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Etienne CARRIERE <etienne.
core: remove deprecated TA context field 'smem_size'
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@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 ...
|
| 7583c59e | 27-Mar-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP Internal Core API v1.1 : add new functions, panicked IDs
- Add new functions (that will replace deprecated functions) TEE_GetObjectInfo1, TEE_RestrictObjectUsage1, TEE_CopyObjectAttributes1, TEE_
GP Internal Core API v1.1 : add new functions, panicked IDs
- Add new functions (that will replace deprecated functions) TEE_GetObjectInfo1, TEE_RestrictObjectUsage1, TEE_CopyObjectAttributes1, TEE_CloseAndDeletePersistentObject1
- Support of deprecated functions available (will be removed in future release). Note: TEE_ERROR_STORAGE_NOT_AVAILABLE case not implemented in OP-TEE core (e.g. media removal)
- Add panicked functions identifiers (debug purpose)
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@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 ...
|
| ef0c57f0 | 13-Apr-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: bugfix thread_set_exceptions()
Fixes problem that thread_set_exceptions() wouldn't clear an already present exception bit.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by:
core: bugfix thread_set_exceptions()
Fixes problem that thread_set_exceptions() wouldn't clear an already present exception bit.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| cbc32826 | 25-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: bugfix set error origin on bad session id
Sets error origin to TEE_ORIGIN_TEE when session id fails verification.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal
core: bugfix set error origin on bad session id
Sets error origin to TEE_ORIGIN_TEE when session id fails verification.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| c9b91489 | 13-Mar-2015 |
Pascal Brand <pascal.brand@st.com> |
Fix RSA key pair generation when public exponent is provided
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Bra
Fix RSA key pair generation when public exponent is provided
Reviewed-by: Jerome Forissier <jerome.forissier@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 ...
|
| abe38974 | 09-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Rename arm32 architecture to arm
Renames arm32 directories to arm.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by
Rename arm32 architecture to arm
Renames arm32 directories to arm.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU platform)
show more ...
|
| 20c7472e | 23-Mar-2015 |
etienne carriere <etienne.carriere@st.com> |
core/arm32: fix TA cache services
Reviewed-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Signed
core/arm32: fix TA cache services
Reviewed-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| e491318a | 04-Feb-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: separate ARM32 specific
* ARM32 specific C code is broken out and surrounded by #ifdef ARM32 * Some small architectural changes in thread and abort handling to prepare for Aarch64
Signed-o
arm32: separate ARM32 specific
* ARM32 specific C code is broken out and surrounded by #ifdef ARM32 * Some small architectural changes in thread and abort handling to prepare for Aarch64
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 61ea19fd | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: update types to be 64bit ready
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| 98e62d7c | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: rename LOCK and UNLOCK
Renames defines LOCK and UNLOCK to SPINLOCK_LOCK and SPINLOCK_UNLOCK respectively. The definitions are also moved to tz_proc.h.
Signed-off-by: Jens Wiklander <jens.wik
arm32: rename LOCK and UNLOCK
Renames defines LOCK and UNLOCK to SPINLOCK_LOCK and SPINLOCK_UNLOCK respectively. The definitions are also moved to tz_proc.h.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 851aa858 | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Fix some 64bit printf warnings
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| 0d711d82 | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: dynamic user va range
core_mmu_get_user_va_range() selects user va range. No change in user TA va address when configured with V7 MMU tables.
When configured with LPAE only use TTBR0. The to
arm32: dynamic user va range
core_mmu_get_user_va_range() selects user va range. No change in user TA va address when configured with V7 MMU tables.
When configured with LPAE only use TTBR0. The top L0 table is CPU specific with all entries common except one which is used when mapping user TAs. User TA va range is dependent on the first unused L0 entry.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 7f74c64a | 01-Apr-2015 |
Pascal Brand <pascal.brand@st.com> |
Update ABI-32bits and v1.1 uint32_t changes
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pasc
Update ABI-32bits and v1.1 uint32_t changes
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 ...
|
| ae38eb1f | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: manage stack unwinding in thread module
Renames tee_svc_enter_user_mode() and tee_svc_unwind_enter_user_mode() to thread_enter_user_mode() and thread_unwind_user_mode() respectively. The func
arm32: manage stack unwinding in thread module
Renames tee_svc_enter_user_mode() and tee_svc_unwind_enter_user_mode() to thread_enter_user_mode() and thread_unwind_user_mode() respectively. The functions are also moved from the tee/arch_svc* group to kernel/thread*.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 1f60363a | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
select base types based on ILP32 and LP64 defines
* Selects base types base on the __ILP32__ and __LP64__ defines * Fixes warnings from change of base types
Signed-off-by: Jens Wiklander <jens.wikl
select base types based on ILP32 and LP64 defines
* Selects base types base on the __ILP32__ and __LP64__ defines * Fixes warnings from change of base types
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 5c550d59 | 19-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
thread_check_canaries: expand assert macro
Expands the ASSERT_STACK_CANARIES in thread_check_canaries() to make it easier to see which in stack the canary is corrupted.
Signed-off-by: Jens Wiklande
thread_check_canaries: expand assert macro
Expands the ASSERT_STACK_CANARIES in thread_check_canaries() to make it easier to see which in stack the canary is corrupted.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|