SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2021-09-08T09:06:54Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/346module: dvfs: fix get_opp_for_voltage2021-09-08T09:06:54ZDarryl Greenmodule: dvfs: fix get_opp_for_voltage*Created by: vingu-linaro*
get_opp_for_voltage() should use voltage instead of level where looking
for an OPP.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>*Created by: vingu-linaro*
get_opp_for_voltage() should use voltage instead of level where looking
for an OPP.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/343Documentation fixes2020-10-02T13:19:46ZChris KayDocumentation fixesThis pull request normalises the formatting of the project's Doxygen documentation, bringing it back in line with the code style guidelines and making certain fixes required by more recent versions of Doxygen.This pull request normalises the formatting of the project's Doxygen documentation, bringing it back in line with the code style guidelines and making certain fixes required by more recent versions of Doxygen.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/340tc0: architecture changes2020-09-28T09:34:20ZDarryl Greentc0: architecture changes*Created by: uarif1*
This include the following changes:
- Memory and interrupt map changes
- use UART0 from RoS AP memory map
- Add a second scmi and mhuv2 channel
- Change memory configuration from having ITC and DTC RAM to having...*Created by: uarif1*
This include the following changes:
- Memory and interrupt map changes
- use UART0 from RoS AP memory map
- Add a second scmi and mhuv2 channel
- Change memory configuration from having ITC and DTC RAM to having just 1 RAM
- Change processor from Cortex-M7 to Cortex-M3https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/339tc0: apply clang-format to platform2020-09-25T12:33:27ZDarryl Greentc0: apply clang-format to platform*Created by: uarif1*
Any new patches apply clang-format to them.
This patch will allow consistency to entire platform.
Change-Id: I295b0e00eeb22affb97062a5fa243d0dafdd5654
Signed-off-by: Usama Arif <usama.arif@arm.com>*Created by: uarif1*
Any new patches apply clang-format to them.
This patch will allow consistency to entire platform.
Change-Id: I295b0e00eeb22affb97062a5fa243d0dafdd5654
Signed-off-by: Usama Arif <usama.arif@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/337fwk: Remove all FWK_LOG_TRACE code when LOG_LEVEL=TRACE not set2020-09-21T09:02:55ZDarryl Greenfwk: Remove all FWK_LOG_TRACE code when LOG_LEVEL=TRACE not set*Created by: jimqui01*
The logging framework does not remove the FWK_LOG_x code completely
when LEVEL_x is not set. This can lead to embedded code or macro's
being executed unnecessarily impacting performance.
Change-Id: I741b383cb...*Created by: jimqui01*
The logging framework does not remove the FWK_LOG_x code completely
when LEVEL_x is not set. This can lead to embedded code or macro's
being executed unnecessarily impacting performance.
Change-Id: I741b383cb74b2cf27740640769ea8f0fcd08fa2e
Signed-off-by: Jim Quigley <jim.quigley@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/336product/tc0: Add pd_id for pl011 module2020-09-18T13:26:05ZDarryl Greenproduct/tc0: Add pd_id for pl011 module*Created by: uarif1*
This is needed due to recently introduced changes in
mod_pl011 that perform safety check to see if the device
is powered on or off. The pl011 config is split
into ROM and RAM firmware as only RAM firmware has
po...*Created by: uarif1*
This is needed due to recently introduced changes in
mod_pl011 that perform safety check to see if the device
is powered on or off. The pl011 config is split
into ROM and RAM firmware as only RAM firmware has
power domain.
Change-Id: I877b8b3963e5a605acd8af0d771b9b61909fafaf
Signed-off-by: Usama Arif <usama.arif@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/335Platform/Product port for Morello2021-12-09T14:06:13ZDarryl GreenPlatform/Product port for Morello*Created by: anukou*
*Created by: anukou*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/334power_domain: Add check for get_last_core_pd_id2020-10-21T13:35:13ZDarryl Greenpower_domain: Add check for get_last_core_pd_id*Created by: leandro-arm*
This patch implements a validation check such that when the
get_last_core_pd_id() function is called by the driver, the
module returns an error if the system is not performing
system_supend.
Change-Id: Ie...*Created by: leandro-arm*
This patch implements a validation check such that when the
get_last_core_pd_id() function is called by the driver, the
module returns an error if the system is not performing
system_supend.
Change-Id: Ied3a2f17b2fb471933232c8209e4d3048c4a1e8b
Signed-off-by: Leandro Belli <leandro.belli@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/333product/tc0: Fix runtime errors for tc02020-09-10T10:51:03ZDarryl Greenproduct/tc0: Fix runtime errors for tc0*Created by: uarif1*
This include:
- Changing DVFS frequencies from MHz to KHz inline with recently updated DVFS module
- Not initializing NULL elements, which is not allowed after early module context initializations
- Not setting...*Created by: uarif1*
This include:
- Changing DVFS frequencies from MHz to KHz inline with recently updated DVFS module
- Not initializing NULL elements, which is not allowed after early module context initializations
- Not setting permissions for SCMI clock, DPU requires access to SCMI clockhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/332Assorted fixes2020-09-08T18:49:37ZDarryl GreenAssorted fixes*Created by: Sevenarth*
*Created by: Sevenarth*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/331tools/gen_module_code: atomically rewrite the generated files2020-09-08T16:02:50ZRoss Burtontools/gen_module_code: atomically rewrite the generated filesThe gen_module rule in rules.mk is marked as .PHONY, so make will
execute it whenever it is mentioned. This results in gen_module_code
being executed 64 times for a Juno build.
However in heavily parallel builds there's a good chanc...The gen_module rule in rules.mk is marked as .PHONY, so make will
execute it whenever it is mentioned. This results in gen_module_code
being executed 64 times for a Juno build.
However in heavily parallel builds there's a good chance that
gen_module_code is writing a file whilst the compiler is reading it
because make also doesn't know what files are generated by
gen_module_code.
The correct fix is to adjust the Makefiles so that the dependencies are
correct but this isn't trivial, so band-aid the problem by atomically
writing the generated files.
Change-Id: I82d44f9ea6537a91002e1f80de8861d208571630
Signed-off-by: Ross Burton <ross.burton@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/328Topics/notification transitions2020-09-08T11:51:13ZDarryl GreenTopics/notification transitions*Created by: girishpathak*
This change allows a platform to configure pre and post state
transition notifications to be disabled for a power domain.
As an example, a change for Juno platform is also included with this
change.*Created by: girishpathak*
This change allows a platform to configure pre and post state
transition notifications to be disabled for a power domain.
As an example, a change for Juno platform is also included with this
change.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/329rules.mk: correct BUILD_PATH to allow build irrespective of format2020-09-08T11:50:50ZDarryl Greenrules.mk: correct BUILD_PATH to allow build irrespective of format*Created by: uarif1*
Without this patch, the BUILD_PATH cannot end with a /.
With this patch, the end of BUILD_PATH does not matter.
BUILD_PATH can be automatically generated by build systems,
so it is important that any format is su...*Created by: uarif1*
Without this patch, the BUILD_PATH cannot end with a /.
With this patch, the end of BUILD_PATH does not matter.
BUILD_PATH can be automatically generated by build systems,
so it is important that any format is supported.
Change-Id: Iba306f8ac29a528fa6a7dc0a37e3c3b7ef7d0309
Signed-off-by: Usama Arif <usama.arif@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/325Add I/O framework2020-09-08T10:37:55ZChris KayAdd I/O frameworkThis pull requests adds the input/output framework, which integrates a byte-stream I/O API into the framework. In addition, both the logging and CLI components have been ported to utilize these new APIs.This pull requests adds the input/output framework, which integrates a byte-stream I/O API into the framework. In addition, both the logging and CLI components have been ported to utilize these new APIs.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/330scmi_sensor: Fix get readings invalid flags response2020-09-07T14:45:26ZDarryl Greenscmi_sensor: Fix get readings invalid flags response*Created by: Sevenarth*
The READING_GET command currently accepts any value
in the bits 31:1 in its flags. According to the SCMI
v2 specs these bits are reserved and must be zero.
This commit ensures that the command returns
SCMI_IN...*Created by: Sevenarth*
The READING_GET command currently accepts any value
in the bits 31:1 in its flags. According to the SCMI
v2 specs these bits are reserved and must be zero.
This commit ensures that the command returns
SCMI_INVALID_PARAMETERS when any of those bits are set.
Change-Id: I8d0c486d6aa0a2df8c13b8d3f7319606402dd729
Signed-off-by: Luca Vizzarro <Luca.Vizzarro@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/326Topics/scmi notifications v22020-09-01T15:26:11ZDarryl GreenTopics/scmi notifications v2*Created by: girishpathak*
1. This change adds new SCMI notifications API.
2. Updates scmi_perf and scmi_reset_domain SCMI notifications handling using new API.
3. Adds notification support to mod_scmi_power_domain.*Created by: girishpathak*
1. This change adds new SCMI notifications API.
2. Updates scmi_perf and scmi_reset_domain SCMI notifications handling using new API.
3. Adds notification support to mod_scmi_power_domain.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/327module/scmi_reset_domain: Fix broken build with reset enabled2020-09-01T14:56:08ZDarryl Greenmodule/scmi_reset_domain: Fix broken build with reset enabled*Created by: girishpathak*
The latest patches and rebase has revealed dependency of
internal/scmi_reset_domain.h on stdint.h. This change
fixes this.
Change-Id: I0b241d0b4d1ad5f99ce00ff99ab1a9094e2ce97d
Signed-off-by: Girish Patha...*Created by: girishpathak*
The latest patches and rebase has revealed dependency of
internal/scmi_reset_domain.h on stdint.h. This change
fixes this.
Change-Id: I0b241d0b4d1ad5f99ce00ff99ab1a9094e2ce97d
Signed-off-by: Girish Pathak <girish.pathak@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/324host: Remove support for multithreading2020-08-28T18:33:39ZChris Kayhost: Remove support for multithreadingThe current host architecture supports a custom CMSIS-RTOS2 layer that
interfaces with the host system implementation of pthreads.
Given the host product can now be run in single-threaded mode, the extra
maintenance required to keep...The current host architecture supports a custom CMSIS-RTOS2 layer that
interfaces with the host system implementation of pthreads.
Given the host product can now be run in single-threaded mode, the extra
maintenance required to keep the multi-threaded version functioning is
prohibitive, especially with frequent changes to the framework.
This commit switches the `host` product's `fw` firmware to
single-threaded mode, and removes support for building the `host`
architecture in multi-threaded mode.
Change-Id: I59a7db0eb0f2bb70614c1fe4aca3f482662976f3
Signed-off-by: Chris Kay <chris.kay@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/322Miscellaneous framework modifications2020-08-28T16:15:48ZChris KayMiscellaneous framework modificationsThis pull request consists of a set of miscellaneous modifications to the framework in preparation for the addition of the I/O framework.This pull request consists of a set of miscellaneous modifications to the framework in preparation for the addition of the I/O framework.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/317framework: set event count from notification count2020-08-28T14:57:13ZDarryl Greenframework: set event count from notification count*Created by: vijayenthiran-arm*
The default value of EVENT_COUNT is set to 64. On platforms that
requires larger number of notification subscriptions (192 for example),
EVENT_COUNT of 64 will not be sufficient. When platform sets the
...*Created by: vijayenthiran-arm*
The default value of EVENT_COUNT is set to 64. On platforms that
requires larger number of notification subscriptions (192 for example),
EVENT_COUNT of 64 will not be sufficient. When platform sets the
max notification count greater than 64, set the EVENT_COUNT to
max notification count to account for additional events due to increased
notifications.
Change-Id: I9370703b47268c08d3f8bfb32b21f07b8b5370f7
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>