1. 18 Aug, 2022 1 commit
  2. 02 Aug, 2022 3 commits
    • Manoj Kumar's avatar
      fix(morello): avoid capability tag fault on data access · cdb585fb
      Manoj Kumar authored
      TF-A runtime service at EL3 switches the stack pointer from SP_EL3
      to SP_EL0. This creates a capability tag fault when the DDC_EL0 is
      zeroed out (purecap user space) as any data accesses computes
      tag/permission with DDC_EL0 value when SpSel is 0 and when EL3 is
      in hybrid mode.
      As a workaround, this patch creates a per cpu context variable
      to store DDC_EL0 value so that when EL3 runtime is entered DDC_EL0
      is saved on to stack. DDC_EL3 is then copied into DDC_EL0 after
      switching SP to SP_EL0. Once the runtime finishes, during el3_exit,
      the saved DDC_EL0 is restored from stack.
      Signed-off-by: default avatarSelvarasu Ganesan <selvarasu.ganesan@arm.com>
      Signed-off-by: Manoj Kumar's avatarManoj Kumar <manoj.kumar3@arm.com>
      Change-Id: I4e4010f0e20913cb4e35b58fb49a177bdf26feb1
    • Manoj Kumar's avatar
      feat(morello): add capability load/store/track support to MMU · 14365679
      Manoj Kumar authored
      Morello architecture adds additional bits to TCR_EL3 and uses the
      HWU bits of page/block descriptors to provision permission for
      loading, storing and tracking of valid capability tags.
      This patch reserves bit 31 of the existing translation table
      attribute field which can be used by the user to enable capability
      load/store/track permission for a given memory region.
      This patch also enables this permission for BL31 region.
      Signed-off-by: Manoj Kumar's avatarManoj Kumar <manoj.kumar3@arm.com>
      Change-Id: I1939c70aac3585969d74b0956529681e840d6f63
    • Deepak Pandey's avatar
      Merge branch 'merge-upstream-29072022' into 'morello/master' · 1f06ddd1
      Deepak Pandey authored
      Rebase with TrustedFirmware-A master branch
      See merge request !18
  3. 29 Jul, 2022 1 commit
  4. 27 Jul, 2022 2 commits
  5. 26 Jul, 2022 2 commits
  6. 25 Jul, 2022 7 commits
  7. 22 Jul, 2022 4 commits
  8. 21 Jul, 2022 7 commits
  9. 20 Jul, 2022 4 commits
  10. 19 Jul, 2022 7 commits
  11. 18 Jul, 2022 2 commits