1. 12 Dec, 2019 1 commit
    • Manish Pandey's avatar
      PIE: make call to GDT relocation fixup generalized · da90359b
      Manish Pandey authored
      When a Firmware is complied as Position Independent Executable it needs
      to request GDT fixup by passing size of the memory region to
      el3_entrypoint_common macro.
      The Global descriptor table fixup will be done early on during cold boot
      process of primary core.
      
      Currently only BL31 supports PIE, but in future when BL2_AT_EL3 will be
      compiled as PIE, it can simply pass fixup size to the common el3
      entrypoint macro to fixup GDT.
      
      The reason for this patch was to overcome the bug introduced by SHA
      330ead80
      
       which called fixup routine for each core causing
      re-initializing of global pointers thus overwriting any changes
      done by the previous core.
      
      Change-Id: I55c792cc3ea9e7eef34c2e4653afd04572c4f055
      Signed-off-by: default avatarManish Pandey <manish.pandey2@arm.com>
      da90359b
  2. 04 Dec, 2019 5 commits
  3. 03 Dec, 2019 7 commits
    • Justin Chadwell's avatar
      Remove -Wunused-const-variable warning · 4960ef30
      Justin Chadwell authored
      
      
      -Wunused-const-variable=1 is already included by -Wunused-variable,
      which is part of -Wall. -Wunused-const-variable=2, which is what we have
      been using as part of W=1, warns for unused static const variables in
      headers, which will likely produce a lot of false positives that will
      take a large effort to fix.
      
      Additionally, some of these issues may be caused by different builds of
      TF-A where some features are used in some builds and ignored in others.
      
      Change-Id: Ifa0b16a75344cc1f6240e8d5745005f8f2046d34
      Signed-off-by: default avatarJustin Chadwell <justin.chadwell@arm.com>
      4960ef30
    • Manish Pandey's avatar
      87b582ef
    • Manish Pandey's avatar
      f67a2977
    • Manish Pandey's avatar
    • Manish Pandey's avatar
      1c5f90fb
    • Manish Pandey's avatar
      Merge "plat/rockchip: initialize reset and poweroff GPIOs with known invalid... · 45d46115
      Manish Pandey authored
      Merge "plat/rockchip: initialize reset and poweroff GPIOs with known invalid value" into integration
      45d46115
    • Sandrine Bailleux's avatar
      Merge changes from topic "tegra-downstream-092319" into integration · 530a5cbc
      Sandrine Bailleux authored
      * changes:
        Tegra194: add support to reset GPU
        Tegra194: memctrl: fix logic to check TZDRAM config register access
        Tegra: introduce plat_enable_console()
        Tegra: include: drivers: introduce spe.h
        Tegra194: update nvg header to v6.4
        Tegra194: mce: enable strict checking
        Tegra194: CC6 state from last offline CPU in the cluster
        Tegra194: console driver compilation from platform makefiles
        Tegra194: memctrl: platform handler for TZDRAM setup
        Tegra194: memctrl: override SE client as coherent
        Tegra194: save system suspend entry marker to TZDRAM
        Tegra194: helper functions for CPU rst handler and SMMU ctx offset
        Tegra194: cleanup references to Tegra186
        Tegra194: mce: display NVG header version during boot
        Tegra194: mce: fix cg_cstate encoding format
        Tegra194: drivers: SE and RNG1/PKA1 context save support
        Tegra194: rename secure scratch register macros
        Tegra194: SiP: Fix Rule 8.4 and Rule 10.4 violation
        Tegra194: mce: remove unsupported functionality
        Tegra194: sanity check target cluster during core power on
        Tegra194: fix defects flagged by MISRA scan
        Tegra194: mce: fix defects flagged by MISRA scan
        Tegra194: remove the GPU reset register macro
        Tegra194: MC registers to allow CPU accesses to TZRAM
        Tegra194: increase MAX_MMAP_REGIONS macro value
        Tegra194: update nvg header to v6.1
        Tegra194: update cache operations supported by the ROC
        Tegra194: memctrl: platform handlers to reprogram MSS
        Tegra194: core and cluster count values
        Tegra194: correct the TEGRA_CAR_RESET_BASE macro value
        Tegra194: add MC_SECURITY mask defines
        Tegra194: Update wake mask, wake time for cpu offlining
        Tegra194: program stream ids for XUSB
        Tegra194: Update checks for c-state stats
        Tegra194: smmu: fix mask for board revision id
        Tegra194: smmu: ISO support
        Tegra194: Initialize smmu on system suspend exit
        Tegra194: Update cpu core-id calculation
        Tegra194: read-modify-write ACTLR_ELx registers
        Tegra194: Enable fake system suspend
        Tegra194: convert 'target_cpu' and 'target_cluster' to 32-bits
        Tegra194: platform support for memctrl/smmu drivers
        Tegra194: Support for cpu suspend
      530a5cbc
  4. 02 Dec, 2019 1 commit
    • zelalem-aweke's avatar
      Enable Link Time Optimization in GCC · edbce9aa
      zelalem-aweke authored
      
      
      This patch enables LTO for TF-A when compiled with GCC.
      LTO is disabled by default and is enabled by
      ENABLE_LTO=1 build option.
      
      LTO is enabled only for aarch64 as there seem to be
      a bug in the aarch32 compiler when LTO is enabled.
      
      The changes in the makefiles include:
      - Adding -flto and associated flags to enable LTO.
      - Using gcc as a wrapper at link time instead of ld.
        This is recommended when using LTO as gcc internally
        takes care of invoking the necessary plugins for LTO.
      - Adding switches to pass options to ld.
      - Adding a flag to disable fix for erratum cortex-a53-843419
        unless explicitly enabled. This is needed because GCC
        seem to automatically add the erratum fix when used
        as a wrapper for LD.
      
      Additionally, this patch updates the TF-A user guide with
      the new build option.
      Signed-off-by: default avatarzelalem-aweke <zelalem.aweke@arm.com>
      Change-Id: I1188c11974da98434b7dc9344e058cd1eacf5468
      edbce9aa
  5. 29 Nov, 2019 1 commit
  6. 28 Nov, 2019 25 commits