1. 25 Aug, 2020 5 commits
    • Madhukar Pappireddy's avatar
      Merge changes from topic "tegra194-spmd" into integration · 3e1e08b7
      Madhukar Pappireddy authored
      * changes:
        Tegra194: introduce support for `SPD=spmd`
        Tegra: introduce backend support to compile libfdt
        Tegra: disable signed comparison
        plat: common: include "bl_common.h" from plat_spmd_manifest.c
      3e1e08b7
    • Varun Wadekar's avatar
      Merge changes from topic "tegra-downstream-07092020" into integration · 0d5caf95
      Varun Wadekar authored
      * changes:
        Tegra194: remove AON_WDT IRQ mapping
        Tegra: smmu: add smmu_verify function
        Tegra: TZDRAM setup from soc specific early_boot handlers
        Tegra: remove "platform_get_core_pos" function
        Tegra: print GICC registers conditionally
        lib: cpus: sanity check pointers before use
        Tegra: spe: do not flush console in console_putc
        Tegra: verify platform compatibility
      0d5caf95
    • Varun Wadekar's avatar
      Tegra194: introduce support for `SPD=spmd` · 670306d3
      Varun Wadekar authored
      
      
      This patch introduces the following changes to enable
      compilation for `SPD=spmd` command line option.
      
      * compile plat_spmd_manifest.c
      * compile libfdt source files
      
      Verified with the `SPD=spmd` command line option for
      Tegra194 platforms.
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      Change-Id: I7f57aa4f1756b19f78d87415bb80794417174bc8
      670306d3
    • Varun Wadekar's avatar
      Tegra: introduce backend support to compile libfdt · eb7e5087
      Varun Wadekar authored
      
      
      This patch includes the following files from libc to
      compile libfdt:
      
      * memchr.c
      * memcmp.c
      * strrchr.c
      
      The BUILD_PLAT macro is evaluated earlier to allow libfdt
      installation to the right directory.
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      Change-Id: Ie43fcf701dc051670e6372e21b3a84a6416c1735
      eb7e5087
    • Varun Wadekar's avatar
      Tegra: disable signed comparison · 8d51439e
      Varun Wadekar authored
      
      
      libfdt does not support the -Wsign-compare compiler option
      and the right patch will eventually be pushed upstream.
      
      This patch disables the -Wsign-compare compiler option
      to allow libfdt compilation for Tegra platforms until
      the actual issue is fixed.
      Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
      Change-Id: Ib7a93946cad1ea9ec1b46751edb79a74c08ed0ac
      8d51439e
  2. 24 Aug, 2020 11 commits
  3. 23 Aug, 2020 1 commit
  4. 21 Aug, 2020 5 commits
  5. 20 Aug, 2020 14 commits
  6. 19 Aug, 2020 4 commits
    • André Przywara's avatar
      Merge changes from topic "aw_drivevbus" into integration · e168b66d
      André Przywara authored
      * changes:
        plat/allwinner: Only enable DRIVEVBUS if really needed
        plat/allwinner: Use common gicv2.mk
      e168b66d
    • Mark Dykes's avatar
    • Alexei Fedorov's avatar
      libc/memset: Implement function in assembler · e7d344de
      Alexei Fedorov authored
      
      
      Trace analysis of FVP_Base_AEMv8A model running in
      Aarch32 mode with the build options listed below:
      TRUSTED_BOARD_BOOT=1 GENERATE_COT=1
      ARM_ROTPK_LOCATION=devel_ecdsa KEY_ALG=ecdsa
      ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_ecdsa.pem
      shows that when auth_signature() gets called
      71.84% of CPU execution time is spent in memset() function
      written in C using single byte write operations,
      see lib\libc\memset.c.
      This patch replaces C memset() implementation with assembler
      version giving the following results:
      - for Aarch32 in auth_signature() call memset() CPU time
      reduced to 24.84%.
      - Number of CPU instructions executed during TF-A
      boot stage before start of BL33 in RELEASE builds:
      ----------------------------------------------
      |  Arch   |     C      |  assembler |    %   |
      ----------------------------------------------
      | Aarch32 | 2073275460 | 1487400003 | -28.25 |
      | Aarch64 | 2056807158 | 1244898303 | -39.47 |
      ----------------------------------------------
      The patch also replaces memset.c with aarch64/memset.S
      in plat\nvidia\tegra\platform.mk.
      
      Change-Id: Ifbf085a2f577a25491e2d28446ee95a4ac891597
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      e7d344de
    • Manish Pandey's avatar