Files
reims-vgpu/guest
Anees Iqbal 2dfdbe1df5 🐛 Order the region's stores before a register store on arm64
A doorbell names what the guest wrote to the region before it. Each writer
publishes with a release store and a full fence. On x86-64 that keeps
every store in order, the register's included. On arm64 those barriers
(DMB ISH) order the stores for the guest's CPUs alone, the inner-shareable
domain. The device is no CPU of the guest's.

Both of the kext's register writes, the display's and the accelerator's,
now take a DMB OSHST before the store on arm64, as Linux's writel does
before a doorbell. The doorbell a process rings reaches the device through
the accelerator's writeRegister, so it is covered too. The function is
empty on x86-64.
2026-11-09 05:33:42 -08:00
..