feat: power management field manifest addition
Add the power-management-messages field to SP's manifests [1].
The intent is for a MP S-EL1 SP to register power management events such
as cpu on or off events relayed by the SPMD to the SPMC.
UP partitions are forced to not handle power management messages in the
current state of the implementation.
[1] https://trustedfirmware-a.readthedocs.io/en/latest/components/ffa-manifest-binding.html#partition-properties
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I2a70afd9b7fa6736215dc4d489bf33cadfb8ac57
diff --git a/src/load.c b/src/load.c
index 243d95a..df18403 100644
--- a/src/load.c
+++ b/src/load.c
@@ -167,6 +167,8 @@
vm_locked.vm->smc_whitelist = manifest_vm->smc_whitelist;
vm_locked.vm->uuid = manifest_vm->partition.uuid;
+ vm_locked.vm->power_management =
+ manifest_vm->partition.power_management;
/* Populate the interrupt descriptor for current VM. */
for (uint16_t i = 0; i < PARTITION_MAX_DEVICE_REGIONS; i++) {