> On 6. Mar 2026, at 14:32, Peter Maydell <[email protected]> wrote: > > On Fri, 6 Mar 2026 at 13:02, Mohamed Mediouni <[email protected]> > wrote: >> >> Currently, Apple doesn't support the nested virtualisation + SME combination. >> >> Signed-off-by: Mohamed Mediouni <[email protected]> >> --- >> target/arm/hvf/hvf.c | 3 +++ >> target/arm/hvf_arm.h | 5 +++++ >> 2 files changed, 8 insertions(+) >> >> diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c >> index 0183dd8a60..61ba5acce4 100644 >> --- a/target/arm/hvf/hvf.c >> +++ b/target/arm/hvf/hvf.c >> @@ -1181,6 +1181,9 @@ static bool >> hvf_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf) >> >> if (hvf_nested_virt_enabled()) { >> FIELD_DP64_IDREG(&host_isar, ID_AA64DFR0, PMUVER, 0x1); >> + /* SME is not implemented with nested virt on the Apple side */ >> + SET_IDREG(&host_isar, ID_AA64PFR1, >> + GET_IDREG(&host_isar, ID_AA64PFR1) & ~R_ID_AA64PFR1_SME_MASK); > > This is > FIELD_DP64_IDREG(&host_isar, ID_AA64PFR1, SME, 0); > > isn't it? > Hi, That's an equivalent sequence indeed. Should I respin for this? Thank you, > > thanks > -- PMM
- [PATCH v15 05/17] hw/intc: Add hvf vGIC interrupt control... Mohamed Mediouni
- [PATCH v15 06/17] hw/intc: arm_gicv3_hvf: save/restore Ap... Mohamed Mediouni
- [PATCH v15 03/17] hw/arm: virt: remove hvf_arm.h include Mohamed Mediouni
- [PATCH v15 11/17] hvf: gate ARM_FEATURE_PMU register emul... Mohamed Mediouni
- [PATCH v15 15/17] target/arm: hvf: pass through CNTHCTL_E... Mohamed Mediouni
- [PATCH v15 17/17] hvf: enable nested virtualisation suppo... Mohamed Mediouni
- [PATCH v15 02/17] hvf/arm: expose FEAT_SME2 to guest if a... Mohamed Mediouni
- [PATCH v15 01/17] hvf/arm: handle FEAT_SME2 migration Mohamed Mediouni
- [PATCH v15 16/17] hvf: arm: disable SME when nested virt ... Mohamed Mediouni
- Re: [PATCH v15 16/17] hvf: arm: disable SME when nes... Peter Maydell
- Re: [PATCH v15 16/17] hvf: arm: disable SME when... Mohamed Mediouni
- Re: [PATCH v15 16/17] hvf: arm: disable SME ... Peter Maydell
- [PATCH v15 08/17] target/arm: hvf: instantiate GIC early Mohamed Mediouni
- [PATCH v15 10/17] hvf: only call hvf_sync_vtimer() when r... Mohamed Mediouni
- [PATCH v15 12/17] hvf: arm: allow exposing minimal PMU wh... Mohamed Mediouni
- [PATCH v15 13/17] target/arm: hvf: add asserts for code p... Mohamed Mediouni
- [PATCH v15 14/17] hvf: sync registers used at EL2 Mohamed Mediouni
- [PATCH v15 07/17] accel, hw/arm, include/system/hvf: infr... Mohamed Mediouni
- [PATCH v15 09/17] hw/arm, target/arm: nested virtualisati... Mohamed Mediouni
- Re: [PATCH v15 00/17] HVF: Add support for platform vGIC ... Peter Maydell
- Re: [PATCH v15 00/17] HVF: Add support for platform ... Peter Maydell
