| 12936033 | 11-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: FS: remove unused legacy RPC functions
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 5799c048 | 12-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: SQL FS: use new RPC transaction functions
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| de564096 | 11-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: SQL FS: use new RPC rename function
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 0c51ac2b | 11-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: FS: simplify FOP create
As the FOP create always is called with the overwrite flag it can be simplified. This makes the implementation of create much easier.
Reviewed-by: Etienne Carriere <et
core: FS: simplify FOP create
As the FOP create always is called with the overwrite flag it can be simplified. This makes the implementation of create much easier.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| add9b3e3 | 08-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: fix virt2phys conversion before core main inits
Before this change, virtual-to-physical address conversion with pager enable was corrupted until TEE executes its main inits. This change allow
core: fix virt2phys conversion before core main inits
Before this change, virtual-to-physical address conversion with pager enable was corrupted until TEE executes its main inits. This change allow v2p conversion in the TEE RAM during core early inits.
Debug mode is a configuration where v2p are done before core main inits.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (QEMU, b2260) Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU)
show more ...
|
| 06d858d5 | 07-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: REE FS: drop struct block
Drops struct block to keep a buffer to use the same approach as in SQL FS.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Jens Wiklander <jen
core: REE FS: drop struct block
Drops struct block to keep a buffer to use the same approach as in SQL FS.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 5347d6f9 | 07-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: REE FS: remove block cache
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 36d5a313 | 26-Oct-2016 |
Philip Attfield <opensource@sequiturlabs.com> |
mm: use paddr_t to support both 32- and 64-bit arch
Adjust low and high parameter and pool entry type to accurately reflect architectural sizes and additionally, correct other related uses of uint32
mm: use paddr_t to support both 32- and 64-bit arch
Adjust low and high parameter and pool entry type to accurately reflect architectural sizes and additionally, correct other related uses of uint32_t that should be paddr_t.
Signed-off-by: Philip Attfield <opensource@sequiturlabs.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| bae69ec4 | 07-Nov-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
travis: remove CFG_FS_BLOCK_CACHE
Acked-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 361fb3e3 | 06-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: REE FS: use a single file per object
Prior to this commit each persistent object was represented by a directory with several files. With this commit each persistent object is represented by a
core: REE FS: use a single file per object
Prior to this commit each persistent object was represented by a directory with several files. With this commit each persistent object is represented by a single file instead to simplify the implementation.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 68540524 | 02-Nov-2016 |
Igor Opaniuk <igor.opaniuk@linaro.org> |
core/libutee: perform cleanup for magic "4"
Perform cleanup for magic "4" constant that represents amount of tee params
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Etienne Ca
core/libutee: perform cleanup for magic "4"
Perform cleanup for magic "4" constant that represents amount of tee params
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 318ba574 | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: beautify CFG_BOOT_SYNC_CPU in generic_entry_a32.S
convert cpu_is_ready(), wait_primary(), wait_secondary() into marcos. Prevents dummy empty routines when CFG_BOOT_SYNC_CPU is not set.
Signed
core: beautify CFG_BOOT_SYNC_CPU in generic_entry_a32.S
convert cpu_is_ready(), wait_primary(), wait_secondary() into marcos. Prevents dummy empty routines when CFG_BOOT_SYNC_CPU is not set.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| 5a977961 | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm: define default configuration when pager is enable
plat-stm can optionally build with CFG_WITH_PAGER=y. Pager RAM is defined from CFG_CORE_TZSRAM_EMUL_START and CFG_CORE_TZSRAM_EMUL_SIZE.
plat-stm: define default configuration when pager is enable
plat-stm can optionally build with CFG_WITH_PAGER=y. Pager RAM is defined from CFG_CORE_TZSRAM_EMUL_START and CFG_CORE_TZSRAM_EMUL_SIZE.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| fa409324 | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: beautify generic_entry_a32.S
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere
core: beautify generic_entry_a32.S
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| 8988e834 | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: fix generic ARMv7/AArch32 boot against SMP
This change flushes cache before primary releases secondary core to insure they find the right data in memory.
Case CFG_PL310_LOCK: wait all seconda
core: fix generic ARMv7/AArch32 boot against SMP
This change flushes cache before primary releases secondary core to insure they find the right data in memory.
Case CFG_PL310_LOCK: wait all secondary cores have completed their inits before locking PL310 lines.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| 8d83f6e4 | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: fix generic ARMv7/AArch32 boot against PL310
Follow ARM recommendation for PL310 outer cache maintenance. - caches invalidate: invalidate L2 then L1. - caches flush: clean L1 then flush L2, th
core: fix generic ARMv7/AArch32 boot against PL310
Follow ARM recommendation for PL310 outer cache maintenance. - caches invalidate: invalidate L2 then L1. - caches flush: clean L1 then flush L2, then flush L1.
To ease main sequence, define macros of cache operations.
inval/flush_cache_vrange() with PL310 in early boot requires va=pa.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| f587be8f | 02-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: fix pager against SMP on non A-TF booted op-tee
plat_cpu_reset_late() must be moved to the unpaged sections. It is called by secondary core when entering core after primary core inits are done
core: fix pager against SMP on non A-TF booted op-tee
plat_cpu_reset_late() must be moved to the unpaged sections. It is called by secondary core when entering core after primary core inits are done, hence 'init' section may have been unmapped.
Cleanup: move plat_cpu_reset_early/_late() out of generic_entry_a32.S.
Change CFG_PL310_LOCKED sequence: flush content instead of rude full invalidation. This is required since core inits may write outside TEE RAM and PL310 must not discard new content.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (b2260)
show more ...
|
| fe839766 | 04-Nov-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm: fix flavor 'cannes'
Fixes: 8cd89706f19c ("plat-stm: beautify platform config")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@l
plat-stm: fix flavor 'cannes'
Fixes: 8cd89706f19c ("plat-stm: beautify platform config")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 1c93c2b5 | 03-Nov-2016 |
Igor Opaniuk <igor.opaniuk@linaro.org> |
scripts: add wrapper script for checkpatch
Add auxilary wrapper for convenient check of commit/ changes in staging area/multiple commits with checkpatch.pl Put common functions for .travis.yml and c
scripts: add wrapper script for checkpatch
Add auxilary wrapper for convenient check of commit/ changes in staging area/multiple commits with checkpatch.pl Put common functions for .travis.yml and checkpatch.sh into a separate file
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 01422c42 | 02-Nov-2016 |
Volodymyr Babchuk <vlad.babchuk@gmail.com> |
core_mmu.h: align comments with code
Comment mentions MEM_AREA_NS_SHM which does not exists. Instead there are MEM_AREA_NSEC_SHM. Also there was different order of memory areas in comment and in enu
core_mmu.h: align comments with code
Comment mentions MEM_AREA_NS_SHM which does not exists. Instead there are MEM_AREA_NSEC_SHM. Also there was different order of memory areas in comment and in enum definition.
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 40df87c3 | 27-Oct-2016 |
Igor Opaniuk <igor.opaniuk@linaro.org> |
doc: update README.md, add info about VirtFS
Add info about using VirtFS folder sharing feature in QEMU/QEMUv8
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Joakim Bech <joakim
doc: update README.md, add info about VirtFS
Add info about using VirtFS folder sharing feature in QEMU/QEMUv8
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| bef37b8b | 31-Oct-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
mk/checkconf.mk: allow spaces and double quotes in CFG_ config variables
Fixes issues with the check-conf-h and check-conf-mk functions, which would error out or generate incorrect output on strings
mk/checkconf.mk: allow spaces and double quotes in CFG_ config variables
Fixes issues with the check-conf-h and check-conf-mk functions, which would error out or generate incorrect output on strings containing spaces and/or double quotes.
The single quote character is used in the shell commands that builds the list of values, instead of the double quote, so that there is no conflict with double quotes appearing in the variables themselves. As a consequence, single quotes cannot appear anywhere in the output string. So remove the comments that contained quotes, and which were not that useful anyway.
Test case:
$ grep CFG_TEST core/arch/arm/plat-vexpress/conf.mk CFG_TEST1 ?= "test string" CFG_TEST2 ?= test string CFG_TEST3 ?= "test" CFG_TEST4 ?= test $ make -s $ grep CFG_TEST out/arm-plat-vexpress/conf.mk CFG_TEST1="test string" CFG_TEST2=test string CFG_TEST3="test" CFG_TEST4=test $ grep CFG_TEST out/arm-plat-vexpress/include/generated/conf.h #define CFG_TEST1 "test string" #define CFG_TEST2 test string #define CFG_TEST3 "test" #define CFG_TEST4 test
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Zeng Tao <prime.zeng@hisilicon.com>
show more ...
|
| ca9244a4 | 28-Oct-2016 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: TA private memory does not include the memref parameters
This change limits ta_private_vmem_end to TA segments defined when TA is loaded.
Currently 'ta_private_vmem_end' only used to prevent
core: TA private memory does not include the memref parameters
This change limits ta_private_vmem_end to TA segments defined when TA is loaded.
Currently 'ta_private_vmem_end' only used to prevent a TA from exposing its code/data/stack memory to another TA it invokes. A shared memory buffer passed as TA invocation parameter is obviously not inside the TA private memory an can be exposed to another TA.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (qemu, GP tests)
show more ...
|
| 15c0538d | 26-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: SQL FS: use new RPC directory functions
Uses the new RPC functions for directory listings instead of the old legacy version.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested
core: SQL FS: use new RPC directory functions
Uses the new RPC functions for directory listings instead of the old legacy version.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 04fbc7fc | 26-Oct-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: REE FS: use new RPC directory functions
Uses the new RPC functions for directory listings instead of the old legacy version.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed
core: REE FS: use new RPC directory functions
Uses the new RPC functions for directory listings instead of the old legacy version.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|