SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2024-03-21T17:05:57Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/932scmi_perf: Migrate relevant platforms to use re-factored fast channels implem...2024-03-21T17:05:57ZMd Golam Tanvir Zimscmi_perf: Migrate relevant platforms to use re-factored fast channels implementationThis MR
- Enables all relevant platforms to use re-factored fast channel implementation which uses transport layer based fast channels.
- Removes the previous implementation of fast channels.
- Changes the implementation of Fast channel...This MR
- Enables all relevant platforms to use re-factored fast channel implementation which uses transport layer based fast channels.
- Removes the previous implementation of fast channels.
- Changes the implementation of Fast channels into per domain.Md Golam Tanvir ZimMd Golam Tanvir Zimhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/931Add GitHub Actions to mirror GitLab repo2024-02-15T13:13:43ZLeandro Bellileandro.belli@arm.comAdd GitHub Actions to mirror GitLab repoThe SCP-firmware GitHub repo is now a read-only mirror. A new GitHub
Actions is added to mirror the GitHub repo to SCP-firmware GitLab repo.
The action will fetch GitLab main branch and force push to GitHub
master branch. This will run e...The SCP-firmware GitHub repo is now a read-only mirror. A new GitHub
Actions is added to mirror the GitHub repo to SCP-firmware GitLab repo.
The action will fetch GitLab main branch and force push to GitHub
master branch. This will run every day at 8 AM.
Signed-off-by: Wen Ping Teh <wenping.teh@arm.com>
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: Ie58b997ee0a5de3c7c20c6f73dd85d589e2d40efhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/930Add code coverage for framework tests2024-02-15T12:10:28ZLeandro Bellileandro.belli@arm.comAdd code coverage for framework testsThis patch adds code coverage for framework unit tests. The
output information can be found under `<BUILD_DIR>/framework/test`.
To avoid collisions between framework test code coverage and
module test code coverage, the output directory ...This patch adds code coverage for framework unit tests. The
output information can be found under `<BUILD_DIR>/framework/test`.
To avoid collisions between framework test code coverage and
module test code coverage, the output directory for module tests
is changed to `<BUILD_DIR>/module/unit_test` instead of `<BUILD_DIR>`.
A new ENABLE_COVERAGE flag to the Makefile
wrapper, allowing for conditional generation of code coverage reports
for `fwk_test` and `mod_test` targetshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/929power_domain: expanding power domain unit tests2024-02-15T11:08:17ZKatherine Vincentpower_domain: expanding power domain unit testsAdding unit tests to cover the functions within the power domain
state checks file and to expand those already covering the mod_power_domain file.
Signed-off-by: Katherine Vincent <katherine.vincent@arm.com>
Change-Id: Ie3459ba71a901abe...Adding unit tests to cover the functions within the power domain
state checks file and to expand those already covering the mod_power_domain file.
Signed-off-by: Katherine Vincent <katherine.vincent@arm.com>
Change-Id: Ie3459ba71a901abe9ed5313a4664265fe0d65471https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/928scp: Update maintainers references to Gitlab2024-02-14T16:24:50ZNicola Mazzucatoscp: Update maintainers references to GitlabUpdate the maintainers' references from Github URLs to
Gitlab ones.
At the same time, update Platform Maintainers and remove
all the users' email address.
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: If14ad62067...Update the maintainers' references from Github URLs to
Gitlab ones.
At the same time, update Platform Maintainers and remove
all the users' email address.
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Change-Id: If14ad62067c5148d31436f40657ff43d0e063c09https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/927tc2: Reserve memory for RSS's SDS region2024-02-13T09:11:57ZDávid Vinczetc2: Reserve memory for RSS's SDS regionRSS needs to share data with AP during early boot over
shared memory to support DPE. Reserve a memory region
right after the SCMI secure payload areas from unused
memory.
Signed-off-by: David Vincze <david.vincze@arm.com>
Change-Id: I3a...RSS needs to share data with AP during early boot over
shared memory to support DPE. Reserve a memory region
right after the SCMI secure payload areas from unused
memory.
Signed-off-by: David Vincze <david.vincze@arm.com>
Change-Id: I3a2de66dc03f831cab90a81f56fae4a0a6067523https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/926tools/check_copyright: fix default commit hash id2024-02-09T15:04:23ZLeandro Bellileandro.belli@arm.comtools/check_copyright: fix default commit hash idThis patches fixes the default commit hash ID to use when no argument is provided.This patches fixes the default commit hash ID to use when no argument is provided.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/925RFC for set of changes to allow SCP firmware configuration of modules to use ...2024-02-07T19:01:17ZMike LeachRFC for set of changes to allow SCP firmware configuration of modules to use device tree as input source.This set of changes adds in tooling and adjusts build flow to allow modules to be configured using device tree elements instead of direct programming of configuration structures.
Provides example in the form of changes to the Juno produ...This set of changes adds in tooling and adjusts build flow to allow modules to be configured using device tree elements instead of direct programming of configuration structures.
Provides example in the form of changes to the Juno product.
The build flow processes an input device tree, using python libraries taken from the Zephyr project, to create a set of macros representing values in the device tree sources. These values are then extracted at compile time using a set of APIs (also in macro form) to populate the data structures previously hand written as C code.
This process makes module configuration code re-useable.
Modules to use DT as a configuration mechanism can be selected on a per product basis, allowing a mix of DT and traditional module configuration. This further allows modules to be converted on an as needed basis.
Documentation explaining the new build flow and conventions used is provided.Mike LeachMike Leachhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/924Tools enhancement and modularization2024-02-07T17:06:03ZLeandro Bellileandro.belli@arm.comTools enhancement and modularizationThis merge request introduces significant improvements to various tool scripts.
Key updates include adding a `YAML` configuration file for build checks, updating `check_style.py` for code style verification, and creating a unified `utils...This merge request introduces significant improvements to various tool scripts.
Key updates include adding a `YAML` configuration file for build checks, updating `check_style.py` for code style verification, and creating a unified `utils` module for consistent test result handling.
Other enhancements involve modularization and readability improvements in scripts like `check_api.py`, `check_copyright.py` and `check_spacing.py`, along with integrating file filtering and result logging functionalities.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/923fix missing prototypes issues in framework and modules msg-smt, power_domain ...2024-03-15T09:43:43ZEtienne Carriereetienne.carriere@st.comfix missing prototypes issues in framework and modules msg-smt, power_domain and scmi_perfFixes several missing prototypes issues.
These changes fixes framework, module/msg-smt, module/power_domain and module/scmi_perf.
I found equivalent issues in module/scmi but it is less straightforward to address (unless I missed someth...Fixes several missing prototypes issues.
These changes fixes framework, module/msg-smt, module/power_domain and module/scmi_perf.
I found equivalent issues in module/scmi but it is less straightforward to address (unless I missed something) due to dependencies from test implementation of module/scmi_sensor_req and module/scmi_system_power_req. I'll try to address these in a dedicated merge request.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/922module/optee: Introduce OP-TEE psu_regulator module2024-03-19T14:09:51ZEtienne Carriereetienne.carriere@st.commodule/optee: Introduce OP-TEE psu_regulator moduleImplement an OP-TEE PSU regulator module for power supply unit access
through OP-TEE voltage regulators. This allows OP-TEE to leverage DVFS
support through SCMI performance management protocol.
Signed-off-by: Etienne Carriere <etienne....Implement an OP-TEE PSU regulator module for power supply unit access
through OP-TEE voltage regulators. This allows OP-TEE to leverage DVFS
support through SCMI performance management protocol.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/921module/optee/voltd_regulator: fix regulator_supported_voltages()2024-03-15T03:08:51ZEtienne Carriereetienne.carriere@st.commodule/optee/voltd_regulator: fix regulator_supported_voltages()Update regulator_supported_voltages() to the function API changes
merged in OP-TEE, see link reference.
Change-Id: I2684d7b7f64fedae571770948c8315a455157007
Link: https://github.com/OP-TEE/optee_os/commit/ace929f0e4ddad4ff458a51661cd852...Update regulator_supported_voltages() to the function API changes
merged in OP-TEE, see link reference.
Change-Id: I2684d7b7f64fedae571770948c8315a455157007
Link: https://github.com/OP-TEE/optee_os/commit/ace929f0e4ddad4ff458a51661cd8524f39c79e8
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/920module/optee/clock: Report clock duty cycle2024-03-14T14:48:37ZEtienne Carriereetienne.carriere@st.commodule/optee/clock: Report clock duty cycleImplement get_duty_cycle clock operation in module optee/clock.
Change-Id: I4fb43a82116a12bd21d89878275b83c0737208c0
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>Implement get_duty_cycle clock operation in module optee/clock.
Change-Id: I4fb43a82116a12bd21d89878275b83c0737208c0
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/919module/optee/clock: fix device error cases2024-02-12T17:42:00ZEtienne Carriereetienne.carriere@st.commodule/optee/clock: fix device error casesAdd several missing tests on error return codes from OP-TEE clock API
functions.
Change-Id: Ia43134da655437fa35858f8197b239c84713faf9
Fixes: 06f4e9932ed0 ("module/optee: Add optee clock module")
Signed-off-by: Etienne Carriere <etienne....Add several missing tests on error return codes from OP-TEE clock API
functions.
Change-Id: Ia43134da655437fa35858f8197b239c84713faf9
Fixes: 06f4e9932ed0 ("module/optee: Add optee clock module")
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/918Add SMCF config mode setting for individual MLIs2024-03-14T22:58:07ZAbhishek RawatAdd SMCF config mode setting for individual MLIsThis change allows SMCF to set individual config values
for MLI(s). Currently SMCF only allows config mode setting
for MGI and while doing so, it broadcast the value to all
enabled MLI(s) connected to the parent MGI.
Signed-off-by: Abhi...This change allows SMCF to set individual config values
for MLI(s). Currently SMCF only allows config mode setting
for MGI and while doing so, it broadcast the value to all
enabled MLI(s) connected to the parent MGI.
Signed-off-by: Abhishek Rawat <abhishek.rawat@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/917module/mhu3: Include module in module path2024-02-02T16:18:01ZAlex Dobrescumodule/mhu3: Include module in module pathneoverse-rd/rdfremont is also updated
Signed-off-by: Alex Dobrescu <alex.dobrescu@arm.com>
Change-Id: Ifdc53fb165c8a362f76759fa72c8ac26687e8c5aneoverse-rd/rdfremont is also updated
Signed-off-by: Alex Dobrescu <alex.dobrescu@arm.com>
Change-Id: Ifdc53fb165c8a362f76759fa72c8ac26687e8c5ahttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/916fwk: Allow building without .git2024-02-12T14:24:32ZEtienne Carriereetienne.carriere@st.comfwk: Allow building without .gitAllow building of scp-firmware when there is not Git information
available in scp-firmware source tree. This situation occurs with
distribution or development environments that use a scp-firmware
source tree tarball that do not content G...Allow building of scp-firmware when there is not Git information
available in scp-firmware source tree. This situation occurs with
distribution or development environments that use a scp-firmware
source tree tarball that do not content Git information.
When there is no .git entry at scp-firmware root directory, the git
describe command returns an error message (below), preventing to build
the sources:
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Change-Id: Ia8e620f74054066e1c7b2336367e8ef71a60a0fe
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/915module/ATU: Add if guards when a variable is unused2024-01-29T21:07:48ZLeandro Bellileandro.belli@arm.commodule/ATU: Add if guards when a variable is unusedThis patch prevents the definition of `atu_roba_name` when it is
unused to avoid compilation errors at different log levels.
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: I6dc2e7596d5f0c619a254dd464da26b12394ed71This patch prevents the definition of `atu_roba_name` when it is
unused to avoid compilation errors at different log levels.
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: I6dc2e7596d5f0c619a254dd464da26b12394ed71https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/914neoverse-rd: add support for configuring gtimer system counter impdef registers2024-01-29T18:06:26ZThomas Abrahamneoverse-rd: add support for configuring gtimer system counter impdef registersThis patch series adds support for configuring the gtimer's system counter implementation defined registers. This support is then used to configure the system counter increment value per-tick for the RD-N2 and RD-Fremont platforms. There...This patch series adds support for configuring the gtimer's system counter implementation defined registers. This support is then used to configure the system counter increment value per-tick for the RD-N2 and RD-Fremont platforms. There are also patches that clean up the refclk frequency definition for RD-N2 and platform variants.Tarek El-SherbinyTarek El-Sherbinyhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/913fwk/assert: print location of assertion2024-01-25T21:53:32ZVijayenthiran Subramaniamfwk/assert: print location of assertionfwk_assert which is called from several framework and module functions,
enters trap loop silently if condition passed to it fails, without
providing any information about the failure in the debug builds. Such
cases will be hard to debug ...fwk_assert which is called from several framework and module functions,
enters trap loop silently if condition passed to it fails, without
providing any information about the failure in the debug builds. Such
cases will be hard to debug in case of unavailability of a debugger or
textual trace output. Print the file name and line number to know the
location of assertion before entering infinite loop.
Change-Id: I9ff067178373c8c38ecfd25d9efc322b3d393ed3
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>