Files
reims-vgpu/tests/suite/generated/tasks_map/tasks_map_coalesce.jsonl
T
Anees Iqbal 98fe2a3bd5 🆕 Replace the tree with libreims_vgpu and its C API
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.
2026-10-11 20:27:17 +03:00

128 lines
8.3 KiB
JSON

# tasks_map_coalesce: The blocks setup's map_memory calls for a map of a whole task at depth 1, 2 and 3 (their page tables read through read_memory, a partial read of the root table and whole lower tables): a run is extended only while the next page follows the run's *first* page, so runs are at most 2 pages, and a run flushed mid-walk is mapped with the *next* page's writability (section 7.1). Then a map across a hole: the pages before it are mapped, then "Found a hole in the page table" faults the command. In the other setups every map completes and no callback is called.
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 2, "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": "0x40054000", "hex": "04000180", "op": "mem"}
{"gpa": "0x40054004", "hex": "05000180", "op": "mem"}
{"gpa": "0x40054008", "hex": "06000180", "op": "mem"}
{"gpa": "0x4005400c", "hex": "07000100", "op": "mem"}
{"gpa": "0x40054010", "hex": "08000100", "op": "mem"}
{"gpa": "0x40054014", "hex": "0e000100", "op": "mem"}
{"gpa": "0x40054018", "hex": "0f000180", "op": "mem"}
{"gpa": "0x4005401c", "hex": "10000180", "op": "mem"}
{"gpa": "0x40054020", "hex": "0c000180", "op": "mem"}
{"gpa": "0x40054024", "hex": "0d000100", "op": "mem"}
{"gpa": "0x40054028", "hex": "11000180", "op": "mem"}
{"gpa": "0x4005402c", "hex": "12000180", "op": "mem"}
{"gpa": "0x40050000", "hex": "15000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40008400", "hex": "380000001c0000000100000002000000000003000000000014000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x1c"}
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x4000841c", "hex": "3900000020000000020000000100000000000000000000000000030000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x3c"}
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"label": "depth 1", "op": "events"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0000", "hex": "16000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0004", "hex": "17000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0008", "hex": "18000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a000c", "hex": "19000100", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0010", "hex": "1a000100", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0014", "hex": "20000100", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0018", "hex": "21000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a001c", "hex": "22000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0020", "hex": "1e000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0024", "hex": "1f000100", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a0028", "hex": "23000180", "op": "mem"}
{"gpa": "0x4009c000", "hex": "28000100", "op": "mem"}
{"gpa": "0x400a002c", "hex": "24000180", "op": "mem"}
{"gpa": "0x40098000", "hex": "27000100020000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x4000843c", "hex": "380000001c0000000300000004000000000003000000000026000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x58"}
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40008458", "hex": "3900000020000000040000000200000000000000000000000000030000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x78"}
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"label": "depth 2", "op": "events"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0000", "hex": "29000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0004", "hex": "2a000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0008", "hex": "2b000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f000c", "hex": "2c000100", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0010", "hex": "2d000100", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0014", "hex": "33000100", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0018", "hex": "34000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f001c", "hex": "35000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0020", "hex": "31000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0024", "hex": "32000100", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f0028", "hex": "36000180", "op": "mem"}
{"gpa": "0x400e8000", "hex": "3b000100", "op": "mem"}
{"gpa": "0x400ec000", "hex": "3c000100", "op": "mem"}
{"gpa": "0x400f002c", "hex": "37000180", "op": "mem"}
{"gpa": "0x400e4000", "hex": "3a000100030000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x40008478", "hex": "380000001c0000000500000006000000000003000000000039000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x94"}
{"ge": "0x5", "gpa": "0x40008000", "label": "stamp 5 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x40008494", "hex": "3900000020000000060000000300000000000000000000000000030000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xb4"}
{"ge": "0x6", "gpa": "0x40008000", "label": "stamp 6 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"label": "depth 3", "op": "events"}
{"gpa": "0x400f8000", "hex": "3f000180", "op": "mem"}
{"gpa": "0x400f8004", "hex": "40000180", "op": "mem"}
{"gpa": "0x400f8008", "hex": "41000180", "op": "mem"}
{"gpa": "0x400f800c", "hex": "42000180", "op": "mem"}
{"gpa": "0x400f8010", "hex": "43000180", "op": "mem"}
{"gpa": "0x400f8018", "hex": "44000180", "op": "mem"}
{"gpa": "0x400f801c", "hex": "45000180", "op": "mem"}
{"gpa": "0x400f4000", "hex": "3e000100010000000000000000000000000000000000000000000000000000000000000000000000", "op": "mem"}
{"gpa": "0x400084b4", "hex": "380000001c000000070000000800000000000200000000003d000100", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xd0"}
{"ge": "0x7", "gpa": "0x40008000", "label": "stamp 7 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x400084d0", "hex": "3900000020000000080000000400000000000000000000000000020000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0xf0"}
{"label": "fault? map across a hole", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 500}
{"label": "map across a hole", "off": "0x102c", "op": "mmio_r"}
{"label": "map across a hole", "off": "0x103c", "op": "mmio_r"}
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
{"ge": "0x8", "gpa": "0x40008000", "label": "stamp after map across a hole", "op": "wait", "timeout_ms": 5000}
{"gpa": "0x400084f0", "hex": "3900000020000000090000000400000000000000000000000000010000000000", "op": "mem"}
{"off": "0x1008", "op": "mmio_w", "val": "0x110"}
{"ge": "0x9", "gpa": "0x40008000", "label": "stamp 9 on FIFO 0", "op": "wait", "timeout_ms": 5000}
{"label": "across a hole", "op": "events"}
{"label": "end", "op": "diff"}