1. 30 Apr, 2019 1 commit
  2. 17 Apr, 2019 3 commits
  3. 16 Apr, 2019 1 commit
  4. 12 Apr, 2019 9 commits
  5. 11 Apr, 2019 11 commits
  6. 10 Apr, 2019 3 commits
    • Wei Yu's avatar
      hikey960: Fix race condition between hotplug and idles · 7d76df7d
      Wei Yu authored
      
      
      From the hotplug testing on Hikey960, in some case cores fail to become
      online in the system. When some cores are hotplugged off, if other
      cores in the same cluster enter into CPU idle states at the meantime,
      the cluster will be powered off. This introduces the state machine
      malfunction in the power controller, thus when hotplug on the core
      afterwards, it fails to boot up the core because the power controller
      thinks the cluster is powered on.
      
      This patch is to avoid race condition between hotplug and idles by
      preventing cluster power off when some of cores in the cluster are
      hotplugged off, if all cores in the same cluster are hotplugged off,
      the cluster can be powered off.
      
      Change-Id: Ib2feeb093357c70409a3536cb4f9da9b504fdcbe
      Signed-off-by: default avatarWei Yu <yuwei3@hisilicon.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      7d76df7d
    • Joel Hutton's avatar
      cache_helpers.s:fix mixed tabs and spaces · c554e1ad
      Joel Hutton authored
      
      
      Change-Id: I8b7c7888d09200410e1a1c11a070c94dd8013ea7
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      c554e1ad
    • Joel Hutton's avatar
      Add note about erratum 814220 for A7 · f999faca
      Joel Hutton authored
      
      
      On Cortex-A7 an L2 set/way cache maintenance operation can overtake
      an L1 set/way cache maintenance operation. The mitigation for this is
      to use a `DSB` instruction before changing cache. The cache cleaning
      code happens to already be doing this, so only a comment was added.
      
      Change-Id: Ia1ffb8ca8b6bbbba422ed6f6818671ef9fe02d90
      Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
      f999faca
  7. 09 Apr, 2019 6 commits
  8. 08 Apr, 2019 6 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