diff options
| author | Mohamed Mediouni <mohamed@unpredictable.fr> | 2026-02-10 11:34:49 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2026-02-10 11:34:49 +0000 |
| commit | 5ae1609f00347614c2744a1bf74c24e6d5776571 (patch) | |
| tree | d08dc379bdd19b864e6cf8e052d520eb6b2293fb | |
| parent | bf36e65bda7b62a704d1ec5552a47d846df43908 (diff) | |
| download | qemu-5ae1609f00347614c2744a1bf74c24e6d5776571.tar.gz qemu-5ae1609f00347614c2744a1bf74c24e6d5776571.tar.bz2 qemu-5ae1609f00347614c2744a1bf74c24e6d5776571.zip | |
target/arm: cpu: mark WHPX as supporting PSCI 1.3
Hyper-V supports PSCI 1.3, and that implementation is exposed through
WHPX.
Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| -rw-r--r-- | target/arm/cpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index c535b292d9..077f1f9a74 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -23,6 +23,7 @@ #include "qemu/timer.h" #include "qemu/log.h" #include "exec/page-vary.h" +#include "system/whpx.h" #include "target/arm/idau.h" #include "qemu/module.h" #include "qapi/error.h" @@ -1143,6 +1144,8 @@ 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()) { + cpu->psci_version = QEMU_PSCI_VERSION_1_3; } } |
