SCP-firmware merge requestshttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests2020-06-09T07:16:32Zhttps://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/101Juno: Add support for shutdown & hard reset2020-06-09T07:16:32ZDarryl GreenJuno: Add support for shutdown & hard reset*Created by: nicola-mazzucato-arm*
*Created by: nicola-mazzucato-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/102scmi: Remove unused declarations2019-08-20T16:51:01ZDarryl Greenscmi: Remove unused declarations*Created by: souvikkc*
Reemove unnecessary externs from SCMI module internal header files.
Change-Id: I6a74ba18db214b401fb8705606c46b32ead99003
Signed-off-by: Souvik Chakravarty <souvik.chakravarty@arm.com>*Created by: souvikkc*
Reemove unnecessary externs from SCMI module internal header files.
Change-Id: I6a74ba18db214b401fb8705606c46b32ead99003
Signed-off-by: Souvik Chakravarty <souvik.chakravarty@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/103Ensure system PLLs on Juno are locked within MCC timeout2019-09-11T12:23:11ZChris KayEnsure system PLLs on Juno are locked within MCC timeoutThe current approach to resetting the PLLs, which is to use a pre-main
constructor function, is not infallible - if we statically allocate
enough data, eventually the time it takes for the C runtime to
initialize exceeds the amount of...The current approach to resetting the PLLs, which is to use a pre-main
constructor function, is not infallible - if we statically allocate
enough data, eventually the time it takes for the C runtime to
initialize exceeds the amount of time that the motherboard
microcontroller gives us to ensure the system PLLs are locked.
The workaround for this is to instead wrap the core's reset handler.
This way we ensure that the PLLs have been reset before we do any time-
consuming work.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/104Cmn600 fixes2019-09-03T16:11:46ZDarryl GreenCmn600 fixes*Created by: manojkumar-arm*
*Created by: manojkumar-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/105reg_sensor: Update assertions2020-06-09T07:16:33ZDarryl Greenreg_sensor: Update assertions*Created by: nicola-mazzucato-arm*
This patch updates the assertions used in the module
to make proper use of the up-to-date fwk_assert.
Change-Id: I3f57374bc054cfcc1cd2cd0247f10e52f9a4eb3e
Signed-off-by: Nicola Mazzucato <nicola.m...*Created by: nicola-mazzucato-arm*
This patch updates the assertions used in the module
to make proper use of the up-to-date fwk_assert.
Change-Id: I3f57374bc054cfcc1cd2cd0247f10e52f9a4eb3e
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/106doc: Fix documentation grouping, inclusions and copyright2020-06-09T07:16:34ZDarryl Greendoc: Fix documentation grouping, inclusions and copyright*Created by: nicola-mazzucato-arm*
*Created by: nicola-mazzucato-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/107doc: Update list of maintainers for SCP-firmware2019-09-12T11:01:41ZChris Kaydoc: Update list of maintainers for SCP-firmwareThis commit updates the maintainers documentation to reflect changes to
the project maintainership and review process.
It also adds a CODEOWNERS file, the format of which is defined by
GitHub, describing the same information.
Cha...This commit updates the maintainers documentation to reflect changes to
the project maintainership and review process.
It also adds a CODEOWNERS file, the format of which is defined by
GitHub, describing the same information.
Change-Id: Ibe631731b633eb0389efe1f122d8ca4308216926
Co-authored-by: Jim Quigley <jim.quigley@arm.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
Signed-off-by: Jim Quigley <jim.quigley@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/108doc: Fix broken maintainer links2019-09-12T13:00:36ZChris Kaydoc: Fix broken maintainer linksThis addresses an issue where maintainer usernames did not properly link
to their GitHub profiles.
Change-Id: I78f45044a319c643ab7cec062758ae16fd76626e
Signed-off-by: Chris Kay <chris.kay@arm.com>This addresses an issue where maintainer usernames did not properly link
to their GitHub profiles.
Change-Id: I78f45044a319c643ab7cec062758ae16fd76626e
Signed-off-by: Chris Kay <chris.kay@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/109Update return values definitions2019-11-08T12:02:43ZDarryl GreenUpdate return values definitions*Created by: nicola-mazzucato-arm*
*Created by: nicola-mazzucato-arm*
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/110build: enhance entry guards in internal header files2019-09-25T18:34:22ZDarryl Greenbuild: enhance entry guards in internal header files*Created by: etienne-lms*
Add prefix INTERNAL_ to defined macro for internal header file.
This change prevents an internal/foo.h from obscuring generic
foo.h because former and later both guards from
#ifndef FOO_H
#define FOO_H
(...*Created by: etienne-lms*
Add prefix INTERNAL_ to defined macro for internal header file.
This change prevents an internal/foo.h from obscuring generic
foo.h because former and later both guards from
#ifndef FOO_H
#define FOO_H
(...)
#endif /*FOO_H*/
As internal/*.h are included with #include <internal/*.h>, INTERNAL_
looks a generic enough prefix.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/111Fix scmi & power_domain against `!BUILD_HAS_NOTIFICATION`2019-09-30T07:00:27ZDarryl GreenFix scmi & power_domain against `!BUILD_HAS_NOTIFICATION`*Created by: etienne-lms*
Fix build issue when !BUILD_HAS_NOTIFICATION.*Created by: etienne-lms*
Fix build issue when !BUILD_HAS_NOTIFICATION.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/112module clock: minor cast, export, braces fixup2019-09-25T18:33:43ZDarryl Greenmodule clock: minor cast, export, braces fixup*Created by: etienne-lms*
Adds explicit casts where compiler reports issues.
Prevents module_ctx variable being exported outside the scope clock
module source file.
Adds braces around a conditioned a multi-line instruction block:...*Created by: etienne-lms*
Adds explicit casts where compiler reports issues.
Prevents module_ctx variable being exported outside the scope clock
module source file.
Adds braces around a conditioned a multi-line instruction block:
consider inline comment a part of the instruction block.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/113fwk_interrupt: add missing declaration of exported functions2019-11-06T12:01:20ZDarryl Greenfwk_interrupt: add missing declaration of exported functions*Created by: etienne-lms*
Add missing declaration of exported function fwk_interrupt_init()
and fwk_interrupt_set_isr_fault().
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>*Created by: etienne-lms*
Add missing declaration of exported function fwk_interrupt_init()
and fwk_interrupt_set_isr_fault().
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/114log: discard non standard %e format2019-11-07T10:42:09ZDarryl Greenlog: discard non standard %e format*Created by: etienne-lms*
Prior this change was %e a valid format for printing error codes as
strings when identified. This change removes such support and replace
use of %e with use of standard format identifier and a error code
to ...*Created by: etienne-lms*
Prior this change was %e a valid format for printing error codes as
strings when identified. This change removes such support and replace
use of %e with use of standard format identifier and a error code
to string conversion function.
With this change, any standard printf-like format comply with
SCP-firmware traces implementation. fwk_err2str() helps traces to get
nice string identifier for errors.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/115SCMI Reset Domain2020-10-08T09:45:49ZDarryl GreenSCMI Reset Domain*Created by: etienne-lms*
Introduce basic Reset Domain driver and SCMI reset domain protocol
driver. As implemented, these drivers do not support asynchronous
reset sequences and domain reset notification.*Created by: etienne-lms*
Introduce basic Reset Domain driver and SCMI reset domain protocol
driver. As implemented, these drivers do not support asynchronous
reset sequences and domain reset notification.https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/116Sensor: Handled deferred request & Add support for juno2019-11-08T12:02:42ZDarryl GreenSensor: Handled deferred request & Add support for juno*Created by: nicola-mazzucato-arm*
This PR:
- Adds documentation explaining a typical handling of deferred request
- Adds improvements for sensor HAL and scmi_sensor modules for handling pending requests
- Adds support for sensors f...*Created by: nicola-mazzucato-arm*
This PR:
- Adds documentation explaining a typical handling of deferred request
- Adds improvements for sensor HAL and scmi_sensor modules for handling pending requests
- Adds support for sensors for the juno board
https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/117synquacer: Fix GCC 7 -Wformat-truncation error2019-11-08T12:02:40ZDarryl Greensynquacer: Fix GCC 7 -Wformat-truncation error*Created by: nicola-mazzucato-arm*
GCC 7 introduces the -Wformat-truncation warning and associated
heuristics. This warning identifies potentially unexpected string
truncation issues by statically range-checking the vararg inputs to
...*Created by: nicola-mazzucato-arm*
GCC 7 introduces the -Wformat-truncation warning and associated
heuristics. This warning identifies potentially unexpected string
truncation issues by statically range-checking the vararg inputs to
snprintf().
For us, GCC seems to be unable to reliably identify the bounds of the
inputs (cluster_idx, core_idx) even though we have static guarantees in
place as those guarantees are made in a separate compilation unit from
the one in which the error occurs.
This patch allows the compiler to inline the cluster/core count
functions to ensure it can properly ascertain the proper bounds on the
inputs to snprintf().
Change-Id: I2d2b658368531e0e0fc5d1c0b691b61e67a106a6
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/118Update .gitignore2021-11-25T11:22:53ZDarryl GreenUpdate .gitignore*Created by: sudeep-holla*
This patch updates .gitignore file to ignore patch files(often generated
by git format-patch) and cscope index files(similar to ctags)
Change-Id: I134631306e7741e9e2e4e8d4a86c2f84f5166f77
Signed-off-by: S...*Created by: sudeep-holla*
This patch updates .gitignore file to ignore patch files(often generated
by git format-patch) and cscope index files(similar to ctags)
Change-Id: I134631306e7741e9e2e4e8d4a86c2f84f5166f77
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/120n1sdp: add GEN4 support for CCIX root complex2019-10-11T14:26:08ZDarryl Greenn1sdp: add GEN4 support for CCIX root complex*Created by: manojkumar-arm*
This patch adds GEN4 link training support for CCIX root complex
to support GEN4 cards in CCIX slot on N1SDP platform.
Change-Id: I73fc76c1575326017599634747cd15c151f9e08c
Signed-off-by: Manoj Kumar <ma...*Created by: manojkumar-arm*
This patch adds GEN4 link training support for CCIX root complex
to support GEN4 cards in CCIX slot on N1SDP platform.
Change-Id: I73fc76c1575326017599634747cd15c151f9e08c
Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>https://gitlab.arm.com/firmware/SCP-firmware/-/merge_requests/121PSU refactoring work2020-08-26T13:52:34ZChris KayPSU refactoring workThis PR encompasses a major refactor to the PSU and Mock PSU modules, cleaning them up in preparation for future work.This PR encompasses a major refactor to the PSU and Mock PSU modules, cleaning them up in preparation for future work.