1. 05 Mar, 2018 8 commits
  2. 30 Jan, 2018 1 commit
  3. 27 Jan, 2018 1 commit
  4. 24 Jan, 2018 2 commits
  5. 22 Jan, 2018 3 commits
  6. 16 Jan, 2018 2 commits
    • Leo Yan's avatar
      Hikey960: Change CPU standby state for WFI · 4c8a5787
      Leo Yan authored
      
      
      At early time, the CPU CA73 retention state has been supported on
      Hikey960.  Later we found the system has the hang issue and for
      resolving this issue Hisilicon released new MCU firmware, but
      unfortunately the new MCU firmware has side effect and results in the
      CA73 CPU cannot really enter retention state and roll back to WFI state.
      
      After discussion we cannot see the possibility to enable CA73 retention
      state anymore on Hikey960, based on this conclusion we should remove
      this state supporting from ARM-TF and roll back to WFI state only.  We
      will commit one patch to remove CA73 CPU retention state in kernel DT
      binding as well.
      
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
      Cc: Kevin Wang <jean.wangtao@linaro.org>
      Cc: Vincent Guittot <vincent.guittot@linaro.org>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      4c8a5787
    • Leo Yan's avatar
      Revert "Hikey960: Change to use recommended power state id format" · e1b27425
      Leo Yan authored
      This reverts commit fdae60b6.
      
      The commit fdae60b6
      
       changed the
      parameter encoding for the hikey960.  However that implies a DT change
      in the kernel side.  After submitting the DT change for upstreaming,
      the backward compatibility issue and the interface change raise some
      concerns from the Linux community about the issues related to kernel <->
      ATF alignment.  There is no way to detect a mis-alignment of those
      without a deep knowledge of the ATF and the kernel.  Furthermore, the
      failing calls to PSCI in the idle path (because of bad parameters), will
      lead to busy looping, implying: thermal issues and extra energy
      consumption.
      
      In regard of the Linux community concerns, the potential issues when the
      ATF and the kernel are not aligned, it is preferable to revert the
      commit.
      
      Cc: Vincent Guittot <vincent.guittot@linaro.org>
      Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
      Cc: Kevin Wang <jean.wangtao@linaro.org>
      Co-authored-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      e1b27425
  7. 09 Jan, 2018 1 commit
  8. 18 Dec, 2017 1 commit
  9. 12 Dec, 2017 5 commits
  10. 06 Dec, 2017 1 commit
    • Leo Yan's avatar
      Hikey960: Change to use recommended power state id format · fdae60b6
      Leo Yan authored
      
      
      ARM Power State Coordination Interface (ARM DEN 0022D) chapter
      6.5 "Recommended StateID Encoding" defines the state ID which can be
      used by platforms. The recommended power states can be presented by
      below values; and it divides into three fields, every field has 4 bits
      to present power states corresponding to core level, cluster level and
      system level.
      
        0: Run
        1: Standby
        2: Retention
        3: Powerdown
      
      This commit changes to use upper recommended power states definition on
      Hikey960; and changes the power state validate function to check the
      power state passed from kernel side.
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      fdae60b6
  11. 30 Nov, 2017 1 commit
    • David Cunado's avatar
      Do not enable SVE on pre-v8.2 platforms · 3872fc2d
      David Cunado authored
      
      
      Pre-v8.2 platforms such as the Juno platform does not have
      the Scalable Vector Extensions implemented and so the build
      option ENABLE_SVE is set to zero.
      
      This has a minor performance improvement with no functional
      impact.
      
      Change-Id: Ib072735db7a0247406f8b60e325b7e28b1e04ad1
      Signed-off-by: default avatarDavid Cunado <david.cunado@arm.com>
      3872fc2d
  12. 22 Nov, 2017 2 commits
  13. 01 Nov, 2017 1 commit
  14. 18 Oct, 2017 2 commits
  15. 17 Oct, 2017 1 commit
  16. 13 Sep, 2017 2 commits
  17. 07 Sep, 2017 1 commit
    • Leo Yan's avatar
      Hikey: enable CPU debug module · e246617b
      Leo Yan authored
      
      
      Every CPU has its own debug module and this module is used by JTAG
      debugging and coresight tracing. If without enabling it, it's easily to
      introduce lockup issue when we enable debugging features.
      
      This patch is to enable CPU debug module when power on CPU; this allows
      connecting to all cores through JTAG and used by kernel coresight
      driver.
      Signed-off-by: default avatarMatthias Welwarsky <maw@sysgo.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      e246617b
  18. 01 Sep, 2017 2 commits
  19. 29 Aug, 2017 2 commits
    • Eleanor Bonnici's avatar
      HiKey: Rename CPUACTRL reg constants · f9a856ba
      Eleanor Bonnici authored
      
      
      Constants named as *ACTLR* refer in fact to the CPUACTRL_EL1 register.
      Since ACTLR and ACTRL_EL1 are different registers this patch renames
      these constants for clarity.
      
      Change-Id: I2a9e402dab7b0fcb6e481ee0d8a11eda943ed299
      Signed-off-by: default avatarEleanor Bonnici <Eleanor.bonnici@arm.com>
      f9a856ba
    • Leo Yan's avatar
      Hikey: enable watchdog reset · 3506ff11
      Leo Yan authored
      
      
      At the system boot time we need enable watchdog reset, otherwise after
      the watchdog is timeout it cannot reset the SoC. We need set the bit 0
      and bit 16 together, the bit 16 is mask bit so after set bit 16 we have
      permission to operate bit 0 and bit 0 is watchdog reset enabling bit.
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      3506ff11
  20. 17 Aug, 2017 1 commit
    • Tao Wang's avatar
      Hikey960: fix PSCI suspend stuck issue · 4af7fcb8
      Tao Wang authored
      
      
      Clear the cpuidle flag when resuming from idle. This flag is set
      when entering idle, and if it remains set when resuming, it can
      prevent the cluster from powering off during the next system
      suspend operation. During system suspend, all CPUs are plugged
      out except the last CPU, which is suspended. If any of the
      cpuidle flags are set at this point, the last CPU will be stuck
      in a WFI loop and will not be powered off.
      This problem only occurs during system suspend.
      Signed-off-by: default avatarTao Wang <kevin.wangtao@linaro.org>
      4af7fcb8