Skip to content
  1. Jun 28, 2022
  2. Jun 27, 2022
    • Masami Hiramatsu's avatar
      FWU: synquacer: Add FWU Multi Bank Update and BL2 boot support · a1f91723
      Masami Hiramatsu authored
      
      
      Add FWU Multi Bank Update and boot BL2 from FIP image support for
      SynQuacer platform.
      
      When the DSW 3-4 is on, SynQuacer platform will decode FWU metadata
      and platform metadata to choose the active bank of the FIP image
      and boot BL2 from it.
      
      This also enables the platform trial boot, which count up the boot
      counter in the platform metadata, and when it reaches to the limit
      (== 3) it switch back to the previous active bank. This counter will
      stop when the BL33 (typically U-Boot) clears the counter.
      
      Signed-off-by: JassiBrar's avatarJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
      Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
      Change-Id: I00b9c932fac5b4a9a231fcf2a050b766abefed61
      a1f91723
    • Nicola Mazzucato's avatar
      SCMI: Rename BUILD_HAS_FAST_CHANNELS with _SCMI_PERF_ · d9e35828
      Nicola Mazzucato authored
      The FastChannels functionality was introduced a while back to support
      SCMI FastChannels as per SCMI spec v2.0. At that time only the
      Performance protocol could advertise such support.
      Now with the recent version 3.1[1] of the SCMI spec,also the Power
      Capping protocol can support FastChannels.
      
      It is now time to reflect which protocol the current FastChannel
      support refers to, by adding _SCMI_PERF_ to its definition.
      So:
      - SCP_ENABLE_FAST_CHANNELS becomes SCP_ENABLE_SCMI_PERF_FAST_CHANNELS
      - BUILD_HAS_FAST_CHANNELS becomes BUILD_HAS_SCMI_PERF_FAST_CHANNELS
      
      This will allow precise inclusion of protocol-specific support for
      SCMI FastChannels.
      
      As a reminder, the CMake build option will become:
          make -f Makefile.cmake \
          MODE=<mode> \
          TOOLCHAIN=<toolchain> \
          PRODUCT=<product> \
          EXTRA_CONFIG_ARGS+="-DSCP_ENABLE_SCMI_PERF_FAST_CHANNELS=yes"
      
      [1]https://developer.arm.com/documentation/den0056/d/?lang=en
      
      
      
      Change-Id: I0ec4ffbc1ad5d797b9543aa979a98cceb267a798
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      d9e35828
  3. Jun 24, 2022
    • Leandro Belli's avatar
      thermal-mgmt: use light events for temperature sensor · 9aa5076f
      Leandro Belli authored
      
      
      This patch change event type to lights events for temperature readings
      in order to remove overhead and memory consumption.
      
      Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
      Change-Id: I65c31f3707956809959da052b742ab9e4ca056c6
      9aa5076f
    • Leandro Belli's avatar
      thermal-mgmt: add temperature protection functionality · b73ba9aa
      Leandro Belli authored
      
      
      This patch adds temperature protection functionality that
      allows to configure two different alarms, warning and critical.
      They can be configured independently but the critical level
      threshold should be above the one for warning. Also when an alarm is
      triggered it is reported to the driver through an API.
      
      A common case of use is that the first threshold would be used
      as first line of action against over temperature, while the
      second could be used to initiate a sequence of hard power-off.
      
      Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
      Change-Id: I76304abd2feafcfc15836870ea9f5b4cfd5cc550
      b73ba9aa
    • Leandro Belli's avatar
      power-mgmt: add per-domain control loop · b8caed20
      Leandro Belli authored
      
      
      Currently there is support for one temperature sensor
      and a number of actors are controlled by one single loop.
      There are however examples of applications where it could be
      necessary to have multiple independent thermal domains.
      This patch adds the option to add multiple thermal management
      controllers using different temperature sensors, in order to
      have multiple loops working at the same time.
      
      Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
      Change-Id: I92182e9ddd21d8d35ec1e47a7286eea482288508
      b8caed20
  4. Jun 23, 2022
  5. Jun 22, 2022
    • Sudeep Holla's avatar
      fwk: Return a value from a non-void function · ae8e5c06
      Sudeep Holla authored
      
      
      Some compilers complain the return type error as below.
      
       | arch/none/host/include/arch_helpers.h: In function ‘arch_interrupts_disable’:
       | arch/none/host/include/arch_helpers.h:25:1: error: no return statement in
       |	function returning non-void [-Werror=return-type]
      
      Fix the same.
      
      Change-Id: Ia3343fbbea57ae783b272f0c4db05a7060256f85
      Signed-off-by: Sudeep Holla's avatarSudeep Holla <sudeep.holla@arm.com>
      ae8e5c06
    • Katherine Vincent's avatar
      sensor: typedef included to give signed or unsigned value options · b0e37bd6
      Katherine Vincent authored
      
      
      The changes in this patch are to introduce a typedef, which will
      allow either signed or unsigned sensor values. This new typedef is
      used to be able to conditionally support int64, allowing the
      introduction of negative value sensors.
      
      It will be automatically enabled with SCMI-sensor-v2, however it
      can also be enabled on its own using with the cmake tag
      SCP_ENABLE_SENSOR_SIGNED_VALUE.
      
      Existing platforms that cannot handle signed values will return
      FWK_E_SUPPORT when the above build options are set.
      
      Signed-off-by: Katherine Vincent's avatarKatherine Vincent <katherine.vincent@arm.com>
      Change-Id: I0f24e31d4bc3861b1724d814e866ef97f09c4b88
      b0e37bd6
  6. Jun 06, 2022
  7. May 25, 2022
  8. May 23, 2022
  9. May 19, 2022
    • Nicola Mazzucato's avatar
      juno/reset_domain: Fix conditional inclusion of notification_id · 624bbcc7
      Nicola Mazzucato authored
      
      
      The inclusion of the notification_id member is now dependent on
      whether or not BUILD_HAS_SCMI_NOTIFICATIONS build flag is set.
      But in the reset_domain implementation, the functionality associated
      with that identifier is conditional to the availability of framework
      notifications BUILD_HAS_NOTIFICATION.
      
      This creates a misalignment of build option for the correct use of
      the reset domain features.
      
      Replace BUILD_HAS_SCMI_NOTIFICATIONS with BUILD_HAS_NOTIFICATION
      for the inclusion of the notification_id.
      
      Change-Id: If596761faae827a9a7b3fe4101b36039b0fb2720
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      624bbcc7
    • Nicola Mazzucato's avatar
      reset_domain: Fix HAL api type · f4a29225
      Nicola Mazzucato authored
      
      
      The HAL API type that should be returned by whoever binds to
      the reset module should be `mod_reset_domain_api` and not
      `mod_reset_domain_drv_api`.
      
      Fix the type.
      
      Change-Id: Ice6690c575db43af42e2c2ca014968aeb3c7bd96
      Signed-off-by: Nicola Mazzucato's avatarNicola Mazzucato <nicola.mazzucato@arm.com>
      f4a29225
Loading