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