feat(spm): update MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 interface

Update MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 interface
correspondant to FF-A v1.3 memory management protocol's
FFA_MEM_PERM_GET interface [0].

This adds one input/output parameter with page_count
to set search range and get the range having same permssion from
base_va.

This change is backward compatible.

Links: https://developer.arm.com/documentation/den0140/latest/
Change-Id: Ib1b19dd433ad018f0c39af3a9ac8dda41358fb02
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
diff --git a/docs/components/secure-partition-manager-mm.rst b/docs/components/secure-partition-manager-mm.rst
index d9b2b1b..589a362 100644
--- a/docs/components/secure-partition-manager-mm.rst
+++ b/docs/components/secure-partition-manager-mm.rst
@@ -652,6 +652,13 @@
     There are no alignment restrictions on the Base Address. The permission
     attributes of the translation granule it lies in are returned.
 
+  - **uint32** Input Page Count
+
+    This parameter is the number of translation granule size pages from
+    *Base Address* whose permission should be returned.
+    This is calculated as *Input Page count + 1*.
+    (i.e. If Input Page Count is 0, then it is calculated as 1).
+
 - Return parameters
 
   - **int32** - Memory Attributes/Return Code
@@ -687,6 +694,16 @@
     See `Error Codes`_ for integer values that are associated with each return
     code.
 
+  - **uint32** - Output Page Count
+
+    On success, the number of translation granule size pages from
+    the *Base address* whose permissions match those returned in the
+    *Memory Attributes* output parameter.
+    This is calculated as *Output Page count + 1*.
+    (i.e. If Output Page Count is 0, It is calculated as 1).
+
+    On failure, It must be zero:
+
 - Usage
 
   This function is used to request the permission attributes for S-EL0 on a