SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2023-12-13T09:26:41Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/891scmi_perf: Correct the return status of scmi_perf_process_event2023-12-13T09:26:41ZDarryl Greenscmi_perf: Correct the return status of scmi_perf_process_event*Created by: chandnich*
Currently, when perf_prot_ops_process_events function returns successfully the scmi_perf_process_event function returns an error condition. Correct this behaviour so that the function does not return an error con...*Created by: chandnich*
Currently, when perf_prot_ops_process_events function returns successfully the scmi_perf_process_event function returns an error condition. Correct this behaviour so that the function does not return an error condition during successful case.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/886tc2: Cut the SDS region in half2024-01-29T12:01:42ZTamas Bantc2: Cut the SDS region in halfRSS needs to share data with AP during early boot over shared memory to support DPE. Reuse the original, single SDS region to accommodate two SDS regions instead:
- Bottom half: RSS-AP
- Upper half: SCP-APRSS needs to share data with AP during early boot over shared memory to support DPE. Reuse the original, single SDS region to accommodate two SDS regions instead:
- Bottom half: RSS-AP
- Upper half: SCP-APhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/890requirements.txt: update python module requirements file2023-12-14T11:22:53ZDarryl Greenrequirements.txt: update python module requirements file*Created by: leandro-arm*
This patch updates `requirements.txt` file since dataclasses are now part of all non-deprecated `python3` versions. `clang-format` is also updated to a newer version.
Change-Id: I51bbe8fd5c3399aab9fcbb37ea...*Created by: leandro-arm*
This patch updates `requirements.txt` file since dataclasses are now part of all non-deprecated `python3` versions. `clang-format` is also updated to a newer version.
Change-Id: I51bbe8fd5c3399aab9fcbb37eab48d2f7243f64chttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/889thermal_mgmt: Add derivative term for PI controller2023-12-11T11:14:53ZDarryl Greenthermal_mgmt: Add derivative term for PI controller*Created by: nicola-mazzucato-arm*
The current implementation of Thermal Management provides a PI controller, without a derivative term.
Improve the controller by adding the derivative term, thus becoming a PID control.
At the sam...*Created by: nicola-mazzucato-arm*
The current implementation of Thermal Management provides a PI controller, without a derivative term.
Improve the controller by adding the derivative term, thus becoming a PID control.
At the same time, update the TC2 configuration as required by this change.
This change originates from:
https://github.com/ARM-software/SCP-firmware/pull/856 and has been lightly reworked to improve readability, update unit testing and comply with coding style.
Change-Id: Ie0b667c680476714d4e6ad17afa3623ca36a56b8https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/880Move rdinfra products to "neoverse-rd" product group2023-11-28T09:48:31ZDarryl GreenMove rdinfra products to "neoverse-rd" product group*Created by: Raghuram-Thammiraju*
- As part of process to consolidate all the reference design platforms under a product group, following products have been moved to "neoverse-rd" product group:
SGI575, RD-N1 Edge, RD-V1, RD-V1 MultiC...*Created by: Raghuram-Thammiraju*
- As part of process to consolidate all the reference design platforms under a product group, following products have been moved to "neoverse-rd" product group:
SGI575, RD-N1 Edge, RD-V1, RD-V1 MultiChip, RD-N2, RD-Fremont
- Updated ci_make.py accordingly to reflect addition of "neoverse-rd" product grouphttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/888fix/unit-test: add variable initialization2023-12-11T13:34:22ZDarryl Greenfix/unit-test: add variable initialization*Created by: leandro-arm*
There are some variables unitilialized for testing resulting in unexpected behaviour.
This patch fixes that giving them a default `0` value to ensure that all bytes are zeroed.
Change-Id: I29265f415bd9f9b...*Created by: leandro-arm*
There are some variables unitilialized for testing resulting in unexpected behaviour.
This patch fixes that giving them a default `0` value to ensure that all bytes are zeroed.
Change-Id: I29265f415bd9f9b1462884da7bc97ef83f1581a0https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/887Refactor SMCF data driver tests and fix a memory bug2023-12-07T17:59:33ZDarryl GreenRefactor SMCF data driver tests and fix a memory bug*Created by: abhishek-arm*
Refactor SMCF data driver tests and fix a memory bug.*Created by: abhishek-arm*
Refactor SMCF data driver tests and fix a memory bug.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/885mod_transport: Make out-band message support optional2023-11-30T11:07:08ZDarryl Greenmod_transport: Make out-band message support optional*Created by: AndyJGraham*
The goal of this change is to make out-band message support option through use of conditional compilation.
The compilation flag that was added is:
BUILD_HAS_OUTBAND_MSG_SUPPORT
All platforms that use "mo...*Created by: AndyJGraham*
The goal of this change is to make out-band message support option through use of conditional compilation.
The compilation flag that was added is:
BUILD_HAS_OUTBAND_MSG_SUPPORT
All platforms that use "mod_transport" have been
updated to have this new flag by default.
Change-Id: I903f77ada1d61128ee4b76cb130cfe4fc4ff81abhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/884Update MPMM to use AMU driver and add TC2 AMU mmap config2023-11-30T11:05:41ZDarryl GreenUpdate MPMM to use AMU driver and add TC2 AMU mmap config*Created by: wenping-arm*
- Modify MPMM to use AMU driver API interface instead of directly accessing the memory to read AMU counters.
- Update TC2 MPMM configuration to include AMU driver API interface.
- Add TC2 AMU memory mapped dr...*Created by: wenping-arm*
- Modify MPMM to use AMU driver API interface instead of directly accessing the memory to read AMU counters.
- Update TC2 MPMM configuration to include AMU driver API interface.
- Add TC2 AMU memory mapped driver configuration.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/883Fix/amu mmap allocation2023-11-29T11:46:23ZDarryl GreenFix/amu mmap allocation*Created by: mohamedasaker-arm*
This change is to fix the following bug:
During amu_mmap_init, struct mod_core_amu_counters array with size
equal to the number of cores that should be allocated.
Instead, an array of struct mod_core_a...*Created by: mohamedasaker-arm*
This change is to fix the following bug:
During amu_mmap_init, struct mod_core_amu_counters array with size
equal to the number of cores that should be allocated.
Instead, an array of struct mod_core_amu_counters pointers
are allocated.
Along with unit tests for AMU `counters_base_addr` and `counters_offsets`https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/882Add SENSOR SMCF data driver2023-11-28T13:30:06ZDarryl GreenAdd SENSOR SMCF data driver*Created by: abhishek-arm*
This change added Sensor data driver patch for SMCF(System Monitoring Control Framework). The new sensor_smcf driver exposes data fetcher api for clients to fetch data samples in buffer using (SMCF).
It also...*Created by: abhishek-arm*
This change added Sensor data driver patch for SMCF(System Monitoring Control Framework). The new sensor_smcf driver exposes data fetcher api for clients to fetch data samples in buffer using (SMCF).
It also implements the generic sensor data api where it fetches the 64 bit value for the sensor using SMCF.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/872Pre-requisite patches for extending RD-Fremont platform support2023-11-14T15:57:42ZDarryl GreenPre-requisite patches for extending RD-Fremont platform support*Created by: ghost*
This pull request contains the set of patches that are pre-requisite patches for extending RD-Fremont platform support with updates for SCP, MCP and LCP.*Created by: ghost*
This pull request contains the set of patches that are pre-requisite patches for extending RD-Fremont platform support with updates for SCP, MCP and LCP.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/879Resource perms UT and Refactoring2023-11-22T16:09:30ZDarryl GreenResource perms UT and Refactoring*Created by: khaledAhmed-arm*
- Add UT for resource_perms component and Generalize set_agent_resource_<protocol>_permissions functions to be only one function can handle all set permissions for all protocols set_agent_resource_permissio...*Created by: khaledAhmed-arm*
- Add UT for resource_perms component and Generalize set_agent_resource_<protocol>_permissions functions to be only one function can handle all set permissions for all protocols set_agent_resource_permissions.
- Move default permissions backing up allocation into init of the resource perms.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/881Halt SCP boot if DDR4 training fails for morello and n1sdp2023-11-28T13:37:35ZDarryl GreenHalt SCP boot if DDR4 training fails for morello and n1sdp*Created by: sah01Kaushal*
Currently, the SCP boot continues if the DDR4 training fails, the boot then later hangs when it reaches tf-a stage. These patches will halt the boot in SCP itself.*Created by: sah01Kaushal*
Currently, the SCP boot continues if the DDR4 training fails, the boot then later hangs when it reaches tf-a stage. These patches will halt the boot in SCP itself.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/878cmn700: fix address and size alignment check.2023-11-21T12:24:30ZDarryl Greencmn700: fix address and size alignment check.*Created by: nissha03*
Fix the logical error in the cmn700 address alignment check. Due to the logical error, the check only failed if the address and size were unaligned.
Updated the logic to allow it to fail if either value is unal...*Created by: nissha03*
Fix the logical error in the cmn700 address alignment check. Due to the logical error, the check only failed if the address and size were unaligned.
Updated the logic to allow it to fail if either value is unaligned. Also fixed the wrong address mask calculation.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/877interface/cmn: Add a interface for CMN drivers2023-11-21T09:14:28ZDarryl Greeninterface/cmn: Add a interface for CMN drivers*Created by: nissha03*
CMN module drivers can change between platforms; this makes it challenging to write a generic module that uses CMN APIs to map regions during runtime.
Add a generic API interface that CMN modules use to define th...*Created by: nissha03*
CMN module drivers can change between platforms; this makes it challenging to write a generic module that uses CMN APIs to map regions during runtime.
Add a generic API interface that CMN modules use to define their APIs and use the module ID provided by the platform configuration to bind to the correct CMN module.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/870module/power_domain: Refactor the power domain module2023-11-22T16:02:40ZDarryl Greenmodule/power_domain: Refactor the power domain module*Created by: Jmc18134*
This PR breaks up the power domain module to make things more readable and easier to modify.
Notification-related functions are now only included when notifications are enabled. State-related utilities and notif...*Created by: Jmc18134*
This PR breaks up the power domain module to make things more readable and easier to modify.
Notification-related functions are now only included when notifications are enabled. State-related utilities and notifications have been moved to their own files.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/875morello: print the temperature sensor values during boot2023-11-20T10:32:01ZDarryl Greenmorello: print the temperature sensor values during boot*Created by: sah01Kaushal*
Currently, on SCP, there is no way for users to get CPU temperature values during or after boot. This change will show reference temperature values during boot, so that the alarm or shutdown threshold does not...*Created by: sah01Kaushal*
Currently, on SCP, there is no way for users to get CPU temperature values during or after boot. This change will show reference temperature values during boot, so that the alarm or shutdown threshold does not come as a surprise.
Change-Id: I6079a750d4aeaa7768784aee640919cf2faa76b0https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/876rdn2/pcie_integ_ctrl: Move module from common module directory to rdn22023-11-21T09:14:05ZDarryl Greenrdn2/pcie_integ_ctrl: Move module from common module directory to rdn2*Created by: nissha03*
PCIe Integration controller is only present in RD-N2 family of platforms and other platform does not use this code.
Move the module to the RD-N2 platform module directory.
*Created by: nissha03*
PCIe Integration controller is only present in RD-N2 family of platforms and other platform does not use this code.
Move the module to the RD-N2 platform module directory.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/874Add AMU SMCF data driver2023-11-15T17:07:57ZDarryl GreenAdd AMU SMCF data driver*Created by: abhishek-arm*
This change added Activity Monitor Units(AMU) data driver patch for SMCF. The new amu_smcf driver exposes data fetcher api for clients to fetch AMU data using System Monitoring Control Framework (SMCF).*Created by: abhishek-arm*
This change added Activity Monitor Units(AMU) data driver patch for SMCF. The new amu_smcf driver exposes data fetcher api for clients to fetch AMU data using System Monitoring Control Framework (SMCF).