[PATCH v3 0/6] whpx: arm: set of small fixes for QEMU 11.0

Mohamed Mediouni posted 6 patches 3 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260314221529.47841-1-mohamed@unpredictable.fr
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Pedro Barbuda <pbarbuda@microsoft.com>, Mohamed Mediouni <mohamed@unpredictable.fr>
hw/arm/virt.c              |  2 +-
target/arm/cpu.c           |  4 ++--
target/arm/whpx/whpx-all.c | 11 +++++++----
3 files changed, 10 insertions(+), 7 deletions(-)
[PATCH v3 0/6] whpx: arm: set of small fixes for QEMU 11.0
Posted by Mohamed Mediouni 3 weeks, 2 days ago
Localised fixes for QEMU 11.0:

- fixes for -cpu host, including an ID_AA64MMFR2_EL1/ID_AA64MMFR3_EL1 mixup
- add EC_DATAABORT assert for WHvRunVpExitReasonGpaIntercept/UnmappedGpa

This one doesn't functionally change anything today, but is good to have and is a single-line change.

- fix Hyper-V enlightenments

AccessVpRegs turns out to be necessary too. Linux doesn't check for its presence and panics in an Hyper-V arm64
configuration without it exposed.

Fixing a mistake in not following the QEMU code style and having had AccessHypercallRegs included twice at the
same time. Also add some more privileges because it looks like guests don't check for presence of each one
systematically...

- SME support shipped in Hyper-V now

So remove a code comment. Another one-liner.

Mohamed Mediouni (5):
  whpx: arm: fix -cpu host
  whpx: arm: add EC_DATAABORT assert for
    WHvRunVpExitReasonGpaIntercept/UnmappedGpa
  whpx: arm: enable more enlightements
  whpx: arm: remove comment bit that is no longer accurate
  target/arm: cpu: alter error message for host CPU type

Osama Abdelkader (1):
  whpx: arm: fix ID_AA64MMFR3_EL1 host feature register index

 hw/arm/virt.c              |  2 +-
 target/arm/cpu.c           |  4 ++--
 target/arm/whpx/whpx-all.c | 11 +++++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

-- 
2.50.1 (Apple Git-155)
Re: [PATCH v3 0/6] whpx: arm: set of small fixes for QEMU 11.0
Posted by Peter Maydell 2 weeks, 3 days ago
On Sat, 14 Mar 2026 at 22:15, Mohamed Mediouni <mohamed@unpredictable.fr> wrote:
>
> Localised fixes for QEMU 11.0:
>
> - fixes for -cpu host, including an ID_AA64MMFR2_EL1/ID_AA64MMFR3_EL1 mixup
> - add EC_DATAABORT assert for WHvRunVpExitReasonGpaIntercept/UnmappedGpa
>
> This one doesn't functionally change anything today, but is good to have and is a single-line change.
>
> - fix Hyper-V enlightenments
>
> AccessVpRegs turns out to be necessary too. Linux doesn't check for its presence and panics in an Hyper-V arm64
> configuration without it exposed.
>
> Fixing a mistake in not following the QEMU code style and having had AccessHypercallRegs included twice at the
> same time. Also add some more privileges because it looks like guests don't check for presence of each one
> systematically...
>
> - SME support shipped in Hyper-V now
>
> So remove a code comment. Another one-liner.


Applied to target-arm.next with commit message adjustments
as discussed, thanks.

-- PMM