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.
85 lines
9.0 KiB
JSON
85 lines
9.0 KiB
JSON
# interplay_limits_all_tasks: Every task ID at once: tasks 0-255 defined over one shared address space (the same page table; one task root page each), each given the same object list of 256 buffers, all over one page; task 256 refused ("Invalid task ID"). Tasks 1-255 each run an exec that fills byte t of the page through buffer t, chained on the root FIFO one after another. Then, interleaved: child 1 holds the execs of tasks 128-255 (round 1) behind a NOP gated on the root, while the root deletes tasks 1-127 and then opens the gate; child 1's execs all run, and the task words of the deleted tasks read 0. An exec for deleted task 5 faults ("Invalid task"). Tasks 1-127 are defined again, their lists set, and run round 1. Under isolation tasks 1-255 are 255 service instances, of which 127 are ended and started again. Block calls are locked as counts and a digest.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 2, "watchdog_s": 120}
|
|
{"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": "0x20000"}
|
|
{"off": "0x1010", "op": "mmio_w", "val": "0x400"}
|
|
{"off": "0x1000", "op": "mmio_w", "val": "0x1"}
|
|
{"gpa": "0x40028000", "hex": "0b0001000c0001000d0001000e00010000000000", "op": "mem"}
|
|
{"gpa": "0x40004400", "hex": "00000000", "op": "mem"}
|
|
{"gpa": "0x4000440c", "hex": "0100", "op": "mem"}
|
|
{"gpa": "0x40004410", "hex": "0a000100", "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": "0x4004c000", "hex": "0f000180100001801100018012000180", "op": "mem"}
|
|
{"gpa": "0x4003c000", "hex": "000000000000000000000000", "op": "mem"}
|
|
{"count": 256, "fields": [[4, 8, "0x1000", "0x10"]], "gpa": "0x4003c00c", "hex": "011000000000000000000000", "op": "mem_seq", "stride": 12}
|
|
{"count": 256, "fields": [], "gpa": "0x4003d000", "hex": "00400000000000000100000000000000", "op": "mem_seq", "stride": 16}
|
|
{"count": 257, "fields": [], "gpa": "0x40050000", "hex": "13000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem_seq", "stride": 16384}
|
|
{"count": 255, "fields": [[16, 4, "0x1", "0x1"], [20, 8, "0x1", "0x1"], [36, 4, "0x1", "0x1"]], "gpa": "0x40044040", "hex": "28000000020000003201000020000000010000000000000000000000010000000000000000000000", "op": "mem_seq", "stride": 64}
|
|
{"count": 255, "fields": [[16, 4, "0x1", "0x1"], [20, 8, "0x101", "0x1"], [36, 4, "0x1", "0x1"]], "gpa": "0x40048040", "hex": "28000000020000003201000020000000010000000000000000000000010000000000000000000000", "op": "mem_seq", "stride": 64}
|
|
{"gpa": "0x40008410", "hex": "1e000000100000000200000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x20"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "aligning NOP", "op": "wait", "timeout_ms": 5000}
|
|
{"count": 256, "fields": [[8, 4, "0x3", "0x1"], [12, 4, "0x0", "0x2"], [24, 4, "0x10014", "0x1"]], "gpa": "0x40008420", "hex": "3800000020000000000000000000000000000100000000000000000000000000", "op": "mem_seq", "stride": 32}
|
|
{"count": 256, "fields": [[8, 4, "0x103", "0x1"], [20, 4, "0x0", "0x1"], [16, 4, "0x102", "0x1"]], "gpa": "0x4000a420", "hex": "330001002000000000000000000000000000000000000000000000000c0c0000", "op": "mem_seq", "stride": 32}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x4020"}
|
|
{"ge": "0x202", "gpa": "0x40008000", "label": "256 tasks defined, lists set", "op": "wait", "timeout_ms": 60000}
|
|
{"label": "256 tasks", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "256 tasks", "off": "0x103c", "op": "mmio_r"}
|
|
{"gpa": "0x40004000", "label": "task words", "len": "0x400", "op": "dump"}
|
|
{"gpa": "0x4044c000", "label": "task 255's root", "len": "0x28", "op": "dump"}
|
|
{"blocks_digest": true, "label": "256 tasks defined", "op": "events"}
|
|
{"gpa": "0x4000c420", "hex": "380000001c0000000302000000020000000001000000000014010100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x403c"}
|
|
{"label": "task 256", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "task 256", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "task 256", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"gpa": "0x4000c43c", "hex": "1e00000044000000040200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x4080"}
|
|
{"ge": "0x204", "gpa": "0x40008000", "label": "aligning NOP", "op": "wait", "timeout_ms": 5000}
|
|
{"count": 255, "fields": [[8, 4, "0x205", "0x1"], [20, 4, "0x1", "0x1"], [40, 8, "0x8040", "0x40"], [32, 4, "0x1", "0x1"], [16, 4, "0x204", "0x1"]], "gpa": "0x4000c480", "hex": "43000100400000000000000000000000000000000000000001000000010000000100000000000000000000000000000028000000000000000000000000000000", "op": "mem_seq", "stride": 64}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x8040"}
|
|
{"ge": "0x303", "gpa": "0x40008000", "label": "255 execs", "op": "wait", "timeout_ms": 60000}
|
|
{"gpa": "0x40040000", "label": "round 0", "len": "0x100", "op": "dump"}
|
|
{"blocks_digest": true, "label": "255 execs, one at a time", "op": "events"}
|
|
{"gpa": "0x4002c000", "hex": "1e000100400000000100000000000000820300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"count": 128, "fields": [[8, 4, "0x2", "0x1"], [20, 4, "0x80", "0x1"], [40, 8, "0xe000", "0x40"], [32, 4, "0x80", "0x1"], [16, 4, "0x1", "0x1"]], "gpa": "0x4002c040", "hex": "43000100400000000000000001000000000000000000000001000000010000008000000000000000000000000000000028000000000000000000000000000000", "op": "mem_seq", "stride": 64}
|
|
{"gpa": "0x40004400", "hex": "40200000", "op": "mem"}
|
|
{"off": "0x1020", "op": "mmio_w", "val": "0x1"}
|
|
{"ge": "0x1", "gpa": "0x40008004", "label": "child 1 held on the root", "op": "wait", "timeout_ms": 300}
|
|
{"count": 127, "fields": [[8, 4, "0x304", "0x1"], [12, 4, "0x1", "0x1"]], "gpa": "0x40010440", "hex": "2000000020000000000000000000000000000000000000000000000000000000", "op": "mem_seq", "stride": 32}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x9020"}
|
|
{"ge": "0x382", "gpa": "0x40008000", "label": "127 tasks deleted", "op": "wait", "timeout_ms": 60000}
|
|
{"ge": "0x81", "gpa": "0x40008004", "label": "child 1's 128 execs", "op": "wait", "timeout_ms": 60000}
|
|
{"gpa": "0x40004000", "label": "task words, 1-127 deleted", "len": "0x400", "op": "dump"}
|
|
{"gpa": "0x40040100", "label": "round 1, tasks 128-255", "len": "0x100", "op": "dump"}
|
|
{"blocks_digest": true, "label": "deletes, then child 1's execs", "op": "events"}
|
|
{"gpa": "0x40011420", "hex": "430000003000000083030000050000000100000001000000050000000000000040810000000000002800000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x9050"}
|
|
{"label": "exec of deleted task 5", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "deleted task 5", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "deleted task 5", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"gpa": "0x40011450", "hex": "1e000000100000008403000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x9060"}
|
|
{"ge": "0x384", "gpa": "0x40008000", "label": "aligning NOP", "op": "wait", "timeout_ms": 5000}
|
|
{"count": 127, "fields": [[8, 4, "0x385", "0x1"], [12, 4, "0x2", "0x2"], [24, 4, "0x10015", "0x1"]], "gpa": "0x40011460", "hex": "3800000020000000000000000000000000000100000000000000000000000000", "op": "mem_seq", "stride": 32}
|
|
{"count": 127, "fields": [[8, 4, "0x404", "0x1"], [20, 4, "0x1", "0x1"], [16, 4, "0x403", "0x1"]], "gpa": "0x40012440", "hex": "330001002000000000000000000000000000000000000000000000000c0c0000", "op": "mem_seq", "stride": 32}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xb020"}
|
|
{"ge": "0x482", "gpa": "0x40008000", "label": "1-127 defined again", "op": "wait", "timeout_ms": 60000}
|
|
{"gpa": "0x40013420", "hex": "1e00000020000000830400000000000000000000000000000000000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xb040"}
|
|
{"ge": "0x483", "gpa": "0x40008000", "label": "aligning NOP", "op": "wait", "timeout_ms": 5000}
|
|
{"count": 127, "fields": [[8, 4, "0x484", "0x1"], [20, 4, "0x1", "0x1"], [40, 8, "0xc040", "0x40"], [32, 4, "0x1", "0x1"], [16, 4, "0x483", "0x1"]], "gpa": "0x40013440", "hex": "43000100400000000000000000000000000000000000000001000000010000000100000000000000000000000000000028000000000000000000000000000000", "op": "mem_seq", "stride": 64}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0xd000"}
|
|
{"ge": "0x502", "gpa": "0x40008000", "label": "round 1, tasks 1-127", "op": "wait", "timeout_ms": 60000}
|
|
{"gpa": "0x40040000", "label": "both rounds", "len": "0x200", "op": "dump"}
|
|
{"gpa": "0x40004000", "label": "task words, all defined", "len": "0x400", "op": "dump"}
|
|
{"label": "end", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x103c", "op": "mmio_r"}
|
|
{"blocks_digest": true, "label": "redefined, round 1", "op": "events"}
|