This project is mirrored from https://github.com/ARM-software/SCP-firmware.git.
Pull mirroring updated .
- 18 Mar, 2021 1 commit
-
-
Yaron Micher authored
There are 2 asserts that check that protocol_count > dis_protocol_count_psci, instead of checking protocol_count >= dis_protocol_count_psci. This causes the assertion to fail when the values are equal, and it shouldn't because the 2 values can be equal. Signed-off-by:
Yaron Micher <yaronm@hailo.ai>
-
- 08 Jan, 2021 2 commits
-
-
Aditya Angadi authored
Reference Design platform RD-Daniel-ConfigXLR has been renamed to RD-V1-MC. Correspondingly, remove all uses of 'rddanielxlr' and replace it with rdv1mc where appropriate. Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Change-Id: I904e8dc3d2c8a15484a41cfbf83b33fcadae268f Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Aditya Angadi authored
Reference Design platform RD-Daniel has been renamed to RD-V1. Correspondingly, remove all uses of 'rddaniel' and replace it with rdv1 where appropriate. Change-Id: I0b12a382c3c612ebad6f1dd03530879796bd8147 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
- 07 Jan, 2021 1 commit
-
-
Ross Burton authored
GCC 10 onwards supports read_only, write_only and read_write attributes to __access__ and only GCC 11 (which is unreleased at this point in time) also supports none. To fix the build on GCC 10, only use none with GCC 11. Change-Id: I65a258fb2fc93874fe0b6fe5e695a6df030ce3a1 Signed-off-by:
Ross Burton <ross.burton@arm.com>
-
- 04 Jan, 2021 7 commits
-
-
Nicola Mazzucato authored
Currently put_event() logs information about the 'submitted event' in its parameters. However it is more useful to show the information about the 'allocated_event' which actually gets enqueued by the framework. Hence, replace the 'submitted event' with the 'allocated event' in call to FWK_LOG_TRACE. Change-Id: I4fa3971da782b00b26759f8efa810a96e51e81d9 Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Nicola Mazzucato authored
Currently put_event() logs information about the 'submitted event' in its parameters. However it is more useful to show the information about the 'allocated_event' which actually gets enqueued by the framework. Hence, replace the 'submitted event' with the 'allocated event' in call to FWK_LOG_TRACE. Change-Id: Id3d955a715bbf965b4f87474df672f7cdf6be57e Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Nicola Mazzucato authored
The type of the clock_id is does not match its corresponding id that comes from the payload and nor with the type expected by the resource permission module. Change clock_id to uint32_t to match the correct type. Change-Id: Iad82407be8a74670303919c4f369f839dd9f1019 Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Nicola Mazzucato authored
The get_clock_id() helper is there to provide the identifier for the clock device for each SCMI message. All the messages have an associated payload and its first field is clock_id. The only exception to this is CLOCK_SET_RATE message. The current implementation fo the get_clock_id does not take this exception in consideration. Fix get_clock_id() to take into account that not all the payloads have clock_id as first field. Change-Id: Ib96a196b1e9b82d7d9fa88e8462530fd844e0af0 Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com> Reported-by:
Pierre Gondois <Pierre.Gondois@arm.com>
-
Nicola Mazzucato authored
The change related to enable larger size for the Juno platform has been recently merged. Remove the limitation for the SCP-firmware to be built in the release mode. Change-Id: If2d1c3c28224c77c9cce0c16495f910d34dec8d1 Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Nicola Mazzucato authored
Change-Id: Id24d58fd3e11ae6232bec23db78c93078605983b Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
Nicola Mazzucato authored
The current regex does not allow the copyright header to be carried in the next line. This is a limitation when updating the copyright by adding the current year. Update the regex to allow the copyright to be split into multilines. Change-Id: Ibe51dfa0eb8bcef771c935847f0a9e651bf59298 Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com>
-
- 29 Dec, 2020 1 commit
-
-
Heyi Guo authored
Range compare mode flag of non-hash regions should be checked against NONHASH_RANGE_COMP_EN bit, not HTG_RANGE_COMP_EN bit. Signed-off-by:
Heyi Guo <guoheyi@linux.alibaba.com>
-
- 23 Dec, 2020 5 commits
-
-
Ahmed Gadallah authored
Currently for this platform resource permission is enabled and its resources are managed by the resource permissions module. At the same time there is no static configuration for PSCI agent should the resource permission be turned off. This patch adds a list of protocols that are disabled by default for PSCI agent when there is no resource permission enabled. Change-Id: I111bb85f7c312b6b3cb3d5fd6b90ab742968979a Signed-off-by:
Ahmed Gadallah <ahmed.gadallah@arm.com>
-
Ahmed Gadallah authored
Currently for this platform resource permission is enabled and its resources are managed by the resource permissions module. At the same time there is no static configuration for PSCI agent should the resource permission be turned off. This patch adds a list of protocols that are disabled by default for PSCI agent when there is no resource permission enabled. Change-Id: I6f0477b2421dba1c8f152676abf3ae58e4c55ef4 Signed-off-by:
Ahmed Gadallah <ahmed.gadallah@arm.com>
-
Ahmed Gadallah authored
Currently for this platform resource permission is enabled and its resources are managed by the resource permissions module. At the same time there is no static configuration for PSCI agent should the resource permission be turned off. This patch adds a list of protocols that are disabled by default for PSCI agent when there is no resource permission enabled. Change-Id: I7544828b2e20b71b090f118b9f343ecf66093735 Signed-off-by:
Ahmed Gadallah <ahmed.gadallah@arm.com>
-
Ahmed Gadallah authored
Currently for this platform resource permission is enabled and its resources are managed by the resource permissions module. At the same time there is no static configuration for PSCI agent should the resource permission be turned off. This patch adds a list of protocols that are disabled by default for PSCI agent when there is no resource permission enabled Change-Id: Ic04504e3bf648556eb05362ec25e5d6ec1d24b95 Signed-off-by:
Ahmed Gadallah <ahmed.gadallah@arm.com>
-
Ahmed Gadallah authored
Currently for this platform resource permission is enabled and its resources are managed by the resource permissions module. At the same time there is no static configuration for PSCI agent should the resource permission be turned off. This patch adds a list of protocols that are disabled by default for PSCI agent when there is no resource permission enabled Change-Id: If9e9133b84de29ca412ee34b70545dae0b78568e Signed-off-by:
Ahmed Gadallah <ahmed.gadallah@arm.com>
-
- 21 Dec, 2020 1 commit
-
-
Leandro Belli authored
The SCP firmware returned an error when an agent tries to set any resource to its current state. This takes care of the behavior when Uboot turns ON a resource and the kernel tries to again enable it at boot (both are same agents on same mailbox channel). Change-Id: Ib1f094ef008d36d9979f5b69a72440ca77c1813a Signed-off-by:
Leandro Belli <leandro.belli@arm.com>
-
- 19 Dec, 2020 1 commit
-
-
Alex Richardson authored
arm-none-eabi-gcc --print-prog-name gcc-ar just prints gcc-ar, whereas ar prints <prefix>/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ar Signed-off-by:
Jagadeesh Ujja <jagadeesh.ujja@arm.com> Change-Id: I511fc2d307e2a8cd5e223013f9dfcc391e3969e0
-
- 08 Dec, 2020 9 commits
-
-
Luca Vizzarro authored
According to the SCMIv2 spec section 4.1.4, if a command does not exist then SCMI_NOT_FOUND must be returned. This commit fixes this behaviour for the SCMI Performance Protocol. Change-Id: I523ced9acf034ea4828c9b70096780ddc02e0ae5 Signed-off-by:
Luca Vizzarro <Luca.Vizzarro@arm.com>
-
Jim Quigley authored
This patch implements the framework signal API for MT platforms. Change-Id: I26c6ef7f1c38f713a4d53ab1d714b57a07b488c5 Signed-off-by:
Jim Quigley <jim.quigley@arm.com>
-
Jim Quigley authored
This patch cleans up the signalling infrastructure in preparation for adding the signals API to the multi-threaded framework. Change-Id: I5645b8a9aede5dcea1c434184e521e8adf1e3cd5 Signed-off-by:
Jim Quigley <jim.quigley@arm.com>
-
Jim Quigley authored
This patch adds a signal handler to the DVFS module. This signal handler is used for set_level/set_limits requests. Change-Id: I88d6b6086ed3f9b196d956a2b564210314a47b12 Signed-off-by:
Jim Quigley <jim.quigley@arm.com>
-
Jim Quigley authored
This patch adds the prototype for fwk_thread_signal API. It also adds a signal handler to the module configuration. A signal may be used instead of an event where the target module does not require any parameters and is not required to return any data to the caller. It is intended as a lightweight supplement to the standard event model, eliminating most of the overhead of the framework event processing. Change-Id: Iac6f08edeaa167b04941454628f0ed592e0aa6f8 Signed-off-by:
Jim Quigley <jim.quigley@arm.com>
-
Jim Quigley authored
This patch adds a function to verify that the type of an fwk_id is valid. Change-Id: Ic5e84bf86a3b1cbd3e1e0cfc07687a653da57274 Signed-off-by:
Jim Quigley <jim.quigley@arm.com>
-
Luca Vizzarro authored
This commit adds LLVM-specific instructions on how to build the firmware in the user guide. Change-Id: Ibdbb885338275be137a0a8dcaf894cdb1e0c1920 Signed-off-by:
Luca Vizzarro <Luca.Vizzarro@arm.com>
-
Luca Vizzarro authored
This change allows to build the SCP using LLVM for ARMv8-A targets. The build system now calls the lld linker directly for any LLVM build. This is due to Clang's preference to use ld for some ARM targets, e.g. baremetal ARMv8-A. A slight change was made to the ARMv8-A arch files to instruct lld. Change-Id: I43f14b09b9b94a8cbfbc9f3f704fa4849d81e0f2 Signed-off-by:
Luca Vizzarro <Luca.Vizzarro@arm.com>
-
Luca Vizzarro authored
This change introduces the building of the SCP firmware using the LLVM toolchain (https://llvm.org ). Currently the support is enabled for the target architecture ARMv7-M and the Newlib library but it can easily modified for other architecture targets and standard C libraries. Change-Id: I980b6b84876f922dcc87cbd97a8c2505a6e308fa Signed-off-by:
Luca Vizzarro <Luca.Vizzarro@arm.com>
-
- 03 Dec, 2020 12 commits
-
-
Aditya Angadi authored
Add the product.mk file for RD-Evans platform and make it available to the scp build system as a product. Change-Id: Ic11252bff3cc1755abe36cdf21d989b1074c6c29 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
MCP ROM and RAM firmware, does not provide any specific functionality yet. MCP ROM firmware loads the MCP RAM firmware which then executes a WFI to enter idle state. Change-Id: I6301601d9b3b60b5dc4e612c35ae5c765202b851 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
Add linker script and makefile to support the build of SCP RAM firmware. Change-Id: I0df11f104a28c12fe72880178683a1bacd963ae5 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
The system power driver manages the SYSTOP power domain. Provide the details such as the base adresses of System PPU's and the SOC IRQ's for the same. Change-Id: I0097f0a8be671708f5cf05b2276ccbbc57a69b5a Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
The system module performs the function of initializing the SYSTOP domain, turning on the primary core, setting up of the SCMI services and SDS messaging stack. Change-Id: I9a115344c1f162f3518af9a930d0e29978e82d84 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
Provide the configuration data for scmi system power module to manage system states. Change-Id: Ib19f0e750a31b876f3e5f321014547ca43e5e668 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
There is no specific configuration data to be supplied to the scmi power domain module. Change-Id: Icbd8aca4deb0b763de47dd31216de03ea0502d11 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
Provide configuration data to enable support request for PSCI services from the AP core to the SCMI platform for RD-Evans pltform. At present only the PSCI service for power management is supported. Change-Id: I5923b7c3b669b1684c15de57debf25e6e09d77fb Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
SDS module is used to pass runtime data from SCP firmware to the firmware on AP core using shared memory. Provide the base address and size for the same and also the payloads to be passed. Change-Id: I1682e325f19e8d94932012d9588c927427c79a6e Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
AP context module is used to zero out the shared memory region used by SCP and AP on every initializaion or interconnect reset. Provide the base address and size of the shared memory region and also the clock id of the interconnect to subscribe to. Change-Id: I7372af0cdbff7ea49f6b8d4979343ad3fbd6356a Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
Provide the details of the MHUv2 channels used for messaging from the application cores to the SCP and add it to interrupt map. Change-Id: Icdc48325ba67d5131f2f99fa4fdd0555d079685a Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-
Aditya Angadi authored
Provide the configuration data for timer hal which includes the id for the timer element and the IRQ number. Change-Id: I8b4cacae5f2d717aef83dd88295fa060f5e547e0 Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com>
-