hw/intc/arm_gicv3_hvf.c | 93 ++++++++++++++++++++++++----------------- target/arm/hvf/hvf.c | 45 +++++++++++++++++--- 2 files changed, 93 insertions(+), 45 deletions(-)
v2: - remove GIC_ISPENDR workaround: currently under further investigation - simplify SME save/restore patch - rework the CPU reset strategy, with also taking care of the GIC CPU interface registers. v1: - workaround for presumed Hypervisor.framework issue - save/restore SME state only when SME is on for the CPU - add ID_AA64PFR0_EL1.GIC sync to advertise the system register interface Mohamed Mediouni (6): hvf: arm: save/restore SME state only when SME on hvf: arm: remove broken ID_AA64PFR0_EL1.GIC sync hvf: arm: advertise ID_AA64PFR0_EL1.GIC hvf: arm: fetch more features hvf: gic: sync the CPU interface during a vCPU reset hvf: arm: sync vCPU state on PSCI reset hw/intc/arm_gicv3_hvf.c | 93 ++++++++++++++++++++++++----------------- target/arm/hvf/hvf.c | 45 +++++++++++++++++--- 2 files changed, 93 insertions(+), 45 deletions(-) -- 2.54.0 (Apple Git-157)
On Tue, 27 Oct 2026 at 12:03, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: > > v2: > - remove GIC_ISPENDR workaround: currently under further investigation > - simplify SME save/restore patch > - rework the CPU reset strategy, with also taking care of the GIC CPU interface registers. > > v1: > > - workaround for presumed Hypervisor.framework issue > - save/restore SME state only when SME is on for the CPU > - add ID_AA64PFR0_EL1.GIC sync to advertise the system register interface I've applied patches 1-4 to target-arm.next; 5 and 6 I left comments on. What's the status with the apple-gfx compile failures on macos 27? (issue #4486) thanks -- PMM
> On 29. Oct 2026, at 15:27, Peter Maydell <peter.maydell@linaro.org> wrote: > > On Tue, 27 Oct 2026 at 12:03, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: >> >> v2: >> - remove GIC_ISPENDR workaround: currently under further investigation >> - simplify SME save/restore patch >> - rework the CPU reset strategy, with also taking care of the GIC CPU interface registers. >> >> v1: >> >> - workaround for presumed Hypervisor.framework issue >> - save/restore SME state only when SME is on for the CPU >> - add ID_AA64PFR0_EL1.GIC sync to advertise the system register interface > > I've applied patches 1-4 to target-arm.next; 5 and 6 I left comments on. > > What's the status with the apple-gfx compile failures on macos 27? > (issue #4486) Hi, I think we should just disable building apple-gfx by default for now. It’s private API as of macOS 27, and as long as a decision on whether to keep that reverse-engineered device model isn’t made yet... > > thanks > -- PMM
On Thu, 29 Oct 2026 at 17:02, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: > > > > > On 29. Oct 2026, at 15:27, Peter Maydell <peter.maydell@linaro.org> wrote: > > > > On Tue, 27 Oct 2026 at 12:03, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: > >> > >> v2: > >> - remove GIC_ISPENDR workaround: currently under further investigation > >> - simplify SME save/restore patch > >> - rework the CPU reset strategy, with also taking care of the GIC CPU interface registers. > >> > >> v1: > >> > >> - workaround for presumed Hypervisor.framework issue > >> - save/restore SME state only when SME is on for the CPU > >> - add ID_AA64PFR0_EL1.GIC sync to advertise the system register interface > > > > I've applied patches 1-4 to target-arm.next; 5 and 6 I left comments on. > > > > What's the status with the apple-gfx compile failures on macos 27? > > (issue #4486) > > Hi, > > I think we should just disable building apple-gfx by default for now. > > It’s private API as of macOS 27, and as long as a decision on whether > to keep that reverse-engineered device model isn’t made yet... That makes sense to me; we've had the vmapple machine disabled by default for a long time, and that I'm guessing that was the biggest reason to use apple-gfx. Do you think we should deprecate the "vmapple" machine type, or do you hope to resurrect it still? thanks -- PMM
> On 29. Oct 2026, at 18:13, Peter Maydell <peter.maydell@linaro.org> wrote: > > On Thu, 29 Oct 2026 at 17:02, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: >> >> >> >>> On 29. Oct 2026, at 15:27, Peter Maydell <peter.maydell@linaro.org> wrote: >>> >>> On Tue, 27 Oct 2026 at 12:03, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: >>>> >>>> v2: >>>> - remove GIC_ISPENDR workaround: currently under further investigation >>>> - simplify SME save/restore patch >>>> - rework the CPU reset strategy, with also taking care of the GIC CPU interface registers. >>>> >>>> v1: >>>> >>>> - workaround for presumed Hypervisor.framework issue >>>> - save/restore SME state only when SME is on for the CPU >>>> - add ID_AA64PFR0_EL1.GIC sync to advertise the system register interface >>> >>> I've applied patches 1-4 to target-arm.next; 5 and 6 I left comments on. >>> >>> What's the status with the apple-gfx compile failures on macos 27? >>> (issue #4486) >> >> Hi, >> >> I think we should just disable building apple-gfx by default for now. >> >> It’s private API as of macOS 27, and as long as a decision on whether >> to keep that reverse-engineered device model isn’t made yet... > > That makes sense to me; we've had the vmapple machine disabled by default > for a long time, and that I'm guessing that was the biggest reason to use > apple-gfx. > > Do you think we should deprecate the "vmapple" machine type, or do > you hope to resurrect it still? Hi, I do hope to get it resurrected as an optional feature still, but the issue is that it’ll stay (by design) a reverse-engineered model. I need to spin a new revision of the patches for that though. It will break from time to time and cannot come with an expectation of short-term (as in, anything past 6 months) stability/build-ability. > > thanks > -- PMM
On Thu, 29 Oct 2026 at 17:33, Mohamed Mediouni <mohamed@unpredictable.fr> wrote: > On 29. Oct 2026, at 18:13, Peter Maydell <peter.maydell@linaro.org> wrote: > > Do you think we should deprecate the "vmapple" machine type, or do > > you hope to resurrect it still? > I do hope to get it resurrected as an optional feature still, but > the issue is that it’ll stay (by design) a reverse-engineered model. > > I need to spin a new revision of the patches for that though. > > It will break from time to time and cannot come with an expectation > of short-term (as in, anything past 6 months) stability/build-ability. Hmm. If it's going to break every six months or so then I'm not sure it's really a good fit for upstream QEMU. As we've seen, we haven't really in practice been able to get updates to it into the tree particularly quickly, and most downstreams will be operating on a slower cadence. If we had a larger group of people interested in cooperating on maintaining it upstream then that would help, but we don't really seem to have that. thanks -- PMM
© 2016 - 2026 Red Hat, Inc.