VHE: Allow manifests to present S-EL0 partitions to SPMC/hypervisor
Change-Id: Ib49afe4a04a9aba51640a947220a52ad5da07acd
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
diff --git a/src/manifest.c b/src/manifest.c
index 45574ee..f2e8bf5 100644
--- a/src/manifest.c
+++ b/src/manifest.c
@@ -660,8 +660,9 @@
ret_code = MANIFEST_ERROR_NOT_COMPATIBLE;
}
- if (vm->sp.run_time_el != EL1 && vm->sp.run_time_el != S_EL1) {
- dlog_error("Exception level %s: %u\n", error_string,
+ if (vm->sp.run_time_el != EL1 && vm->sp.run_time_el != S_EL1 &&
+ vm->sp.run_time_el != S_EL0) {
+ dlog_error("Exception level %s: %d\n", error_string,
vm->sp.run_time_el);
ret_code = MANIFEST_ERROR_NOT_COMPATIBLE;
}