feat(lib/realm): use DZ ZVA instruction for granule zeroing

This patch modifies granule_memzero_mapped() function
by replacing calls to memset() with DC ZVA instructions
executed in a loop.

Change-Id: I8dc012d337032ddcd78e22323dcc07089113e5ee
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
diff --git a/plat/host/common/src/host_utils.c b/plat/host/common/src/host_utils.c
index b88ebf6..a99c4eb 100644
--- a/plat/host/common/src/host_utils.c
+++ b/plat/host/common/src/host_utils.c
@@ -208,6 +208,13 @@
 	(void)host_util_set_default_sysreg_cb("pmcr_el0",
 			INPLACE(PMCR_EL0_N, 31UL));
 
+	/*
+	 * Set DCZID_EL0 register with DZP = 0 and
+	 * BS = 0b1001 with the maximum supported block size 2KB.
+	 */
+	(void)host_util_set_default_sysreg_cb("dczid_el0",
+			INPLACE(DCZID_EL0_BS, 9UL));
+
 	/* Set ISR_EL1 to 0 */
 	ret = host_util_set_default_sysreg_cb("isr_el1", 0UL);