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

Enable paging for 64-bit vexpress #1575

Merged
merged 13 commits into from
Jun 13, 2017
Merged

Commits on Jun 13, 2017

  1. core: assert against recursive mutex locking

    Adds an assert to check that the thread holding a mutex tries to lock it
    again.
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    439afae View commit details
    Browse the repository at this point in the history
  2. core: REE_FS: avoid deadlock in ree_fs_create()

    ree_fs_close() can't be called in ree_fs_create() cleanup as
    ree_fs_close() tries to acquire the mutex already acquired in
    ree_fs_create(). Copy relevant content from ree_fs_close() instead.
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    f0bb736 View commit details
    Browse the repository at this point in the history
  3. ltc: fix 64-bit warning

    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    8df3474 View commit details
    Browse the repository at this point in the history
  4. core: make 64-bit tlb invalidation inner shareable

    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    7c74bb3 View commit details
    Browse the repository at this point in the history
  5. core: add dsb instructions for tlb invalidation

    Adds DSB instructions needed for correct visibility of TLB
    invalidations.
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    159efbc View commit details
    Browse the repository at this point in the history
  6. core: pager: invalidate tlb when clearing entry

    When clearing an entry in a translation table corresponding TLB entry
    must always be invalidated. With this patch two missing places are
    addressed. This fixes problem in xtest regression suite case 1016.
    
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    4387c26 View commit details
    Browse the repository at this point in the history
  7. core: link script: .bss alignment

    .bss may need a larger alignment than 8. Instead of trying to guess let
    the linker chose it and to avoid having an unaccounted hole before .bss
    set __data_end first thing inside the .bss section. This makes sure that
    the data section is properly padded out when assembling a paged tee.bin.
    
    Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    cc358cc View commit details
    Browse the repository at this point in the history
  8. core: bugfix tee_pager_release_phys()

    Fixes the case where less than a page is to be released by ignoring the
    request.
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    7fd107a View commit details
    Browse the repository at this point in the history
  9. core: 64-bit update release_unused_kernel_stack()

    release_unused_kernel_stack() is called when the pager is enabled when
    the state of a thread is saved in order to release unused stack pages.
    
    Update release_unused_kernel_stack() for 64-bit mode.
    
    Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    a1c791e View commit details
    Browse the repository at this point in the history
  10. core: update 64-bit copy_init from 32-bit version

    Updates the copy_init part in generic_entry_a64.S from
    generic_entry_a32.S
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    f2bdb6d View commit details
    Browse the repository at this point in the history
  11. core: arm: increase emulated SRAM

    Increases emulated TrustZone protected SRAM to 448 kB to increase
    the pager performance especially for 64-bit mode.
    
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    7c930be View commit details
    Browse the repository at this point in the history
  12. plat-vexpress: enable 64-bit paging

    Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (Hikey GP)
    Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Juno AArch64)
    Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP AArch64)
    Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU AArch64)
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    1559b44 View commit details
    Browse the repository at this point in the history
  13. travis: compile QEMU v8 with CFG_WITH_PAGER=y

    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    jenswi-linaro committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    ff3799d View commit details
    Browse the repository at this point in the history