SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2023-06-01T20:03:50Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/791Perf-Plugins-Handler: Improvements and Unit Testing2023-06-01T20:03:50ZDarryl GreenPerf-Plugins-Handler: Improvements and Unit Testing*Created by: nicola-mazzucato-arm*
This PR brings fixes, improvements and unit testing for the Plugins Handler extension in SCMI-Performance.*Created by: nicola-mazzucato-arm*
This PR brings fixes, improvements and unit testing for the Plugins Handler extension in SCMI-Performance.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/790fwk_log: remove '\n' character from log prints2023-05-10T12:54:13ZDarryl Greenfwk_log: remove '\n' character from log prints*Created by: leandro-arm*
Currently, newline characters are optionally added to log messages even though `fwk_log` appends its own `FWK_LOG_TERMINATOR` string. This change removes the redundant newlines, improving the efficiency of log ...*Created by: leandro-arm*
Currently, newline characters are optionally added to log messages even though `fwk_log` appends its own `FWK_LOG_TERMINATOR` string. This change removes the redundant newlines, improving the efficiency of log output and simplifying the logging code by eliminating the need for newline search functions.
Change-Id: Ifc46ffe3e2e8d7da5fa7a095c7122706806fe8e1https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/789scmi_clock: add UT test cases2023-05-10T12:53:49ZDarryl Greenscmi_clock: add UT test cases*Created by: leandro-arm*
This patch adds unit test for the state and reference counting check and update functions.*Created by: leandro-arm*
This patch adds unit test for the state and reference counting check and update functions.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/788fwk: fix missing references for `FWK_LOG_LEVEL_TRACE`2023-05-04T14:24:04ZDarryl Greenfwk: fix missing references for `FWK_LOG_LEVEL_TRACE`*Created by: leandro-arm*
This patch addresses an issue where a reference was missing after renaming from `FWK_LOG_LEVEL_DEBUG` to `FWK_LOG_LEVEL_TRACE`. The fix ensures all references are properly updated.
Change-Id: Icf1ea1386bb9...*Created by: leandro-arm*
This patch addresses an issue where a reference was missing after renaming from `FWK_LOG_LEVEL_DEBUG` to `FWK_LOG_LEVEL_TRACE`. The fix ensures all references are properly updated.
Change-Id: Icf1ea1386bb9cbaf4f04b875d3194c5b18cda2bdhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/787doc: framework: Update doc w/ structs for static tables2023-05-05T16:18:03ZDarryl Greendoc: framework: Update doc w/ structs for static tables*Created by: mfischer*
Update doc with static element table support.
Fixes: 0a6b545c ("fwk: Add support for static element tables")*Created by: mfischer*
Update doc with static element table support.
Fixes: 0a6b545c ("fwk: Add support for static element tables")https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/786fwk: fix missing references for `FWK_LOG_LEVEL_TRACE`2023-04-24T14:59:40ZDarryl Greenfwk: fix missing references for `FWK_LOG_LEVEL_TRACE`*Created by: leandro-arm*
This patch addresses an issue where a reference was missing after renaming from `FWK_LOG_LEVEL_DEBUG` to `FWK_LOG_LEVEL_TRACE`. The fix ensures all references are properly updated.
Change-Id: Icf1ea1386bb9...*Created by: leandro-arm*
This patch addresses an issue where a reference was missing after renaming from `FWK_LOG_LEVEL_DEBUG` to `FWK_LOG_LEVEL_TRACE`. The fix ensures all references are properly updated.
Change-Id: Icf1ea1386bb9cbaf4f04b875d3194c5b18cda2bdhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/785N1sdp mcp-scp scmi communication fix2023-05-09T09:26:32ZDarryl GreenN1sdp mcp-scp scmi communication fix*Created by: sah01Kaushal*
Patchset contains 3 patches -
n1sdp: Add configs for timer and gtimer in MCP RAM firmware
n1sdp: fix broken SCP-MCP SCMI communication
n1sdp: port to generic modules for MCP-SCP SCMI communication*Created by: sah01Kaushal*
Patchset contains 3 patches -
n1sdp: Add configs for timer and gtimer in MCP RAM firmware
n1sdp: fix broken SCP-MCP SCMI communication
n1sdp: port to generic modules for MCP-SCP SCMI communicationhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/784Multiple cases of explicit type casting unsigned int(uint32_t) to int2023-11-06T10:49:52ZDarryl GreenMultiple cases of explicit type casting unsigned int(uint32_t) to int*Created by: Sanchit-kumar*
Fixes #783 *Created by: Sanchit-kumar*
Fixes #783 https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/782scp: Update change_log for v2.12.02023-04-14T15:20:22ZDarryl Greenscp: Update change_log for v2.12.0*Created by: AhmedImbabyGadallah*
RDN2 platform fails to boot. As a consequence, a github issue is raised and a temporary workaround provided. This is mentioned in change_log.md within this patch.
*Created by: AhmedImbabyGadallah*
RDN2 platform fails to boot. As a consequence, a github issue is raised and a temporary workaround provided. This is mentioned in change_log.md within this patch.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/780Morello mcp-scp scmi communication fix2023-04-18T10:15:41ZDarryl GreenMorello mcp-scp scmi communication fix*Created by: sah01Kaushal*
Patchset contains 3 patches -
morello: Add configs for timer and gtimer in MCP RAM firmware
morello: fix broken SCP-MCP SCMI communication
morello: port to generic modules for MCP-SCP SCMI communication*Created by: sah01Kaushal*
Patchset contains 3 patches -
morello: Add configs for timer and gtimer in MCP RAM firmware
morello: fix broken SCP-MCP SCMI communication
morello: port to generic modules for MCP-SCP SCMI communicationhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/779cli: Prepend carriage return to line feed2023-04-06T14:06:38ZDarryl Greencli: Prepend carriage return to line feed*Created by: mohamedasaker-arm*
After c15ff7e9505e3544daa4ac5329f302e536fe7acf
which removes the prepending carriage return from the drivers. It moves the responsibility of prepending carriage return to the user of the driver. This pat...*Created by: mohamedasaker-arm*
After c15ff7e9505e3544daa4ac5329f302e536fe7acf
which removes the prepending carriage return from the drivers. It moves the responsibility of prepending carriage return to the user of the driver. This patch is adding this logic to the cli.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/778module/mhu3: fix bind function2023-08-07T10:14:45ZDarryl Greenmodule/mhu3: fix bind function*Created by: girishpathak*
In the mhu3_bind() function, the transport_api pointer variable is passed to the fwk_module_bind() instead of the pointer address. This causes an error when the framework bind function checks if the API pointe...*Created by: girishpathak*
In the mhu3_bind() function, the transport_api pointer variable is passed to the fwk_module_bind() instead of the pointer address. This causes an error when the framework bind function checks if the API pointer is NULL. This patch fixes this error.
Change-Id: I774b0ec5104232918b73602b54ce74a86617b185https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/777Release notes for SCP-firmware v2.122023-04-04T08:17:30ZDarryl GreenRelease notes for SCP-firmware v2.12*Created by: AhmedImbabyGadallah*
Update the change log to summarize the changes included in this release.
*Created by: AhmedImbabyGadallah*
Update the change log to summarize the changes included in this release.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/776Lb/fwk log2023-03-24T15:05:34ZDarryl GreenLb/fwk log*Created by: AhmedImbabyGadallah*
Rework fwk_log and fwk_io*Created by: AhmedImbabyGadallah*
Rework fwk_log and fwk_iohttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/775maintainers: Update list of maintainers2023-03-24T15:05:07ZDarryl Greenmaintainers: Update list of maintainers*Created by: khaledAhmed-arm*
Update core maintainers list.
Change-Id: I89c4c3060c41dfd58e3da98d3f37dfa1a48ab4e7*Created by: khaledAhmed-arm*
Update core maintainers list.
Change-Id: I89c4c3060c41dfd58e3da98d3f37dfa1a48ab4e7https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/774scmi_clock/test: invoke the message_handler directly2023-03-24T10:51:12ZDarryl Greenscmi_clock/test: invoke the message_handler directly*Created by: mohamedasaker-arm*
Instead of binding APIs invoke the message_handler directly. To remove unnecessary code and simplify the test.
Change-Id: Id440d4ca6d951877e78e74374f00877d78d8559c*Created by: mohamedasaker-arm*
Instead of binding APIs invoke the message_handler directly. To remove unnecessary code and simplify the test.
Change-Id: Id440d4ca6d951877e78e74374f00877d78d8559chttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/773scmi_clock: Return the SCMI agent's state instead of the physical state2023-03-22T23:59:25ZDarryl Greenscmi_clock: Return the SCMI agent's state instead of the physical state*Created by: mohamedasaker-arm*
The current method of reading the clock state calls the Clock HAL directly, which can cause inconsistencies between what is being read by Clock Hal and what is being set in the SCMI agent state table.
To...*Created by: mohamedasaker-arm*
The current method of reading the clock state calls the Clock HAL directly, which can cause inconsistencies between what is being read by Clock Hal and what is being set in the SCMI agent state table.
To address this, the existing `scmi_clock_get_agent_clock_state` helper function is used to read the clock state in relation to the requesting SCMI agent.
i.e. function returns the state expected by SCMI agent.
Change-Id: I8f0f00dc06eecd21803983837f3a7f27d0033723https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/772scmi_clock: clean up policy functions and return the SCMI agent's state inste...2023-03-23T11:53:12ZDarryl Greenscmi_clock: clean up policy functions and return the SCMI agent's state instead of the physical state*Created by: mohamedasaker-arm*
This patchset:
- cleans up the policy functions from the `scmi_clock` module. As seen in `c49f043`, due to the code complexity of the function can potentially introduce defects that can be difficult to...*Created by: mohamedasaker-arm*
This patchset:
- cleans up the policy functions from the `scmi_clock` module. As seen in `c49f043`, due to the code complexity of the function can potentially introduce defects that can be difficult to spot and maintain. Refactoring `mod_scmi_clock_config_set_policy` function also helps to reduce the number of function calls and processing time, which can improve performance and efficiency.
Furthermore, this commit refactors the module by removing all unnecessary parameters in helper functions.
In addition, removing the FWK_WEAK to enforce the current policy until further requirements.
- Return the SCMI agent's state instead of the physical state.
The current method of reading the clock state calls the Clock HAL directly, which can cause inconsistencies
between what is being read by Clock Hal and what is being set in the SCMI agent state table.
To address this, the existing `scmi_clock_get_agent_clock_state` helper function is used to read the clock
state in relation to the requesting SCMI agent. i.e. function returns the state expected by SCMI agent.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/771[RFC] Scp 2.11 dts build rfc 0032023-11-29T11:52:30ZDarryl Green[RFC] Scp 2.11 dts build rfc 003*Created by: mikel-armbb*
RFC - for device tree config
Updated version of configuration of SCP firmware build using device tree
Contains documentation in device_tree_support.md, alongside doxygen comments in fwk_devicetree.h and ...*Created by: mikel-armbb*
RFC - for device tree config
Updated version of configuration of SCP firmware build using device tree
Contains documentation in device_tree_support.md, alongside doxygen comments in fwk_devicetree.h and fwk_dt_config_common.h. These will all appear when documentation is built.
Multiple modules supplied as worked examples, using the updated build flow - significant changes since last PR.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/770docker: fix dependencies and broken links2023-03-15T10:35:15ZDarryl Greendocker: fix dependencies and broken links*Created by: leandro-arm*
This patch fixes all outdated dependencies and broken links.
ArmClang compiler 6 is not longer provided in the Docker image, if it is required the compiler directory should be mounted as a volumen in the spe...*Created by: leandro-arm*
This patch fixes all outdated dependencies and broken links.
ArmClang compiler 6 is not longer provided in the Docker image, if it is required the compiler directory should be mounted as a volumen in the specified location in the documentation.
LLVM was updated to the latest supported version by the firmware with the instalation script that build the compiler-rt assets.
For the `dev` taget an user was created following the recomendations from Docker documentation.
Change-Id: I28bc940fefa754796e98f473bdb1f85bd13cc683