Commit 23167c53 authored by Soby Mathew's avatar Soby Mathew
Browse files

fix: flush bl2_ep_info before exit from BL1



This patch fixes a cache flush issue for `bl2_ep_info`. With this fix,
we can run FVP with cache state modelling enabled for testing TFTF and
TRP.

Change-Id: Id525d29d43f58b25dd1f44b40d29e7693fc56e4a
Signed-off-by: default avatarSoby Mathew <soby.mathew@arm.com>
Signed-off-by: default avatarJohn Powell <john.powell@arm.com>
parent 233d0b49
......@@ -114,6 +114,8 @@ void bl1_prepare_for_bl2_in_root(void)
bl2_ep_info->spsr = (uint32_t)SPSR_64(MODE_EL3, MODE_SP_ELX,
DISABLE_ALL_EXCEPTIONS);
flush_dcache_range((uintptr_t)bl2_ep_info, sizeof(entry_point_info_t));
/* Indicate that image is in execution state. */
bl2_desc->state = IMAGE_STATE_EXECUTED;
......
......@@ -83,7 +83,7 @@ To launch the Armv-A Base RevC AEM FVP, execute the following command:
-C bp.refcounter.non_arch_start_at_default=1 \
-C bp.refcounter.use_real_time=0 \
-C bp.secure_memory=1 \
-C cache_state_modelled=0 \
-C cache_state_modelled=1 \
-C cluster0.ecv_support_level=2 \
-C cluster1.ecv_support_level=2 \
-C cluster0.gicv3.cpuintf-mmap-access-level=2 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment