[PATCH v5 08/13] target/arm: cpu: Mark MSHV supporting PSCI 1.3
Aastha Rawat <[email protected]>
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <20260717-mshv_accel_arm64_supp-v5-8-ef07d4c6b337@linux.microsoft.com> |
MSHV supports PSCI 1.3. Expose this version to guests. Signed-off-by: Aastha Rawat <[email protected]> Reviewed-by: Mohamed Mediouni <[email protected]> --- 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 c5037a145a..95682ef067 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1293,7 +1293,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