VHE: Add support for a VM to be EL0 partition

Added a boolean and updated VM initialization APIs to take a parameter
that indicates that a given VM is really an EL0 FF-A partition.
Note that it is odd to associate EL0 partitions with a VM, however, all
of hafnium code base deals with VMs and vCPUs and the path of least
resistance to support EL0 partitions (S-EL0 SPs mainly) is to model an
EL0 partition as a "lightweight" VM with 1 VCPU (since all S-EL0
partitions are UP migratable per the FF-A 1.0 spec).
While the FF-A spec really only calls out S-EL0 partitions, there is no
technical reason it cannot be supported in the normal world too.
However, the main expected use case for EL0 partitions in the normal
world would be for testing/verification.

Change-Id: I67cb85bed1f324704e0cc0766563839a07a949af
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
diff --git a/inc/hf/vm.h b/inc/hf/vm.h
index 8d2ac07..047e9cd 100644
--- a/inc/hf/vm.h
+++ b/inc/hf/vm.h
@@ -136,6 +136,7 @@
 
 	/** Arch-specific VM information. */
 	struct arch_vm arch;
+	bool el0_partition;
 };
 
 /** Encapsulates a VM whose lock is held. */
@@ -150,9 +151,9 @@
 };
 
 struct vm *vm_init(ffa_vm_id_t id, ffa_vcpu_count_t vcpu_count,
-		   struct mpool *ppool);
+		   struct mpool *ppool, bool el0_partition);
 bool vm_init_next(ffa_vcpu_count_t vcpu_count, struct mpool *ppool,
-		  struct vm **new_vm);
+		  struct vm **new_vm, bool el0_partition);
 ffa_vm_count_t vm_get_count(void);
 struct vm *vm_find(ffa_vm_id_t id);
 struct vm *vm_find_index(uint16_t index);