Skip to content
  1. Mar 10, 2025
  2. Mar 06, 2025
  3. Mar 04, 2025
  4. Feb 27, 2025
  5. Feb 25, 2025
  6. Feb 24, 2025
  7. Feb 21, 2025
    • Francesco Rosati's avatar
      mod/dvfs/test: Fix uninitialised pointer issue in mod_dvfs unit test · 7a6c5cf6
      Francesco Rosati authored and Leandro Belli's avatar Leandro Belli committed
      
      
      Some unit tests in mod_dvfs_unit_test.c initialise local data
      structures with the minimum information required to test DVFS
      functions.
      
      The local data structures sometimes have pointers in them that
      depending on the particular test being run - should also be
      initialised, but in some cases the unit test failed to do that.
      
      This resulted in some pointers being initialised with whatever
      random data was on the stack and depending on what ended in those
      pointers, accessing data fields through them could end in a segfault.
      
      The fix makes sure all pointers that need initialising are
      properly set.
      
      Signed-off-by: Francesco Rosati's avatarFrancesco Rosati <francesco.rosati@arm.com>
      7a6c5cf6
  8. Feb 20, 2025
  9. Feb 19, 2025
  10. Feb 18, 2025
  11. Feb 13, 2025
  12. Feb 11, 2025
  13. Feb 10, 2025
  14. Jan 21, 2025
    • Mahmoud Elsabbagh's avatar
      mod_power_capping_hal: Use PID controller in Power Capping Hal. · 2fc885a4
      Mahmoud Elsabbagh authored
      
      
      Apply PID feedback on Power Cap requested by the agent as follows:
      1) The set point is the requested cap by the agent.
      2) The feedback is the average measured power.
      3) The output is a power limit that is delivered to the power distributor.
      
      The usage of the PID would allow the Power Cap not to be set directly
      to the system although a margin would be there to allow bursts of performance
      applied on the system for a short period of time.
      
      The PID is called continuously on intervals inside the get_power_limit function
      called from metrics_analyzer.
      
      Signed-off-by: Mahmoud Elsabbagh's avatarMahmoud Elsabbagh <mahmoud.elsabbagh@arm.com>
      2fc885a4
  15. Jan 17, 2025
  16. Jan 15, 2025
  17. Jan 14, 2025
    • Wei-Chia Su's avatar
      morello/n1sdp: Handle unsupported SCMI message · 0cb8bb97
      Wei-Chia Su authored and Wei-Chia Su's avatar Wei-Chia Su committed
      
      
      In the SCMI handler table, unsupported messages are indicated by leaving the
      corresponding function pointer unassigned. However, there is no validation
      check on entry which leads to potential null pointer dereference while handling
      message. This change explicitly initializes the handler table and validates
      entry in runtime to determine whether a given message is supported.
      
      Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
      0cb8bb97
    • Wei-Chia Su's avatar
      module/scmi_sensor_req: Handle unsupported SCMI message · b27f2da4
      Wei-Chia Su authored and Wei-Chia Su's avatar Wei-Chia Su committed
      
      
      In the SCMI handler table, unsupported messages are indicated by leaving the
      corresponding function pointer unassigned. However, there is no validation
      check on entry which leads to potential null pointer dereference while handling
      message. This change explicitly initializes the handler table and validates
      entry in runtime to determine whether a given message is supported.
      
      Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
      b27f2da4
    • Wei-Chia Su's avatar
      module/scmi_system_power: Handle unsupported SCMI message · 194d97ca
      Wei-Chia Su authored and Wei-Chia Su's avatar Wei-Chia Su committed
      
      
      In the SCMI handler table, unsupported messages are indicated by leaving the
      corresponding function pointer unassigned. However, there is no validation
      check on entry which leads to potential null pointer dereference while handling
      message. This change explicitly initializes the handler table and validates
      entry in runtime to determine whether a given message is supported.
      
      This change addresses the security vulnerability (CVE-2024-11864).
      
      Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
      194d97ca
    • Wei-Chia Su's avatar
      module/scmi: Handle message validation in Unit Test · b5bcacb6
      Wei-Chia Su authored and Wei-Chia Su's avatar Wei-Chia Su committed
      
      
      This patch updates unit tests to cover the change of validation in message
      handler.
      
      Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
      b5bcacb6
    • Wei-Chia Su's avatar
      module/scmi: Handle unsupported SCMI message · d4c1a05d
      Wei-Chia Su authored and Wei-Chia Su's avatar Wei-Chia Su committed
      
      
      In the SCMI handler table, unsupported messages are indicated by leaving the
      corresponding function pointer unassigned. However, there is no validation
      check on entry which leads to potential null pointer dereference while handling
      message. This change explicitly initializes the handler table and validates
      entry in runtime to determine whether a given message is supported.
      
      This change addresses the security vulnerability (CVE-2024-11863).
      
      Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
      d4c1a05d
  18. Jan 13, 2025
  19. Jan 10, 2025
    • Pranav Madhu's avatar
      nrd/rdv3: report power down to RSE · 3bf86376
      Pranav Madhu authored and Thomas Abraham's avatar Thomas Abraham committed
      
      
      Add support in SCP to report a shutdown or cold reboot to RSE. SCP uses
      MHU outband communication, and uses SCMI messaging format to communicate
      with RSE.
      
      The current implementation of RSE do not support SCMI. This patch can be
      removed once SCMI support is enabled in RSE. In that scenario, RSE will
      subscribe to the system power-down notifications, which will then be
      handled directly by the SCP SCMI module.
      
      Change-Id: I8c7f75c7d5714e381ee8b60e1e86ccd2f93a19e9
      Signed-off-by: Pranav Madhu's avatarPranav Madhu <pranav.madhu@arm.com>
      3bf86376
    • Pranav Madhu's avatar
      nrd/rdv3: SCMI module to bind back to SCP platform module · 0d0700c8
      Pranav Madhu authored and Thomas Abraham's avatar Thomas Abraham committed
      
      
      When SCP platform module binds to SCMI module, SCMI module will try to
      bind back to platform  module. Add support for the bind back APIs.
      
      The current implementation of RSE do not support SCMI. This patch can be
      removed once SCMI support is enabled in RSE. In that scenario, RSE will
      subscribe to the system power-down notifications, which will then be
      handled directly by the SCP SCMI module.
      
      Change-Id: Ib41a414f29797c9e9d7c5bade56f5f4cb6403c24
      Signed-off-by: Pranav Madhu's avatarPranav Madhu <pranav.madhu@arm.com>
      0d0700c8
    • Pranav Madhu's avatar
      nrd/rdv3: platform module to bind with SCP-RSE SCMI channel · c1418054
      Pranav Madhu authored and Thomas Abraham's avatar Thomas Abraham committed
      
      
      SCP platform module to bind with SCP-RSE SCMI channel. SCP uses this
      channel to report shutdown and cold reboot requests to RSE.
      
      The current implementation of RSE do not support SCMI. This patch can be
      removed once SCMI support is enabled in RSE. In that scenario, RSE will
      subscribe to the system power-down notifications, which will then be
      handled directly by the SCP SCMI module.
      
      Change-Id: Ib912ddb668c88ed036d0876c0824ae743ff06bdd
      Signed-off-by: Pranav Madhu's avatarPranav Madhu <pranav.madhu@arm.com>
      c1418054
Loading