[PATCH v2 08/14] target/arm: cpu: Mark MSHV supporting PSCI 1.3

Aastha Rawat posted 14 patches 5 days, 7 hours ago
[PATCH v2 08/14] target/arm: cpu: Mark MSHV supporting PSCI 1.3
Posted by Aastha Rawat 5 days, 7 hours ago
MSHV supports PSCI 1.3. Expose this version to guests.

Reviewed-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Signed-off-by: Aastha Rawat <aastharawat@linux.microsoft.com>
---
 target/arm/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index 8aa22747ff..67f1991622 100644
--- a/target/arm/cpu.c
+++ b/target/arm/cpu.c
@@ -1157,7 +1157,7 @@ static void arm_cpu_initfn(Object *obj)
     if (tcg_enabled() || hvf_enabled()) {
         /* TCG and HVF implement PSCI 1.1 */
         cpu->psci_version = QEMU_PSCI_VERSION_1_1;
-    } else if (whpx_enabled()) {
+    } else if (whpx_enabled() || mshv_enabled()) {
         cpu->psci_version = QEMU_PSCI_VERSION_1_3;
     }
 }

-- 
2.45.4