1. 02 Aug, 2019 2 commits
    • Remi Pommarel's avatar
      meson: gxl: Fix CPU hotplug · b4694a86
      Remi Pommarel authored
      
      
      The CPU[1-3] are reset to initial/cold boot state (with their reset
      address set to 0x0). In this state the cpus are waiting for another
      one to set the reset address to bl31_warm_entrypoint and wake them up.
      
      The CPU0 needs a bit of a workaround as changing the reset address
      either through PSCI mailbox or the mmio mapped RVBAR (at 0xda834650)
      does not seem to have any effect. Thus the workaround consists in
      emulating the other CPUs' behavior with a WFE loop and manually jumping
      to bl31_warm_entrypoint when woken back up by another one.
      
      Change-Id: I11265620b5fd0619285e3993253a3f9a3ff6a7a4
      Signed-off-by: default avatarRemi Pommarel <repk@triplefau.lt>
      b4694a86
    • Remi Pommarel's avatar
      meson: gxl: Fix reset and power off · 43d4a291
      Remi Pommarel authored
      
      
      Before CPU enters standby state (wfi), the AP needs to signal the SCP
      through PSCI mailbox.
      
      Also at boot time the AP has to wait for the SCP to be ready before
      sending the first scpi commands or it can crash.
      
      Change-Id: Iacc99f5bec745ad71922c5ea07ca5b87088133b6
      Signed-off-by: default avatarRemi Pommarel <repk@triplefau.lt>
      43d4a291
  2. 28 Jun, 2019 1 commit
  3. 16 May, 2019 1 commit
  4. 02 Apr, 2019 4 commits
  5. 04 Jan, 2019 1 commit
    • Antonio Nino Diaz's avatar
      Sanitise includes across codebase · 09d40e0e
      Antonio Nino Diaz authored
      Enforce full include path for includes. Deprecate old paths.
      
      The following folders inside include/lib have been left unchanged:
      
      - include/lib/cpus/${ARCH}
      - include/lib/el3_runtime/${ARCH}
      
      The reason for this change is that having a global namespace for
      includes isn't a good idea. It defeats one of the advantages of having
      folders and it introduces problems that are sometimes subtle (because
      you may not know the header you are actually including if there are two
      of them).
      
      For example, this patch had to be created because two headers were
      called the same way: e0ea0928 ("Fix gpio includes of mt8173 platform
      to avoid collision."). More recently, this patch has had similar
      problems: 46f9b2c3 ("drivers: add tzc380 support").
      
      This problem was introduced in commit 4ecca339
      
       ("Move include and
      source files to logical locations"). At that time, there weren't too
      many headers so it wasn't a real issue. However, time has shown that
      this creates problems.
      
      Platforms that want to preserve the way they include headers may add the
      removed paths to PLAT_INCLUDES, but this is discouraged.
      
      Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8f
      Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
      09d40e0e
  6. 07 Dec, 2018 1 commit
    • Julius Werner's avatar
      drivers/console: Link console framework code by default · 985ee0b7
      Julius Werner authored
      
      
      This patch makes the build system link the console framework code by
      default, like it already does with other common libraries (e.g. cache
      helpers). This should not make a difference in practice since TF is
      linked with --gc-sections, so the linker will garbage collect all
      functions and data that are not referenced by any other code. Thus, if a
      platform doesn't want to include console code for size reasons and
      doesn't make any references to console functions, the code will not be
      included in the final binary.
      
      To avoid compatibility issues with older platform ports, only make this
      change for the MULTI_CONSOLE_API.
      
      Change-Id: I153a9dbe680d57aadb860d1c829759ba701130d3
      Signed-off-by: default avatarJulius Werner <jwerner@chromium.org>
      985ee0b7
  7. 26 Oct, 2018 3 commits