1. 13 Nov, 2020 1 commit
    • Alexei Fedorov's avatar
      TSP: Fix GCC 11.0.0 compilation error. · caff3c87
      Alexei Fedorov authored
      
      
      This patch fixes the following compilation error
      reported by aarch64-none-elf-gcc 11.0.0:
      
      bl32/tsp/tsp_main.c: In function 'tsp_smc_handler':
      bl32/tsp/tsp_main.c:393:9: error: 'tsp_get_magic'
       accessing 32 bytes in a region of size 16
       [-Werror=stringop-overflow=]
        393 |         tsp_get_magic(service_args);
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      bl32/tsp/tsp_main.c:393:9: note: referencing argument 1
       of type 'uint64_t *' {aka 'long long unsigned int *'}
      In file included from bl32/tsp/tsp_main.c:19:
      bl32/tsp/tsp_private.h:64:6: note: in a call to function 'tsp_get_magic'
         64 | void tsp_get_magic(uint64_t args[4]);
            |      ^~~~~~~~~~~~~
      
      by changing declaration of tsp_get_magic function from
      void tsp_get_magic(uint64_t args[4]);
      to
      uint128_t tsp_get_magic(void);
      which returns arguments directly in x0 and x1 registers.
      
      In bl32\tsp\tsp_main.c the current tsp_smc_handler()
      implementation calls tsp_get_magic(service_args);
      , where service_args array is declared as
      uint64_t service_args[2];
      and tsp_get_magic() in bl32\tsp\aarch64\tsp_request.S
      copies only 2 registers in output buffer:
      	/* Store returned arguments to the array */
      	stp	x0, x1, [x4, #0]
      
      Change-Id: Ib34759fc5d7bb803e6c734540d91ea278270b330
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      caff3c87
  2. 09 Nov, 2020 2 commits
  3. 29 Oct, 2020 2 commits
    • Alexei Fedorov's avatar
    • Manish Pandey's avatar
      Merge changes from topic "mbox-patches" into integration · 271708e0
      Manish Pandey authored
      * changes:
        intel: common: Fix non-MISRA compliant code v2
        intel: mailbox: Fix non-MISRA compliant code
        intel: mailbox: Mailbox error recovery handling
        intel: mailbox: Enable sending large mailbox command
        intel: mailbox: Use retry count in mailbox poll
        intel: mailbox: Ensure time out duration is predictive
        intel: mailbox: Read mailbox response even there is an error
        intel: mailbox: Driver now handles larger response
        intel: common: Change how mailbox handles job id & buffer
        intel: common: Improve readability of mailbox read response
        intel: SIP: increase FPGA_CONFIG_SIZE to 32 MB
        intel: common: Remove urgent from mailbox async
        intel: common: Improve mailbox driver readability
      271708e0
  4. 28 Oct, 2020 7 commits
  5. 27 Oct, 2020 11 commits
  6. 26 Oct, 2020 2 commits
  7. 24 Oct, 2020 8 commits
  8. 22 Oct, 2020 1 commit
  9. 21 Oct, 2020 5 commits
    • Olivier Deprez's avatar
      SPMC: adjust device region for first secure partition · d0d63afe
      Olivier Deprez authored
      
      
      For the first partition, mark first 2GB as device memory excluding
      the Trusted DRAM region reserved for the SPMC.
      Signed-off-by: default avatarOlivier Deprez <olivier.deprez@arm.com>
      Change-Id: I3ff110b3facf5b6d41ac2519ff6ca5e30a0a502b
      d0d63afe
    • Manish Pandey's avatar
      Merge changes from topic "tc0_sel2_spmc" into integration · bc98a2ec
      Manish Pandey authored
      * changes:
        plat: tc0: Configure TZC with secure world regions
        plat: tc0: Enable SPMC execution at S-EL2
        plat: tc0: Add TZC DRAM1 region for SPMC and trusted OS
        plat: arm: Make BL32_BASE platform dependent when SPD_spmd is enabled
        plat: tc0: Disable SPE
      bc98a2ec
    • Manish Pandey's avatar
      Merge changes from topic "tc0_sel2_spmc" into integration · c4d919ee
      Manish Pandey authored
      * changes:
        lib: el3_runtime: Fix SPE system registers in el2_sysregs_context
        lib: el3_runtime: Conditionally save/restore EL2 NEVE registers
        lib: el3_runtime: Fix aarch32 system registers in el2_sysregs_context
      c4d919ee
    • Tomas Pilar's avatar
      plat/qemu_sbsa: Remove cortex_a53 and aem_generic · d1ff30d7
      Tomas Pilar authored
      
      
      The qemu_sbsa platform uses 42bit address size but
      the cortex-a53 only supports 40bit addressing, the
      cpu is incompatible with the platform.
      
      The aem_generic is also not used with qemu_sbsa, in
      fact, the platform currently only properly supports
      the cortex-a57 cpu.
      
      Change-Id: I91c92533116f1c3451d01ca99824e91d3d58df14
      Signed-off-by: default avatarTomas Pilar <tomas@nuviateam.com>
      d1ff30d7
    • Pali Rohár's avatar
      plat: marvell: armada: Building ${DOIMAGETOOL} is only for a8k · b5e3d540
      Pali Rohár authored
      
      
      Currently a3k target is misusing ${DOIMAGETOOL} target for building flash
      and UART images. It is not used for building image tool.
      
      So move ${DOIMAGETOOL} target from common marvell include file into a8k
      include file and add correct invocation of ${MAKE} into a3k for building
      flash and UART images.
      
      Part of this change is also checks that MV_DDR_PATH for a3k was specified
      by user as this option is required for building a3k flash and UART images.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Change-Id: I5ae9d08b8505460933f17836c9b6435fd6e51bb6
      b5e3d540
  10. 20 Oct, 2020 1 commit