fix(arm): update tsp_early_platform_setup prototypeThe prototype for tsp_early_platform_setup has been redefined. Updatethe platform implementation to match the new function signature andensure c
fix(arm): update tsp_early_platform_setup prototypeThe prototype for tsp_early_platform_setup has been redefined. Updatethe platform implementation to match the new function signature andensure compatibility with the updated TSP interface. Also, update theprototype for arm_tsp_early_platform_setup to make use of thesearguments in common code.Change-Id: I3831776be58d6ebf672890d0f30bbbd1780976f7Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
refactor: convert arm platforms to use the generic GIC driverThis reduces the code the platforms have to carry and makes their buildrules a bit simpler.The main benefit is that plat_my_core_pos(
refactor: convert arm platforms to use the generic GIC driverThis reduces the code the platforms have to carry and makes their buildrules a bit simpler.The main benefit is that plat_my_core_pos() no longer needs to be calledwithin the driver, helping with performance a bit.Change-Id: I0b0d1d36d20d67c41c8c9dc14ade11bda6d4a6afSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
fvp: pwrc: Move to drivers/ folderChange-Id: I670ea80e0331c2d4b2ccfa563a45469a43f6902dSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: Sanitise includesUse full include paths like it is done for common includes.This cleanup was started in commit d40e0e08283a ("Sanitise includesacross codebase"), but it only cleaned co
plat/arm: Sanitise includesUse full include paths like it is done for common includes.This cleanup was started in commit d40e0e08283a ("Sanitise includesacross codebase"), but it only cleaned common files and drivers. Thispatch does the same to Arm platforms.Change-Id: If982e6450bbe84dceb56d464e282bcf5d6d9ab9bSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
TSP: Support multi-threading CPUs on FVPCommit 11ad8f208db42f7729b0ce2bd16c631c293e665c added supportingmulti-threaded CPUs on FVP platform, including modifications forcalculating CPU IDs. This p
TSP: Support multi-threading CPUs on FVPCommit 11ad8f208db42f7729b0ce2bd16c631c293e665c added supportingmulti-threaded CPUs on FVP platform, including modifications forcalculating CPU IDs. This patch imports the strong definition of thesame CPU ID calculation on FVP platform for TSP.Without this patch, TSP on FVP was using the default CPU ID calculation,which would end up being wrong on CPUs with multi-threading.Change-Id: If67fd492dfce1f57224c9e693988c4b0f89a9a9aSigned-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by FreeBSD have not been modified.[0]: https://spdx.org/Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761aSigned-off-by: dp-arm <dimitris.papastamos@arm.com>
Rework use of ARM GIC drivers on ARM platformsSuport for ARM GIC v2.0 and v3.0 drivers has been reworked to create threeseparate drivers instead of providing a single driver that can work on both
Rework use of ARM GIC drivers on ARM platformsSuport for ARM GIC v2.0 and v3.0 drivers has been reworked to create threeseparate drivers instead of providing a single driver that can work on bothversions of the GIC architecture. These drivers correspond to the followingsoftware use cases:1. A GICv2 only driver that can run only on ARM GIC v2.0 implementations e.g. GIC-4002. A GICv3 only driver that can run only on ARM GIC v3.0 implementations e.g. GIC-500 in a mode where all interrupt regimes use GICv3 features3. A deprecated GICv3 driver that operates in legacy mode. This driver can operate only in the GICv2 mode in the secure world. On a GICv3 system, this driver allows normal world to run in either GICv3 mode (asymmetric mode) or in the GICv2 mode. Both modes of operation are deprecated on GICv3 systems.ARM platforms implement both versions of the GIC architecture. This patch adds alayer of abstraction to help ARM platform ports chose the right GIC driver andcorresponding platform support. This is as described below:1. A set of ARM common functions have been introduced to initialise the GIC and the driver during cold and warm boot. These functions are prefixed as "plat_arm_gic_". Weak definitions of these functions have been provided for each type of driver.2. Each platform includes the sources that implement the right functions directly into the its makefile. The FVP can be instantiated with different versions of the GIC architecture. It uses the FVP_USE_GIC_DRIVER build option to specify which of the three drivers should be included in the build.3. A list of secure interrupts has to be provided to initialise each of the three GIC drivers. For GIC v3.0 the interrupt ids have to be further categorised as Group 0 and Group 1 Secure interrupts. For GIC v2.0, the two types are merged and treated as Group 0 interrupts. The two lists of interrupts are exported from the platform_def.h. The lists are constructed by adding a list of board specific interrupt ids to a list of ids common to all ARM platforms and Compute sub-systems.This patch also makes some fields of `arm_config` data structure in FVP redundantand these unused fields are removed.Change-Id: Ibc8c087be7a8a6b041b78c2c3bd0c648cd2035d8
PSCI: Migrate ARM reference platforms to new platform APIThis patch migrates ARM reference platforms, Juno and FVP, to the new platformAPI mandated by the new PSCI power domain topology and compos
PSCI: Migrate ARM reference platforms to new platform APIThis patch migrates ARM reference platforms, Juno and FVP, to the new platformAPI mandated by the new PSCI power domain topology and composite power stateframeworks. The platform specific makefiles now exports the build flagENABLE_PLAT_COMPAT=0 to disable the platform compatibility layer.Change-Id: I3040ed7cce446fc66facaee9c67cb54a8cd7ca29
Move FVP port to plat/arm/board/fvpMove the FVP port from plat/fvp to plat/arm/board/fvp. Also renamesome of the files so they are consistently prefixed with fvp_.Update the platform makefiles ac
Move FVP port to plat/arm/board/fvpMove the FVP port from plat/fvp to plat/arm/board/fvp. Also renamesome of the files so they are consistently prefixed with fvp_.Update the platform makefiles accordingly.Change-Id: I7569affc3127d66405f1548fc81b878a858e61b7