qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 16/26] hw/display/apple-gfx: Asynchronous MMIO writes on x86-


From: Phil Dennis-Jordan
Subject: Re: [PATCH 16/26] hw/display/apple-gfx: Asynchronous MMIO writes on x86-64
Date: Wed, 17 Jul 2024 13:09:07 +0200


On Tue, 16 Jul 2024 at 16:48, BALATON Zoltan <balaton@eik.bme.hu> wrote:
Only a guess but I think ARM like POWER has weak memory consistency so
maybe some sync ops are needed between writes somewhere whereas it would
work on X86_64 that has strong guarantees so no such explicit sync is
needed? I may completely wrong though, it's just what this reminded me of.

I didn't think this should matter for MMIO, which causes a VM exit instead of a memory write.

The x86-64 and aarch64 binaries of Apple's PVG framework clearly diverge in a number of ways. (For one, the x86-64 binary completely lacks the IOSurface mapper sub-device used by Virtualization.framework and the vmapple variant of the code here.) So I think the reason is more likely down to implementation details in Apple's framework.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]