On 8/4/25 2:49 PM, Mohamed Mediouni wrote:
On 4. Aug 2025, at 23:27, Pierrick Bouvier <pierrick.bouv...@linaro.org> wrote:
On 8/4/25 7:23 AM, Mohamed Mediouni wrote:
OpenProcessorKey and ReadRegU64 adapted from:
https://github.com/FEX-Emu/FEX/blob/e6de17e72ef03aa88ba14fa0ec13163061608c74/Source/Windows/Common/CPUFeatures.cpp#L62
Signed-off-by: Mohamed Mediouni <moha...@unpredictable.fr>
---
hw/arm/virt.c | 2 +-
target/arm/cpu64.c | 19 ++++---
target/arm/whpx/whpx-all.c | 107 +++++++++++++++++++++++++++++++++++++
target/arm/whpx_arm.h | 1 +
4 files changed, 122 insertions(+), 7 deletions(-)
Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
Additional question, what is missing for SVE/SME support?
For SVE it’s mainly about the state save/restore part. And having good hardware
for testing it too.
For SME, Hyper-V doesn’t support it yet, but done preventively so that it
doesn’t suddenly get enabled once that happens. (and that scenario happened on
macOS and promptly broke things)
Thanks.
Worth adding it in comment next to deactivation part for next reader.