SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2023-03-16T10:08:42Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/768scmi_clock: Fix policy reference counter mismatch2023-03-16T10:08:42ZDarryl Greenscmi_clock: Fix policy reference counter mismatch*Created by: leandro-arm*
The reference count for each clock is stored into an internal array, clock_count[], whose size is "number of available clocks" (not SCMI).
In that table, we are mistakenly using an index that is taken from t...*Created by: leandro-arm*
The reference count for each clock is stored into an internal array, clock_count[], whose size is "number of available clocks" (not SCMI).
In that table, we are mistakenly using an index that is taken from the agent's number of clocks. That leads to a mismatch of clock reference count in some cases.
Fix this by using the clock index that corresponds to the agent's device index to determine to correct location in clock_count[] table to update the reference count.
At the same time, clean-up some of the variables' name to ease the readability of the various clocks.
Change-Id: I9819891fe2237abb252764dadd4a1d36302bc4bfhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/766morello: Populate silicon revision in the SDS structure2023-03-08T17:05:41ZDarryl Greenmorello: Populate silicon revision in the SDS structure*Created by: chandnich*
Populate plat_info structure with the silicon revision which is fetched from the SCP2PCC module.
Change-Id: I1168789630f85c25dc48364468e0bbd997391587*Created by: chandnich*
Populate plat_info structure with the silicon revision which is fetched from the SCP2PCC module.
Change-Id: I1168789630f85c25dc48364468e0bbd997391587https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/764SCMI-Perf: Fixes and Unit testing2023-06-01T20:03:51ZDarryl GreenSCMI-Perf: Fixes and Unit testing*Created by: nicola-mazzucato-arm*
This PR brings a couple of fixes and initial unit-testing for the plugins-handler extension.*Created by: nicola-mazzucato-arm*
This PR brings a couple of fixes and initial unit-testing for the plugins-handler extension.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/761Fix buffered log output behaviour2023-02-16T15:34:23ZDarryl GreenFix buffered log output behaviour*Created by: leandro-arm*
This PR contains two patches to fix buffered logging issues. The first patch resolves incomplete logging when `SCP_ENABLE_SUB_SYSTEM_MODE` is enabled, while the second patch prevents the system from being suspe...*Created by: leandro-arm*
This PR contains two patches to fix buffered logging issues. The first patch resolves incomplete logging when `SCP_ENABLE_SUB_SYSTEM_MODE` is enabled, while the second patch prevents the system from being suspended when there are elements in the output log buffer ready to be printed.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/760Total Compute: Add build variant for TC2 & deprecate TC02023-06-01T20:03:52ZDarryl GreenTotal Compute: Add build variant for TC2 & deprecate TC0*Created by: nicola-mazzucato-arm*
With this PR we add a build variant `EXPERIMENT_POWER` for TC2 and we deprecate TC0.
Guidance for deprecation is also added.*Created by: nicola-mazzucato-arm*
With this PR we add a build variant `EXPERIMENT_POWER` for TC2 and we deprecate TC0.
Guidance for deprecation is also added.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/759Add ci test for rdn2-cfg3 variant.2023-02-06T16:25:59ZDarryl GreenAdd ci test for rdn2-cfg3 variant.*Created by: tonykn-arm*
*Created by: tonykn-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/758platform/rdn2: Enable soc expansion block on RD-N2-Cfg22023-02-06T11:29:10ZDarryl Greenplatform/rdn2: Enable soc expansion block on RD-N2-Cfg2*Created by: vivgau01*
Enable CMN and PCIe integration control configurations for memory regions of SoC expansion block that is connected to IO virtualization block #1 on RD-N2-Cfg2 platform. This will allow to enumerate the devices pre...*Created by: vivgau01*
Enable CMN and PCIe integration control configurations for memory regions of SoC expansion block that is connected to IO virtualization block #1 on RD-N2-Cfg2 platform. This will allow to enumerate the devices present in SoC expansion block on RD-N2-Cfg2 platform.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/753doc/code_rules: Replace block \code highlighters with ```c2023-01-25T16:20:56ZDarryl Greendoc/code_rules: Replace block \code highlighters with ```c*Created by: AndyJGraham*
We want to use the proper Syntax Highlighting for C-like code blocks and that also align with what we have in code_style.md.
Change-Id: Icd3c2b1d8978b704cd02665275f9f6523c00a58f
Signed-off-by: Andrew Graham...*Created by: AndyJGraham*
We want to use the proper Syntax Highlighting for C-like code blocks and that also align with what we have in code_style.md.
Change-Id: Icd3c2b1d8978b704cd02665275f9f6523c00a58f
Signed-off-by: Andrew Graham <andrew.graham@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/755power_domain: Fix return status for notify_warm_reset2023-01-30T15:11:38ZDarryl Greenpower_domain: Fix return status for notify_warm_reset*Created by: nicola-mazzucato-arm*
notify_warm_reset returns `false` when notifications are not enabled, while it should return an integer and not a boolean.
Return FWK_SUCCESS when framework notifications are not available instead.
...*Created by: nicola-mazzucato-arm*
notify_warm_reset returns `false` when notifications are not enabled, while it should return an integer and not a boolean.
Return FWK_SUCCESS when framework notifications are not available instead.
Change-Id: Ib2519e07e9dcd648a8b608c5bcc77d0a81986e57
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/754SCMI-Performance: Add Unit tests2023-01-25T16:19:18ZDarryl GreenSCMI-Performance: Add Unit tests*Created by: nicola-mazzucato-arm*
This PR adds Unit Testing for SCMI-Performance.*Created by: nicola-mazzucato-arm*
This PR adds Unit Testing for SCMI-Performance.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/752Gemfile: Update file2023-01-25T15:04:23ZDarryl GreenGemfile: Update file*Created by: nicola-mazzucato-arm*
chef-utils, mixlib-config and tomlrb are updated as result of latest "bundle update".
Change-Id: Ia6cef2328429c7cc79c05b2f740a9b25bc0a01ea
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>*Created by: nicola-mazzucato-arm*
chef-utils, mixlib-config and tomlrb are updated as result of latest "bundle update".
Change-Id: Ia6cef2328429c7cc79c05b2f740a9b25bc0a01ea
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/737module: cmake: add option to replace modules2022-12-12T15:58:56ZDarryl Greenmodule: cmake: add option to replace modules*Created by: Joe-Zhucg*
Some platforms have special feature need to slightly modify upstream module. Add option to replace with the module defined in product path.
Change-Id: I1dc89ca49eecb1f2fb2e2537234cea7f98116c1c
Signed-off-by: ...*Created by: Joe-Zhucg*
Some platforms have special feature need to slightly modify upstream module. Add option to replace with the module defined in product path.
Change-Id: I1dc89ca49eecb1f2fb2e2537234cea7f98116c1c
Signed-off-by: Joe Zhu <Chunguang.Zhu@verisilicon.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/750fwk: add FWK_TRACE2023-01-19T14:44:48ZDarryl Greenfwk: add FWK_TRACE*Created by: leandro-arm*
This patchset adds `FWK_TRACE` functionality and includes
an example to use it.
It also renames `TRACE` to `DEBUG` because in further patches
a new functionallity for tracing will be introduced and having
...*Created by: leandro-arm*
This patchset adds `FWK_TRACE` functionality and includes
an example to use it.
It also renames `TRACE` to `DEBUG` because in further patches
a new functionallity for tracing will be introduced and having
the same name for both could cause confusion.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/740CMN-600 fixes2023-01-06T14:45:45ZDarryl GreenCMN-600 fixes*Created by: baruchsiach*
Two small fixes.*Created by: baruchsiach*
Two small fixes.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/749doc: Add security.md file.2023-01-19T11:28:43ZDarryl Greendoc: Add security.md file.*Created by: katvin01*
A security.md file has been added to add details of the SCP-firmware security process.
Signed-off-by: Katherine Vincent <katherine.vincent@arm.com>
Change-Id: Ia7c4d9e50e85ebc6844e255730a6e6a9d0721aca*Created by: katvin01*
A security.md file has been added to add details of the SCP-firmware security process.
Signed-off-by: Katherine Vincent <katherine.vincent@arm.com>
Change-Id: Ia7c4d9e50e85ebc6844e255730a6e6a9d0721acahttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/748scmi_perf: add logs when multiple fast channels events are queued2023-01-10T17:50:31ZDarryl Greenscmi_perf: add logs when multiple fast channels events are queued*Created by: leandro-arm*
This patch adds a log message when multiple fast channels events are pending to be processed. This will allow to identify issues related with the processing time of performance plugins when they are configured....*Created by: leandro-arm*
This patch adds a log message when multiple fast channels events are pending to be processed. This will allow to identify issues related with the processing time of performance plugins when they are configured.
It is also increased the log level from `TRACE` to `ERROR` when it is not possible to create a fast channels process event.
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: I154735381342a363c101209122c15c5e562983b0https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/747Misc: user_guide, tools and codestyle2023-01-19T17:11:15ZDarryl GreenMisc: user_guide, tools and codestyle*Created by: nicola-mazzucato-arm*
This PR bring miscellaneous improvements for code_style, tools and user_guide.*Created by: nicola-mazzucato-arm*
This PR bring miscellaneous improvements for code_style, tools and user_guide.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/746tools: Update unit-test related checks2023-01-05T09:53:17ZDarryl Greentools: Update unit-test related checks*Created by: tarek-arm*
It should be possible to add multiple unit-test files for one module. Each file must be in a separate subdirectory under the module test directory. The tools checking for spacing, tabs, and copyright must conside...*Created by: tarek-arm*
It should be possible to add multiple unit-test files for one module. Each file must be in a separate subdirectory under the module test directory. The tools checking for spacing, tabs, and copyright must consider this configuration.
Signed-off-by: Tarek El-Sherbiny <tarek.el-sherbiny@arm.com>
Change-Id: If02db0f0c190736b193494109915eb6e0f8ec592https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/745Remove all `makefile` deprecated files2022-12-29T16:33:15ZDarryl GreenRemove all `makefile` deprecated files*Created by: leandro-arm*
This patch set removes all `Makefile` related files since they are deprecated and non longer maintained. It also removes deprecated references in documentation and updates `cmake_readme.md`*Created by: leandro-arm*
This patch set removes all `Makefile` related files since they are deprecated and non longer maintained. It also removes deprecated references in documentation and updates `cmake_readme.md`https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/742product/optee-fvp: fix scmi clock init state2023-01-25T14:54:55ZDarryl Greenproduct/optee-fvp: fix scmi clock init state*Created by: vingu-linaro*
Align SCMI clock init value with MOCK clock and system PLL which are enabled by default.
SCMI compliance test fails without this change.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>*Created by: vingu-linaro*
Align SCMI clock init value with MOCK clock and system PLL which are enabled by default.
SCMI compliance test fails without this change.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>