feat(fake_host): set ID_AA64ISAR0_EL1_RNDR
Change-Id: If884ab4a137a645cb299fb3fa1f978fb68ed2461
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/plat/host/common/src/host_utils.c b/plat/host/common/src/host_utils.c
index 7f1a68f..5dc8038 100644
--- a/plat/host/common/src/host_utils.c
+++ b/plat/host/common/src/host_utils.c
@@ -156,6 +156,10 @@
/* TPIDR_EL2 is reset to zero */
ret = host_util_set_default_sysreg_cb("tpidr_el2", 0UL);
+ /* ID_AA64ISAR0.RNDR is reset to 1 */
+ ret = host_util_set_default_sysreg_cb("id_aa64isar0_el1",
+ INPLACE(ID_AA64ISAR0_EL1_RNDR, 1UL));
+
/*
* Only check the return value of the last callback setup, to detect
* if we are out of callback slots.