1. 11 Apr, 2019 5 commits
  2. 10 Apr, 2019 2 commits
  3. 09 Apr, 2019 6 commits
  4. 08 Apr, 2019 8 commits
    • Antonio Niño Díaz's avatar
      Merge changes from topic "jh/cotdesc" into integration · 999adb94
      Antonio Niño Díaz authored
      * changes:
        Document changes to auth-framework
        cot-desc: optimise memory further
        Reduce memory needed for CoT description
      999adb94
    • Alexei Fedorov's avatar
      Add support for Cortex-A76AE CPU · 9ccc5a57
      Alexei Fedorov authored
      
      
      Change-Id: I0a81f4ea94d41245cd5150de341b51fc70babffe
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      9ccc5a57
    • Joel Hutton's avatar
      Document changes to auth-framework · 699475ac
      Joel Hutton authored
      
      
      The data structures in the auth-framework were changed by the previous
      patch, and need to be updated.
      
      Change-Id: Icfad2ac688d03d32aa93e45f930a375abbc164a9
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      699475ac
    • Joel Hutton's avatar
      cot-desc: optimise memory further · 30070427
      Joel Hutton authored
      
      
      This changes the auth_img_desc_t struct to have pointers to struct
      arrays instead of struct arrays. This saves memory as many of these
      were never used, and can be NULL pointers. Note the memory savings are
      only when these arrays are not initialised, as it is assumed these
      arrays are fixed length. A possible future optimisation could allow for
      variable length.
      
      memory diff:
      bl1:        bl2:
          text        text
            -12         -12
          bss         bss
            -1463       0
          data        data
            -56         -48
          rodata      rodata
            -5688       -2592
          total       total
            -7419       -2652
      
      Change-Id: I8f9bdedf75048b8867f40c56381e3a6dc6402bcc
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      30070427
    • Joel Hutton's avatar
      Reduce memory needed for CoT description · 0b6377d1
      Joel Hutton authored
      
      
      When Trusted Board Boot is enabled, we need to specify the Chain of
      Trust (CoT) of the BL1 and BL2 images. A CoT consists of an array
      of image descriptors. The authentication module assumes that each
      image descriptor in this array is indexed by its unique image
      identifier. For example, the Trusted Boot Firmware Certificate has to
      be at index [TRUSTED_BOOT_FW_CERT_ID].
      
      Unique image identifiers may not necessarily be consecutive. Also,
      a given BL image might not use all image descriptors. For example, BL1
      does not need any of the descriptors related to BL31. As a result, the
      CoT array might contain holes, which unnecessarily takes up space in
      the BL binary.
      
      Using pointers to auth_img_desc_t structs (rather than structs
      themselves) means these unused elements only use 1 pointer worth of
      space, rather than one struct worth of space. This patch also changes
      the code which accesses this array to reflect the change to pointers.
      
      Image descriptors not needed in BL1 or BL2 respectively are also
      ifdef'd out in this patch. For example, verifying the BL31 image is
      the responsibility of BL2 so BL1 does not need any of the data
      structures describing BL31.
      
      memory diff:
      bl1:        bl2:
          text        text
            -20         -20
          bss         bss
            -1463       0
          data        data
            -256        -48
          rodata      rodata
            -5240       -1952
          total       total
            -6979       -2020
      
      Change-Id: I163668b174dc2b9bbb183acec817f2126864aaad
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      0b6377d1
    • Antonio Niño Díaz's avatar
    • Heiko Stuebner's avatar
      cpus: Fix Cortex-A12 MIDR mask · 8785a7cf
      Heiko Stuebner authored
      
      
      The Cortex-A12's primary part number is 0xC0D not 0xC0C, so
      fix that to make the A12's cpu operations findable.
      
      Change-Id: I4440a039cd57a2fe425fd8a8ec5499ca8e895e31
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      8785a7cf
    • Jacky Bai's avatar
      plat: imx8m: remove deprecated code include · 43c733b1
      Jacky Bai authored
      
      
      The 'drivers/console/aarch64/console.S' is not needed,
      so remove it from build to fix the build error when
      'ERROR_DEPRECATED'set.
      
      Change-Id: Id047a355f82fd33298b7e2b49eff289d28eb5b56
      Signed-off-by: default avatarJacky Bai <ping.bai@nxp.com>
      43c733b1
  5. 05 Apr, 2019 3 commits
    • Alexei Fedorov's avatar
      Fix restoration of PAuth context · 050136d4
      Alexei Fedorov authored
      
      
      Replace call to pauth_context_save() with pauth_context_restore()
      in case of unknown SMC call.
      
      Change-Id: Ib863d979faa7831052b33e8ac73913e2f661f9a0
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      050136d4
    • Manish Pandey's avatar
      aarch32: Allow compiling with soft-float toolchain · fbd8f6c8
      Manish Pandey authored
      
      
      ARMv7 and Cortex-A32(ARMv8/aarch32) uses "arm-linux-gnueabi" toolchain which
      has both soft-float and hard-float variants and so there could be scenarios
      where soft-float toolchain is used.Even though TF-A documentation recommends
      to use hard-float toolchain for aarch32 but there are external projects where
      we cannot mandate the selection of toolchain and for those projects at least
      the build should not fail.
      
      Current TF-A source fails to build with soft-float toolchain because assembler
      does not recognizes "vmsr" instruction which is required to enable floating
      point unit.
      
      To avoid this piece of code being compiled with soft-float toolchain add
      predefined macro guard " __SOFTFP__" exposed by soft-float toolchain.
      
      Change-Id: I76ba40906a8d622dcd476dd36ab4d277a925996c
      Signed-off-by: default avatarManish Pandey <manish.pandey2@arm.com>
      fbd8f6c8
    • Paul Beesley's avatar
      doc: Fix heading levels for changelog · c48991e1
      Paul Beesley authored
      
      
      The change-log.rst file does not use the same symbols
      as the other documents when organising its headings,
      sub-headings and so on. In order to compile these
      documents together with Sphinx, forming a top-level
      index and a consistent structure, it is necessary to
      normalise these.
      
      Change-Id: Ib4620ff03a9e76fec9e36e95549016c7b3fe12bb
      Signed-off-by: default avatarPaul Beesley <paul.beesley@arm.com>
      c48991e1
  6. 04 Apr, 2019 1 commit
  7. 03 Apr, 2019 12 commits
  8. 02 Apr, 2019 3 commits