feat(ff-a): Implement FFA_MEM_PERM_GET/SET

This patch implements the new ABI from the FF-A v1.1 Beta0 spec. These
ABIs are expected to be used by S-EL0 use cases such as StandaloneMM or
other S-EL0 applications such as trusted firmware services or any other
S-EL0 FF-A partition.

Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: I6a57420ce5821993671362280a66c5c4f190ffbc
diff --git a/inc/hf/addr.h b/inc/hf/addr.h
index 1f1e2bf..a2d2080 100644
--- a/inc/hf/addr.h
+++ b/inc/hf/addr.h
@@ -168,3 +168,11 @@
 {
 	return (void *)va_addr(va);
 }
+
+/**
+ * Advances a virtual address.
+ */
+static inline vaddr_t va_add(vaddr_t va, size_t n)
+{
+	return va_init(va_addr(va) + n);
+}