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

Large tee ram va size #1669

Merged
merged 10 commits into from
Aug 29, 2017
Merged

Commits on Aug 29, 2017

  1. core: make tee_mm_vcore cover TEE_RAM only

    Prior to this patch was tee_mm_vcore initialized to cover the complete
    page directories covering TEE_RAM. With this patch tee_mm_vcore will
    only cover TEE_RAM in order to avoid returning unexpected addresses when
    allocating.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    ce13bbb View commit details
    Browse the repository at this point in the history
  2. core: add CORE_MMU_PGDIR_LEVEL

    Adds the define CORE_MMU_PGDIR_LEVEL which indicates the level used for
    page directories.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    c007125 View commit details
    Browse the repository at this point in the history
  3. core: pager: hide tee_pager_tbl_info

    Hides tee_pager_tbl_info and provides new needed functions.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    f09ea43 View commit details
    Browse the repository at this point in the history
  4. core: pager: update tee_pager_add_core_area()

    All failures in tee_pager_add_core_area() are fatal. Replaces return
    code with void and panics on errors instead.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    76be0a1 View commit details
    Browse the repository at this point in the history
  5. core: add MEM_AREA_PAGER_VASPACE

    Adds MEM_AREA_PAGER_VASPACE which is used to create empty translation
    tables as needed for the pager.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    e4e77e2 View commit details
    Browse the repository at this point in the history
  6. core: pager: move some internal functions

    Moves some internal functions inside the pager code to prepare for a
    future commit.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    76a75c2 View commit details
    Browse the repository at this point in the history
  7. core: pager: free pages across multiple areas

    Changes tee_pager_release_phys() to handle freeing a range of pages spanning
    multiple areas.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    eaf1eaf View commit details
    Browse the repository at this point in the history
  8. core: pager: deal with large CFG_TEE_RAM_VA_SIZE

    Deals with CFG_TEE_RAM_VA_SIZE > CORE_MMU_PGDIR_SIZE. This is a special
    problem as the pages managed by the pager then spans several translation
    tables.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    d6fcada View commit details
    Browse the repository at this point in the history
  9. core: plat-vexpress: increase CFG_TEE_RAM_VA_SIZE

    Increases CFG_TEE_RAM_VA_SIZE to 2 MiB for the plat-vexpress platforms.
    
    Reviewed-by: Etienne Carriere <[email protected]>
    Tested-by: Jens Wiklander <[email protected]> (QEMU v7)
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    11c0b0d View commit details
    Browse the repository at this point in the history
  10. core: plat-hikey: increase CFG_TEE_RAM_VA_SIZE

    Increases CFG_TEE_RAM_VA_SIZE to 2 MiB for the plat-hikey platform.
    
    Acked-by: Jerome Forissier <[email protected]>
    Tested-by: Jens Wiklander <[email protected]> (Hikey)
    Signed-off-by: Jens Wiklander <[email protected]>
    jenswi-linaro committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    6516fef View commit details
    Browse the repository at this point in the history