aboutsummaryrefslogtreecommitdiff
path: root/product/rdn1e1
AgeCommit message (Collapse)Author
2020-03-24scmi: Add extended logsChris Kay
This commit expands the detail of the log output of the SCMI module in order to aid in debugging. Details that were previously missing, including the message token and the service name, are now included. Change-Id: I00075b3e4474328f27dc7f6be5b0df21c18c0cfb Signed-off-by: Chris Kay <chris.kay@arm.com>
2020-03-16scmi_power_domain: Split configuration from implementationNicola Mazzucato
With this patch the configuration for this module becomes a separate file for each platform, like all the other modules. Change-Id: If001c668d731c28f225ef188ebe097120f41d74a Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com> Signed-off-by: Girish Pathak <girish.pathak@arm.com>
2020-03-12fwk/fwk_mm_alloc: panic if memory allocation failedJim Quigley
Currently the framework will return NULL if the memory allocation fails. As the system will ultimately fail on receiving the error we could just panic instead, saving the memory used for the NULL checks. Change-Id: I731b87b7acb19d30df84936b07c76cbfe0d0726e Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-03-03dvfs: Add support for SCMI power cost reportingChris Kay
Linux's scheduler relies on the power cost information so we need to return accurate power cost for each cluster/core. Change-Id: I68762fa5a2aab4ade5f7f7d8d160eded37b3c040 Signed-off-by: Raphael Gault <raphael.gault@arm.com> Signed-off-by: Girish Pathak <girish.pathak@arm.com>
2020-03-02pl011: Add powerup/powerdown handlersNicola Mazzucato
This patch introduces a configurable power domain identifier such that the driver can be informed of power state changes. This is achieved through notifications for pre_state and post_state power changes. With this power domain identifier the module can receive notifications and action accordingly. The specific action is not yet implemented. Change-Id: I7751b6de5899a2c65aec3aef3e5e4b8c1d0cd07c Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2020-02-27product/rdn1e1: add support for dual-chip configurationVijayenthiran Subramaniam
RD-N1-Edge based platforms can operate in dual-chip configuration wherein two rdn1edge SoCs are connected through a high speed coherent CCIX link. This patch adds support to configure the CCIX link in CMN-600 if multi-chip mode is detected. The AP core boot is done only for the primary chip (Chip 0) and the secondary chips will be put in idle state waiting for SCMI commands. Change-Id: I18ce2fad52af50b87ca956157204960704b07b6d Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2020-02-27cmn600: use system info module to retrieve chip informationVijayenthiran Subramaniam
Commit 7acbd4d8fb4d ("cmn600: expose API to read chip information from platforms") introduced an api to obtain chip information in the cmn600 module. As the system info module provides a reusable and scalable interface to obtain system information, rework the cmn600 module to use the system_info module to obtain the chip id and multi-chip information and remove the chip info api in cmn600 and its implementation from the n1sdp system module. Change-Id: I2cfa45ba9bf4632f73bc021f4779f6bc2c96d93b Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2020-02-27sid: add api to retrieve system info dataVijayenthiran Subramaniam
Add support for a new API that allows system_info module to retrieve the system information data. For platforms using SID module, add configuration data for system information module in order to retrieve the driver data from the SID module. Change-Id: I52bc2d76256b825816ead075933d39dfbb67abe0 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2020-01-28cmn600: add support for HN-F with CALVijayenthiran Subramaniam
CMN-600 supports upto 64 HN-Fs from r2p0. This is enabled by pairing two HN-Fs at a crosspoint using CAL, supporting upto 32 CAL instances in a mesh. This patch adds support to enable or disable the use of HN-F CAL mode in RN-SAM programming. Change-Id: I606c2a54c50e12bfb195298e675ae1eb286544b2 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2020-01-06rdn1e1: Enable DVFS retry mechanismJim Quigley
This patch enables the DVFS retry mechanism for the rdn1e1 platform. Change-Id: I85c17968e6f7a63561fd868e7b247e99733fe6f2 Signed-off-by: Jim Quigley <jim.quigley@arm.com>
2020-01-03scp: Update copyright to 2020Nicola Mazzucato
All the relevant headers in files have been updated to 2020. Change-Id: I8ef14a4c87b65c87933ef79697dcb5fc5dda87d4 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-11-06mock_psu: Add asynchronous driver supportChris Kay
This commit allows elements of the `mock_psu` module to emulate asynchronous operations. Enabling asynchronous operations forces requests to the element to be pended for later completion, and is useful for testing interfaces that interact with `mock_psu` which need to support this functionality. Change-Id: Ic52221c510de8da60501a163b3f7dcacef6b0a3b Signed-off-by: Chris Kay <chris.kay@arm.com>
2019-10-18product: add chip address space parameter for platforms using cmn600Manoj Kumar
This patch adds the chip address space used by N1SDP, SGI575 & RDN1E1 platforms in their respective config_cmn600.c file. It also increases the sys cache size for N1SDP platform to 8TB. Change-Id: I32d3651220f387b8bf98646e432e1f087e4767f9 Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
2019-10-18cmn600: expose API to read chip information from platformsManoj Kumar
CMN-600 supports multichip operation and for configuring the routing tables it requires the chip ID information from the platform as routing differs based on chip ID. This patch exposes a common API type which can be implemented in platform modules to retrieve the information. The module ID and API ID where the API is implemented is passed as config parameter to CMN-600. For N1SDP platform it implements the API in n1sdp_system module for getting the chip ID. For SGI575 & RDN1E1 platforms it leaves the module ID and API ID as FWK_ID_NONE in config_cmn600.c in respective platforms so that the API can be implemented in platform specific way. Change-Id: I96867c6cd18621fbc9ea4eccddcce0ace535d2c2 Signed-off-by: Manoj Kumar <manoj.kumar3@arm.com>
2019-10-15mock_psu: Refactor moduleChris Kay
This patch re-formats the Mock PSU module to comply with the updated coding style rules, as well as to clean up subtle issues and bring it up to date with current best-practices. Change-Id: I3caff2686bdafeb3bf48fd49b17165bea54fe030 Signed-off-by: Chris Kay <chris.kay@arm.com>
2019-10-15psu: Refactor moduleChris Kay
This patch re-formats the PSU module to comply with the updated coding style rules, as well as to clean up subtle issues and bring it up to date with current best-practices. Change-Id: I3151a00c567debd2c1bc84e4158a467279ccaf2c Signed-off-by: Chris Kay <chris.kay@arm.com>
2019-09-20sensor: Move to configurable driver api identifierNicola Mazzucato
With this patch the driver api identifier can be specified in the configuration of each platform, instead of being hard-coded to a fixed value within the module. Change-Id: I7842100f51ea5c2c8b4e5889a99bfaae939cf21b Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-09-12fwk: Rename fwk_errno.h to fwk_status.hNicola Mazzucato
This patch renames the header file for the return values to fwk_status.h. This is to reflect the recent addition of positive values that do not fall into the error category. Change-Id: I283b945c39d3ad31702db0dc7687dbe99e81ed19 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-12product/module/*_system: Enable 'messaging stack ready'Nicola Mazzucato
This patch transfers the implicit 'messaging stack ready' from sds to a product-specific module, enabling at the same time an explicit dependency between SDS, transport and SCMI. Change-Id: I700ef2031be6fa07ef9ac5657fda07a02e62a7d1 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-12product/module/*_system: Subscribe to SDS & SCMI notificationsNicola Mazzucato
Change-Id: Id37f8a4b415dd51ea359caef0904e41dffa62d84 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-12scmi: Subscribe to SMT notificationsNicola Mazzucato
Change-Id: I1b422298ee90ea4e1af14b37606e0cf04f645226 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-12rdn1e1_system: Fix binding stageNicola Mazzucato
Change-Id: I592f4a9f35af822a703ddff61bccaaac21cda8e4 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-04system_power: Update module to a configurable number of system PPUsNicola Mazzucato
This patch removes the constraint of a fixed number of system PPUs by expanding the module to support an adjustable number of elements. Change-Id: Ic52c2751fa32e5e267e0940255af0b1a1fc570d1 Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
2019-06-04sds: Type, CPP #ifdef, and assert fixesPierre-Clément Tosi
Change the type of the SDS memory address from uint8_t* to char* as the char type represents the smallest addressable amount of memory and the type of the memory content is not relevant. Fix the type of an error variable from unsigned int to int. Move from BUILD_MODE_DEBUG to BUILD_HAS_MOD_TEST for #ifdef-based conditionally existing SDS structures, whose sole purpose is testing. Replace the assert() function by the framework defined fwk_assert() function. Add volatile qualifier to pointers to the SDS memory region as other agents (AP) can access that region. Replace calls to memset() and memcpy() when using volatile pointers. Fix the indentation of get_structure_info(). Change-Id: Ibd48053c202de28d41f4bd1c29ad7fbc2d5f27ba Signed-off-by: Pierre-Clément Tosi <pierre-clement.tosi@arm.com>
2019-03-04rdn1e1: Rename clark to rdn1e1Vijayenthiran Subramaniam
SGI-Clark has two configurations: one with Ares cores, and another with Helios cores, which have been given the official product names Neoverse N1 and E1 respectively. This patch renames the clark product to better reflect these names, becoming rdn1e1. Change-Id: Ibdec9f03fdf4e76ee3ba2badb86e463a631f1938 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>