SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2022-06-24T14:18:39Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/663thermal-mgmt: add thermal domains and temperature protection2022-06-24T14:18:39ZDarryl Greenthermal-mgmt: add thermal domains and temperature protection*Created by: leandro-arm*
*Created by: leandro-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/664Add optee os arch and product2022-11-30T11:52:37ZDarryl GreenAdd optee os arch and product*Created by: vingu-linaro*
This P-R integrates the changes that we have made in SCP firmware in order to make it run as a pseudo Trusted Application in OP-TEE env.
SCP-Firmware is integrated as a sub-module of op_tee-os. this PR has ...*Created by: vingu-linaro*
This P-R integrates the changes that we have made in SCP firmware in order to make it run as a pseudo Trusted Application in OP-TEE env.
SCP-Firmware is integrated as a sub-module of op_tee-os. this PR has been tested with : https://github.com/vingu-linaro/optee_os/tree/scmi-over-optee.
This has been tested on FVP arm64 and stm32.
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/661fwk: Return a value from a non-void function2022-06-22T17:53:13ZDarryl Greenfwk: Return a value from a non-void function*Created by: sudeep-holla*
Some compilers complain the return type error as below.
| arch/none/host/include/arch_helpers.h: In function ‘arch_interrupts_disable’:
| arch/none/host/include/arch_helpers.h:25:1: error: no return stat...*Created by: sudeep-holla*
Some compilers complain the return type error as below.
| arch/none/host/include/arch_helpers.h: In function ‘arch_interrupts_disable’:
| arch/none/host/include/arch_helpers.h:25:1: error: no return statement in
| function returning non-void [-Werror=return-type]
Fix the same.
Change-Id: Ia3343fbbea57ae783b272f0c4db05a7060256f85
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/658sensor: typedef included to give signed or unsigned value options2022-06-22T17:30:45ZDarryl Greensensor: typedef included to give signed or unsigned value options*Created by: katvin01*
The changes in this patch are to introduce a typedef, which will
allow either signed or unsigned sensor values. This new typedef is
used to be able to conditionally support int64, allowing the
introduction of n...*Created by: katvin01*
The changes in this patch are to introduce a typedef, which will
allow either signed or unsigned sensor values. This new typedef is
used to be able to conditionally support int64, allowing the
introduction of negative value sensors.
It will be automatically enabled with SCMI-sensor-v2, however it
can also be enabled on its own using with the cmake tag
SCP_ENABLE_SENSOR_SIGNED_VALUE.
Existing platforms that cannot handle signed values will return
FWK_E_SUPPORT when the above build options are set.
Signed-off-by: Katherine Vincent <katherine.vincent@arm.com>
Change-Id: I0f24e31d4bc3861b1724d814e866ef97f09c4b88https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/659juno: Fix the number of rates returns for triplet rate array format2022-07-12T13:00:43ZDarryl Greenjuno: Fix the number of rates returns for triplet rate array format*Created by: sudeep-holla*
As per the specification, the number of rates should be 3 if the triplet rate
array format(bit[12]) is set.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Change-Id: Ia7c3299b8327ec0a50923941c1e9a11e8...*Created by: sudeep-holla*
As per the specification, the number of rates should be 3 if the triplet rate
array format(bit[12]) is set.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Change-Id: Ia7c3299b8327ec0a50923941c1e9a11e80fcc504https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/654n1sdp: Move sensor library out of SCP code base2022-06-06T11:04:59ZDarryl Greenn1sdp: Move sensor library out of SCP code base*Created by: sah01Kaushal*
*Created by: sah01Kaushal*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/656FWU: synquacer: Add FWU Multi Bank Update and BL2 boot support2022-06-27T10:51:03ZDarryl GreenFWU: synquacer: Add FWU Multi Bank Update and BL2 boot support*Created by: masahisak*
Add FWU Multi Bank Update and boot BL2 from FIP image support for
SynQuacer platform.
When the DSW 3-4 is on, SynQuacer platform will decode FWU metadata
and platform metadata to choose the active bank of th...*Created by: masahisak*
Add FWU Multi Bank Update and boot BL2 from FIP image support for
SynQuacer platform.
When the DSW 3-4 is on, SynQuacer platform will decode FWU metadata
and platform metadata to choose the active bank of the FIP image
and boot BL2 from it.
This also enables the platform trial boot, which count up the boot
counter in the platform metadata, and when it reaches to the limit
(== 3) it switch back to the previous active bank. This counter will
stop when the BL33 (typically U-Boot) clears the counter.
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Change-Id: I00b9c932fac5b4a9a231fcf2a050b766abefed61https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/655SCMI: Rename BUILD_HAS_FAST_CHANNELS with _SCMI_PERF_2022-06-27T10:20:07ZDarryl GreenSCMI: Rename BUILD_HAS_FAST_CHANNELS with _SCMI_PERF_*Created by: nicola-mazzucato-arm*
The FastChannels functionality was introduced a while back to support
SCMI FastChannels as per SCMI spec v2.0. At that time only the
Performance protocol could advertise such support.
Now with the r...*Created by: nicola-mazzucato-arm*
The FastChannels functionality was introduced a while back to support
SCMI FastChannels as per SCMI spec v2.0. At that time only the
Performance protocol could advertise such support.
Now with the recent version 3.1[1] of the SCMI spec,also the Power
Capping protocol can support FastChannels.
It is now time to reflect which protocol the current FastChannel
support refers to, by adding _SCMI_PERF_ to its definition.
So:
- SCP_ENABLE_FAST_CHANNELS becomes SCP_ENABLE_SCMI_PERF_FAST_CHANNELS
- BUILD_HAS_FAST_CHANNELS becomes BUILD_HAS_SCMI_PERF_FAST_CHANNELS
This will allow precise inclusion of protocol-specific support for
SCMI FastChannels.
As a reminder, the CMake build option will become:
make -f Makefile.cmake \
MODE=<mode> \
TOOLCHAIN=<toolchain> \
PRODUCT=<product> \
EXTRA_CONFIG_ARGS+="-DSCP_ENABLE_SCMI_PERF_FAST_CHANNELS=yes"
[1]https://developer.arm.com/documentation/den0056/d/?lang=en
Change-Id: I0ec4ffbc1ad5d797b9543aa979a98cceb267a798
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/653Add ARMv8-M and ARMv8.1-M support2022-05-25T17:33:46ZDarryl GreenAdd ARMv8-M and ARMv8.1-M support*Created by: AhmedImbabyGadallah*
*Created by: AhmedImbabyGadallah*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/648scmi-perf and thermal-mgmt2022-05-18T11:34:57ZDarryl Greenscmi-perf and thermal-mgmt*Created by: leandro-arm*
scmi-perf: move fast channel alarm to event context
thermal-mgmt: Move power allocation to a separate file*Created by: leandro-arm*
scmi-perf: move fast channel alarm to event context
thermal-mgmt: Move power allocation to a separate filehttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/651Add scp subsystem option and module stop function2022-05-23T15:40:06ZDarryl GreenAdd scp subsystem option and module stop function*Created by: tarek-arm*
This is an updated version of PR #631 after fixing static analysis issues.
@vingu-linaro can you please test this PR one more time to make sure we haven't broken anything?*Created by: tarek-arm*
This is an updated version of PR #631 after fixing static analysis issues.
@vingu-linaro can you please test this PR one more time to make sure we haven't broken anything?https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/637ci: Print build output/information2022-04-08T15:14:57ZDarryl Greenci: Print build output/information*Created by: tgonzalezorlandoarm*
The CI is indicating whether the build failed or passed,
but is not printing the output of the build, which is
making it difficult to debug any problems that arise when
running the cmake-ci tests.
...*Created by: tgonzalezorlandoarm*
The CI is indicating whether the build failed or passed,
but is not printing the output of the build, which is
making it difficult to debug any problems that arise when
running the cmake-ci tests.
Generate files with the information of each build's output.
Store those files in the path given by the parameter -bod
(build output directory) or under the default folder
/tmp/scp/build-output.
Signed-off-by: Tomás Agustín González Orlando <tomasagustin.gonzalezorlando@arm.com>
Change-Id: I1b45cee047a23e54e4fe2f24414001b583c706bchttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/650Reset domain fixes: HAL type and notification_id2022-05-19T13:06:45ZDarryl GreenReset domain fixes: HAL type and notification_id*Created by: nicola-mazzucato-arm*
This PR brings two fixes for the reset domain:
- Fix HAL api type for mod_reset_domain
- Fix conditional inclusion of notification_id for juno/reset_domain*Created by: nicola-mazzucato-arm*
This PR brings two fixes for the reset domain:
- Fix HAL api type for mod_reset_domain
- Fix conditional inclusion of notification_id for juno/reset_domainhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/646Extend fip module to accept custom UUID and changes for trusted board boot fo...2022-05-18T09:58:13ZDarryl GreenExtend fip module to accept custom UUID and changes for trusted board boot for n1sdp*Created by: sah01Kaushal*
*Created by: sah01Kaushal*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/645morello: fix timestamp in debug logs2022-05-04T12:22:06ZDarryl Greenmorello: fix timestamp in debug logs*Created by: manojkumar-arm*
The generic timer instance is not hooked to the framework time driver
which makes the timestamp to be printed as zeros all the time.
This patch fixes the gap to let framework print correct timestamps
du...*Created by: manojkumar-arm*
The generic timer instance is not hooked to the framework time driver
which makes the timestamp to be printed as zeros all the time.
This patch fixes the gap to let framework print correct timestamps
during debug logs.
Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
Change-Id: Iacab58a01999be8f71358d13e48c1517dba02b64https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/647synquacer: Add a make option to select UART port2022-05-18T11:40:52ZDarryl Greensynquacer: Add a make option to select UART port*Created by: masahisak*
This patch adds a new make option to select UART port
in make and CMake build on SynQuacer platform.
The following 3 UART ports are selectable.
uart0 : A standard UART on the 40 pin expansion connector
...*Created by: masahisak*
This patch adds a new make option to select UART port
in make and CMake build on SynQuacer platform.
The following 3 UART ports are selectable.
uart0 : A standard UART on the 40 pin expansion connector
(used as default for SCP console)
uart1 : A second standard UART on the 40 pin expansion connector
debug_uart : A debug UART via the micro-B USB connector
To select UART port, set SYNQUACER_UART value as below
when executing make commnad.
In make build system,
make CC=$CC PRODUCT=synquacer MODE=$MODE \
[SYNQUACER_UART=uart0|uart1|debug_uart]
e.g.
make CC=$CC PRODUCT=synquacer MODE=$MODE SYNQUACER_UART=uart1
In CMake build system,
make -f Makefile.cmake CC=$CC PRODUCT=synquacer MODE=$MODE \
[EXTRA_CONFIG_ARGS="-DSYNQUACER_UART=uart0|uart1|debug_uart"]
e.g.
make -f Makefile.cmake CC=$CC PRODUCT=synquacer MODE=$MODE \
EXTRA_CONFIG_ARGS="-DSYNQUACER_UART=uart1"
If SYNQUACER_UART value is not set, uart0 is selected as defalut.
Change-Id: I9390a178c4685d5e4aa88d1eb1174aa9a26fd00f
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Signed-off-by: Masanobu Morikawa <morikawa.masanobu@socionext.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/649gimfile: Update to the latest release version2022-05-18T09:36:04ZDarryl Greengimfile: Update to the latest release version*Created by: tarek-arm*
Update packages versions to avoid an security issues.
Signed-off-by: Tarek El-Sherbiny <tarek.el-sherbiny@arm.com>
Change-Id: I8e0cd24fff48be4172e4fbf7b45f40c6611c83c7*Created by: tarek-arm*
Update packages versions to avoid an security issues.
Signed-off-by: Tarek El-Sherbiny <tarek.el-sherbiny@arm.com>
Change-Id: I8e0cd24fff48be4172e4fbf7b45f40c6611c83c7https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/642cmake: Fix ArmClang generated images2022-04-26T09:48:23ZDarryl Greencmake: Fix ArmClang generated images*Created by: AhmedImbabyGadallah*
Images generated for cortex-m7 targets are not booting.
This is because hardware floating point initialization modules
are added by ArmClang linker. These modules add floating point
instructions that...*Created by: AhmedImbabyGadallah*
Images generated for cortex-m7 targets are not booting.
This is because hardware floating point initialization modules
are added by ArmClang linker. These modules add floating point
instructions that cause exceptions.
This patch adds the linker option to omit including the floating
point initialization modules and the compiler option to avoid
using floating point instructions.
Signed-off-by: Ahmed Gadallah <ahmed.gadallah@arm.com>
Change-Id: I7e0f868227587c0a167d29974608ddb2a21b018fhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/644SCMI Base Protocol Refactoring2022-05-05T10:49:02ZDarryl GreenSCMI Base Protocol Refactoring*Created by: tgonzalezorlandoarm*
*Created by: tgonzalezorlandoarm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/641ci_cmake: Add flag to skip container execution2022-04-21T11:03:06ZDarryl Greenci_cmake: Add flag to skip container execution*Created by: leandro-arm*
`--skip-container` inline argument is introduced to skip
container execution when it is set.
This could be useful for developers who run locally the script
but wish to skip the container spawning to speed-up...*Created by: leandro-arm*
`--skip-container` inline argument is introduced to skip
container execution when it is set.
This could be useful for developers who run locally the script
but wish to skip the container spawning to speed-up developing
and testing.
Signed-off-by: Leandro Belli <leandro.belli@arm.com>
Change-Id: Ib44aea5953d6017a4bac4ac6dd5fd9fe91c21d2a