FF-A: Respond to PSCI_CPU_OFF from SPMD.

At run-time when a PSCI call is made from NWd, the corresponding SPMD PM
hooks gets called and is eventually routed to the SPMC.  This change
implements a generic "SPMD handler" processing PM events that may be
conveyed from SPMD to SPMC such as core suspend, core off.

Change-Id: Id288e26d9fbb8328acc71f5cf68c39e095a0e3da
Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com>
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/inc/vmapi/hf/vm_ids.h b/inc/vmapi/hf/vm_ids.h
index 7909935..985b57a 100644
--- a/inc/vmapi/hf/vm_ids.h
+++ b/inc/vmapi/hf/vm_ids.h
@@ -34,3 +34,16 @@
  * execution environment, e.g. secure EL1 or EL2 on AArch64.
  */
 #define HF_TEE_VM_ID 0x8000
+
+/**
+ * The SPMC VM ID used to reference the SPMC by a SP (at secure virtual FF-A
+ * instance), or by the SPMD at secure physical FF-A instance.
+ */
+#define HF_SPMC_VM_ID 0x8000
+
+/**
+ * The SPMD VM ID used to reference the SPMD by the SPMC at secure physical
+ * FF-A instance. It may be used to exchange special messages with the SPMC
+ * like power management events.
+ */
+#define HF_SPMD_VM_ID 0xFFFF