Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tee.bin partitioning #1621

Merged
merged 4 commits into from
Jun 20, 2017
Merged

tee.bin partitioning #1621

merged 4 commits into from
Jun 20, 2017

Commits on Jun 20, 2017

  1. core: arm: use weak symbols to reduce dependency graphs

    Makes functions that need to be excluded from unpaged and init parts of
    the TEE binary weak. When building the dependency graph for init and
    unpaged parts an empty version of those functions (from
    core/arch/arm/kernel/link_dummies.c) are used instead.
    
    Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    bd30eb1 View commit details
    Browse the repository at this point in the history
  2. core: reduce unpaged size

    Reduces unpaged size by excluding __thread_std_smc_entry() from the
    unpaged graph.
    
    Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    62fe53c View commit details
    Browse the repository at this point in the history
  3. core: reduce init size

    Dramatically reduces init size by excluding __wq_rpc() from the init
    graph. Without __wq_rpc() in the init grapth, the entire LibTomCrypt is
    removed for the init graph.
    
    Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v8 pager)
    Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    53caecc View commit details
    Browse the repository at this point in the history
  4. core: arm64: bugfix invalidate touched init memory

    The entire range of memory touched during init need to be invalidated in
    the caches before enabling the caches.
    
    Prior to this patch with CFG_WITH_PAGER=y the caches where only
    invalidated until __init_end which isn't enough, memory up to
    __tmp_hashes_end is actually touched. With this patch the range is
    increased to __tmp_hashes_end which is the same as is used in the arm32
    code.
    
    Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey 32/64)
    Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
    Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Hikey 64-bit pager)
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 20, 2017
    Configuration menu
    Copy the full SHA
    6a71639 View commit details
    Browse the repository at this point in the history