From: Jan Kiszka <[email protected]>

We must not limit support to 1.1 exactly. Anything newer is fine as
well. Required since TF-A 2.3.

Signed-off-by: Jan Kiszka <[email protected]>
---
 hypervisor/arch/arm-common/smccc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hypervisor/arch/arm-common/smccc.c 
b/hypervisor/arch/arm-common/smccc.c
index 7734b999..bdbb067e 100644
--- a/hypervisor/arch/arm-common/smccc.c
+++ b/hypervisor/arch/arm-common/smccc.c
@@ -33,9 +33,9 @@ void smccc_discover(void)
        if (ret != ARM_SMCCC_SUCCESS)
                return;

-       /* We need to have SMCCC v1.1 */
+       /* We need to have at least SMCCC v1.1 */
        ret = smc(SMCCC_VERSION);
-       if (ret != ARM_SMCCC_VERSION_1_1)
+       if (ret < ARM_SMCCC_VERSION_1_1)
                return;

        /* check if SMCCC_ARCH_FEATURES is actually available */
--
2.26.2

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/5c5cde20c9a855224aef052d9ad34a60fb98bcea.1609774199.git.jan.kiszka%40web.de.

Reply via email to