This repository now holds libreims_vgpu, a Rust library that is the host side of the paravirtualized GPU macOS guests drive, in place of Apple's ParavirtualizedGraphics.framework: the library and its C API (reims_vgpu.h), the PCI device's option ROM, QEMU's apple-gfx on that API (vendor/qemu), the behaviour-lock suite that drives the C API as QEMU does, and reims-ctl, the VM manager users run. README.md says what it is and how it is laid out, and AGENTS.md how to change it. Every file of the earlier tree is replaced. vendor/qemu moves to the steelbrain/reims-vgpu branch of the same public repository.
56 lines
3.9 KiB
JSON
56 lines
3.9 KiB
JSON
# device_barriers_report: A barrier blocked for longer than 2 s logs and posts a stamp-wait report, then keeps waiting; a resume of a FIFO that is not faulted (0x1028) posts one at once. The reports walk the waiting FIFOs (child 1, the root) and every FIFO's pending commands, and change nothing a guest sees: the FIFOs are released by the stamps they wait for. A waiting FIFO whose stamp index names no FIFO is skipped.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 4, "watchdog_s": 30}
|
|
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
|
|
{"off": "0x101c", "op": "mmio_w", "val": "0x10001"}
|
|
{"off": "0x1030", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1004", "op": "mmio_w", "val": "0x8000"}
|
|
{"off": "0x1010", "op": "mmio_w", "val": "0x400"}
|
|
{"off": "0x1000", "op": "mmio_w", "val": "0x1"}
|
|
{"gpa": "0x40010000", "hex": "0500010000000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x4000440c", "hex": "0100", "op": "mem"}
|
|
{"gpa": "0x40004410", "hex": "04000100", "op": "mem"}
|
|
{"gpa": "0x40008400", "hex": "30000000100000000100000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x10"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40018000", "hex": "0700010000000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x40004420", "hex": "0200", "op": "mem"}
|
|
{"gpa": "0x40004424", "hex": "06000100", "op": "mem"}
|
|
{"gpa": "0x40008410", "hex": "30000000100000000200000002000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x20"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40020000", "hex": "0900010000000000", "op": "mem"}
|
|
{"gpa": "0x4000443c", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x40004448", "hex": "0300", "op": "mem"}
|
|
{"gpa": "0x4000444c", "hex": "08000100", "op": "mem"}
|
|
{"gpa": "0x40008420", "hex": "30000000100000000300000004000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x30"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40014000", "hex": "1e00010014000000010000000200000001000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "14000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
|
|
{"gpa": "0x40024000", "hex": "1e00010014000000010000000200000002000000", "op": "mem"}
|
|
{"gpa": "0x4000443c", "hex": "14000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x4"}
|
|
{"gpa": "0x40008430", "hex": "1e00010014000000040000000100000001000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x44"}
|
|
{"ge": "0x1", "gpa": "0x40008004", "label": "child 1 blocked past the 2 s report", "op": "wait", "timeout_ms": 2600}
|
|
{"off": "0x1028", "op": "mmio_w", "val": "0x5"}
|
|
{"label": "blocked, reported", "op": "events"}
|
|
{"label": "blocked", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "blocked", "off": "0x103c", "op": "mmio_r"}
|
|
{"gpa": "0x4001c000", "hex": "1e0000000c00000001000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "0c000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
|
|
{"ge": "0x1", "gpa": "0x40008008", "label": "stamp 1 on FIFO 2", "op": "wait", "timeout_ms": 5000}
|
|
{"ge": "0x1", "gpa": "0x40008004", "label": "child 1 released", "op": "wait", "timeout_ms": 5000}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "root released", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x4001c00c", "hex": "1e0000000c00000002000000", "op": "mem"}
|
|
{"gpa": "0x40004414", "hex": "18000000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x2"}
|
|
{"ge": "0x2", "gpa": "0x40008008", "label": "stamp 2 on FIFO 2", "op": "wait", "timeout_ms": 5000}
|
|
{"ge": "0x1", "gpa": "0x4000800c", "label": "child 4 released", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "released", "op": "events"}
|
|
{"gpa": "0x40008000", "label": "stamp slots", "len": "0x10", "op": "dump"}
|