| 2c276d68 | 08-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
"Core Status" service on malloc
- Gets teecore heap info. - Enabled only on CFG_TEE_FW_DEBUG != 0. - Update dirty tests - Reset max allocated size after malloc dirty tests. |
| d1aea08f | 10-Sep-2014 |
SY Chiu <sy.chiu@linaro.org> |
Implemented wait in normal world
Instead of busy waiting in secure world, it is more efficient to wait in normal world such that HLOS can schedule another task to execute while waiting
- Added a ne
Implemented wait in normal world
Instead of busy waiting in secure world, it is more efficient to wait in normal world such that HLOS can schedule another task to execute while waiting
- Added a new RPC command to wait in linux driver - Remove wait_specific() hook in time_source, it seems can be a generic function. - This patch depends on "Implemented wait in normal world" in optee_linuxdrver
show more ...
|
| 177386fe | 12-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Generic secure time layer
Provided a time source api in order to let soc vendors implement their own secure counter
- Moved platform-dependent code out of tee_time.c to make it a generic time lay
Generic secure time layer
Provided a time source api in order to let soc vendors implement their own secure counter
- Moved platform-dependent code out of tee_time.c to make it a generic time layer. - Added an abstract layer for platforms to implement their own secure time source. - Implemented arm cntpct as one of secure time source. - Moved rtt0 related time operation from tee_time.c to tee_time_rtt.c, act as another secure time source. - Added tee_time_ree.c for the plaform that doesn't have secure time source. In this case, using ree time as secure time source.
show more ...
|
| c3c7db16 | 10-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix TA build error
This fixes a bug introduced by commit 4334e8d. In ta_dev_kit.mk, out-dir must be set to '.' and not left empty when output directory (O=) is not specified. Otherwise, when buildin
Fix TA build error
This fixes a bug introduced by commit 4334e8d. In ta_dev_kit.mk, out-dir must be set to '.' and not left empty when output directory (O=) is not specified. Otherwise, when building a trusted app, the compile rule will have an unwanted leading slash (result from the expansion of $(out-dir)/$(...) in compile.mk). Error is:
make[1]: Entering directory `/home/jerome/tmp/lcu14_optee_hello_world/ta' CC /hello_world_ta.o hello_world_ta.c:101:1: fatal error: opening dependency file /.hello_world_ta.o.d: Permission denied } ^ compilation terminated.
show more ...
|
| 8844ebfc | 02-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix #6323: A failing RSA decode leads to panic
Change-Id: Ia4762f076922338f280d431f104b653e731bf64f Reviewed-on: https://gerrit.st.com/11598 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.
Fix #6323: A failing RSA decode leads to panic
Change-Id: Ia4762f076922338f280d431f104b653e731bf64f Reviewed-on: https://gerrit.st.com/11598 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jocelyn RICARD <jocelyn.ricard@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com>
Update wrt comments from review
Fix returned error when the mode is not ok
show more ...
|
| c2997885 | 02-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix #6294: Full HW Random Generator
Change-Id: I9babada92991c646d844a25af175150d530a8ddb Reviewed-on: https://gerrit.st.com/11597 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested
Fix #6294: Full HW Random Generator
Change-Id: I9babada92991c646d844a25af175150d530a8ddb Reviewed-on: https://gerrit.st.com/11597 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Reviewed-by: Jocelyn RICARD <jocelyn.ricard@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com>
Conflicts: core/arch/st231/plat-stm/rng_support.c
show more ...
|
| 4334e8d7 | 08-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Makefile variables $(*-dir) should not have a trailing slash
As a general rule, Makefile variables that are directories should not have a trailing slash, and should be used as: $(some-dir)/some-file
Makefile variables $(*-dir) should not have a trailing slash
As a general rule, Makefile variables that are directories should not have a trailing slash, and should be used as: $(some-dir)/some-file rather than $(some-dir)some-file. This is more readable.
show more ...
|
| 0b7032c4 | 08-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Make license terms more explicit
It fixes #37 "README.md is unclear about license" |
| 31cf38ec | 05-Sep-2014 |
Joakim Bech <joakim.bech@linaro.org> |
MMU: Simplify tee_mmu_switch function
Replaced direct CP15 instructions with macros instead and removed some unnecessary code. |
| f32550ee | 14-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add documentation for ARM Trusted Firmware
Adds documentation how to compile and run with ARM Trusted Firmware. |
| 7598956d | 02-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Updates for ARM Trusted Firmware tag v1.0
* New load address for plat-vexpress,fvp * Entry vector extended with system_off and system_reset entries |
| 0047cb63 | 01-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Cosmetic fixes for build output
By default, the OP-TEE build shows abbreviated output similar to the Linux kernel. This commit fixes a number of deviations/inconsistencies.
- Always print a command
Cosmetic fixes for build output
By default, the OP-TEE build shows abbreviated output similar to the Linux kernel. This commit fixes a number of deviations/inconsistencies.
- Always print a command in uppercase, followed by the target file. - Make sure commands and file paths are nicely aligned, with two leading spaces to make command output/errors better stand out. - Remove some duplicate slashes in file paths. We use the following rule: variables that hold directory names such as $(arch-dir) or $(platform-dir) always have a trailing slash. The 'subdirs' and 'incdirs' variables used in sub-makefiles are an exception because doing otherwise would needlessly clutter the sub-makefiles.
show more ...
|
| 92542a71 | 29-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
plat-orly2 and plat-cannes merged in plat-stm
PLATFORM_FLAVOR is used to distinguish orly2 and cannes
Change-Id: Iaed89451f704120e29b0b0adb83627f11bf9df48 |
| f1c74b4b | 20-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Reentrancy fixes
Before this patch: The normal world was only allowed to enter secure world with one thread at a time.
After this patch: The normal world may try to enter secure world with as many
Reentrancy fixes
Before this patch: The normal world was only allowed to enter secure world with one thread at a time.
After this patch: The normal world may try to enter secure world with as many threads as it likes, secure world will return busy when no more threads can be allowed. Secure world still only allows one active thread at a time, but during RPC another thread may enter and do some work. This is needed for cancellation to work.
* Adds a mutex that waits in normal world if busy * Adds a new RPC service to wait in normal world * Imports bitstring.h from FreeBSD to aid mutex implementation * Adds a critical section in tee_ta_init_session * Unmaps TA before RPC exit and maps it again on return to handle rescheduling of threads during RPC * Doesn't clear a1-a3 when returning busy * Bugfixes vector_std_smc_entry
This patch depends on the "Allow parallel entries to secure world" patch in optee_linuxdriver.
show more ...
|
| 35dd2843 | 27-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Make more common implementation of orly2 and cannes platforms
This will prepare PLAT_FLAVOR of orly2 / cannes |
| 2ff3fdbb | 29-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
TEE_ROUNDxxx renamed in ROUNDxxx in libutee
This change is to have the same macro names in core part and libutee part |
| 6b050c9f | 28-Aug-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
tee_acipher_rsadorep: fix handling of zero-padding in output
- Always remove leading null bytes in output buffer (previously this was done only for PK_PRIVATE keys) - Leave one null byte when rsa_ex
tee_acipher_rsadorep: fix handling of zero-padding in output
- Always remove leading null bytes in output buffer (previously this was done only for PK_PRIVATE keys) - Leave one null byte when rsa_exptmod() output is all zeroes (do not return an empty buffer) - Fix output buffer length check (take padding into account)
show more ...
|
| a17acc4c | 27-Aug-2014 |
Sabrina Ni <sabrina.ni@linaro.org> |
Create util.h to rearrange define macro |
| 4a429f53 | 27-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Cannes / H410 support
Support STMicroelectronics chip H410 "cannes". Is compiled using PLATFORM=cannes make |
| 55d3ebe9 | 22-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
Cleanup |
| 647f9c76 | 21-Aug-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Get value of gpd.tee.arith.maxBigIntSize from libutee
The property gpd.tee.arith.maxBigIntSize was implemented in TEE core by tee_svc_sys_get_property() which was returning a constant taken from the
Get value of gpd.tee.arith.maxBigIntSize from libutee
The property gpd.tee.arith.maxBigIntSize was implemented in TEE core by tee_svc_sys_get_property() which was returning a constant taken from the crypto module (LTC_MAX_BITS_PER_VARIABLE / 2). The correct value is TEE_MAX_NUMBER_OF_SUPPORTED_BITS from libutee. This commit makes libutee return the appropriate value directly (without calling the TEE core) and deletes the property from the syscall. Additionally, this removes the unjustified dependency of tee_svc.c on <tee_ltc_wrapper.h>.
show more ...
|
| e7d09f8a | 21-Aug-2014 |
Etienne Carriere <etienne.carriere@st.com> |
enable_mmu functions renamed in cpu_enable_mmu |
| 2cb1e0d0 | 15-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Bugfix TA dev kit
* Small bugfixes to bring the mk-files for TA dev kit up to date. * Compile TAs with -fpie * Add fix_ta_binary to fix the absolute relocation issue in TA header |
| a4e6c404 | 15-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Add a flag to turn on/off PSCI debug msg |
| 53bd332a | 11-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Add GIC status dump utility
- fixed fvp gic cpu interface and distrubtor offset - added new mapping for distrubtor - add utility to dump gic status |