1. 19 Jan, 2021 2 commits
    • Graeme Gregory's avatar
      qemu/qemu_sbsa: add support for sbsa-ref Embedded Controller · 2fb5ed47
      Graeme Gregory authored
      
      
      This allows PSCI in TF-A to signal platform power states to QEMU
      via a controller in secure space.
      
      This required a sbsa-ref specific version of PSCI functions for the
      platform. Also adjusted the MMU range to also include the new EC.
      
      Add a new MMU region for the embedded controller and increase the
      size of xlat tables by one for the new region.
      Signed-off-by: default avatarGraeme Gregory <graeme@nuviainc.com>
      Change-Id: Iece8a88947f11e82ab8988e460a8a66ad175a5ee
      2fb5ed47
    • Graeme Gregory's avatar
      qemu/qemu_sbsa: topology is different from qemu so add handling · 5565ede4
      Graeme Gregory authored
      
      
      sbsa-ref in QEMU creates clusers of 8 cores, it may create up to 512
      cores in upto 64 clusters. Implement a qemu_sbsa specific topology file
      and increase the BL31_SIZE to accommodate the bigger table sizes. Change
      platform_def.h for new topology. Correct PLATFORM_CPU_PER_CLUSTER_SHIFT so
      plat_helpers.S calculates correct result.
      Signed-off-by: default avatarGraeme Gregory <graeme@nuviainc.com>
      Change-Id: Idc5d70394c0956b759ad2c86f9fda8f293f2cfa7
      5565ede4
  2. 13 Jan, 2021 1 commit
    • Masahisa Kojima's avatar
      qemu/qemu_sbsa: enable secure variable storage · 74c87a4b
      Masahisa Kojima authored
      
      
      This implements support for UEFI secure variable storage
      using standalone MM framework on qemu_sbsa platform.
      
      Non-secure shared memory between UEFI and standalone MM
      is allocated at the top of DRAM.
      DRAM size of qemu_sbsa varies depends on the QEMU parameter,
      so the non-secure shared memory is allocated by trusted firmware
      and passed the base address and size to UEFI through device tree
      "/reserved-memory" node.
      
      Change-Id: I367191f408eb9850b7ec7761ee346b014c539767
      Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
      74c87a4b
  3. 20 Nov, 2020 1 commit
  4. 21 Oct, 2020 1 commit
    • 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
  5. 18 Aug, 2020 1 commit
  6. 30 Mar, 2020 1 commit
    • Alexei Fedorov's avatar
      TF-A GICv3 driver: Introduce makefile · a6ea06f5
      Alexei Fedorov authored
      
      
      This patch moves all GICv3 driver files into new added
      'gicv3.mk' makefile for the benefit of the generic driver
      which can evolve in the future without affecting platforms.
      The patch adds GICv3 driver configuration flags
      'GICV3_IMPL', 'GICV3_IMPL_GIC600_MULTICHIP' and
      'GICV3_OVERRIDE_DISTIF_PWR_OPS' described in
      'GICv3 driver options' section of 'build-option.rst'
      document.
      
      NOTE: Platforms with GICv3 driver need to be modified to
      include 'drivers/arm/gic/v3/gicv3.mk' in their makefiles.
      
      Change-Id: If055f6770ff20f5dee5a3c99ae7ced7cdcac5c44
      Signed-off-by: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
      a6ea06f5
  7. 10 Mar, 2020 1 commit
  8. 23 Jan, 2020 2 commits
  9. 01 Oct, 2019 1 commit
    • Radoslaw Biernacki's avatar
      qemu/qemu_sbsa: Adding Qemu SBSA platform · 558a6f44
      Radoslaw Biernacki authored
      
      
      This patch introduces Qemu SBSA platform.
      Both platform specific files where copied from qemu/qemu with changes for
      DRAM base above 32bit and removal of ARMv7 conditional defines/code.
      Documentation is aligned to rest of SBSA patches along the series and
      planed changes in edk2-platform repo.
      
      Fixes ARM-software/tf-issues#602
      Signed-off-by: default avatarRadoslaw Biernacki <radoslaw.biernacki@linaro.org>
      Change-Id: I8ebc34eedb2268365e479ef05654b2df1b99128c
      558a6f44