diff options
Diffstat (limited to 'docs/porting-guide.md')
-rw-r--r-- | docs/porting-guide.md | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md index 3ba6715d..fd600977 100644 --- a/docs/porting-guide.md +++ b/docs/porting-guide.md @@ -181,6 +181,17 @@ file is found in [plat/fvp/include/platform_def.h]. Defines the total number of nodes in the affinity heirarchy at all affinity levels used by the platform. +* **#define : PLATFORM_MAX_AFFLVL** + + Defines the maximum affinity level that the power management operations + should apply to. ARMv8-A has support for 4 affinity levels. It is likely + that hardware will implement fewer affinity levels. This macro allows the + PSCI implementation to consider only those affinity levels in the system + that the platform implements. For example, the Base AEM FVP implements two + clusters with a configurable number of CPUs. It reports the maximum + affinity level as 1, resulting in PSCI power control up to the cluster + level. + * **#define : BL1_RO_BASE** Defines the base address in secure ROM where BL1 originally lives. Must be @@ -1131,25 +1142,6 @@ is missing but needs to be accounted for to reach this single CPU in the topology tree. Hence it is marked as `PSCI_AFF_ABSENT`. -### Function : plat_get_max_afflvl() [mandatory] - - Argument : void - Return : int - -This function may execute with the MMU and data caches enabled if the platform -port does the necessary initializations in `bl31_plat_arch_setup()`. It is only -called by the primary CPU. - -This function is called by the PSCI implementation both during cold and warm -boot, to determine the maximum affinity level that the power management -operations should apply to. ARMv8-A has support for 4 affinity levels. It is -likely that hardware will implement fewer affinity levels. This function allows -the PSCI implementation to consider only those affinity levels in the system -that the platform implements. For example, the Base AEM FVP implements two -clusters with a configurable number of CPUs. It reports the maximum affinity -level as 1, resulting in PSCI power control up to the cluster level. - - ### Function : platform_setup_pm() [mandatory] Argument : const plat_pm_ops ** |