summaryrefslogtreecommitdiffstats
path: root/wiki/open-iov.org/index.php?title=File:VFIO_Diagram.png&action=edit.html
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-23 22:07:57 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-23 22:07:57 -0400
commit7eb410a59fa94e69cd6332ed8bf862d58e7d0cee (patch)
tree0119670e88eff30d180716bf04575059ff548130 /wiki/open-iov.org/index.php?title=File:VFIO_Diagram.png&action=edit.html
parent75b908eec35180c71f91450cece1b6d1f3fc5ddd (diff)
downloadopen-iov-7eb410a59fa94e69cd6332ed8bf862d58e7d0cee.tar.gz
open-iov-7eb410a59fa94e69cd6332ed8bf862d58e7d0cee.zip
vgsp-sema r584: the vidmem-window fill decoder - resolve window VAs structurally (the last per-draw GREEN blocker)
The r583 boot's fail-closed refusal traced to a fill that never executes: the CE channel-setup push's 8 KB zero fill to out=0x204820000 decoded fine (type=0 op, dma=0x586, line=8192, value=0) but its EXECUTION resolved the window VA through the generic chain (pin -> ledger -> translate), which answered SYS with a stale landing pa=0x1300b0000; the r369 below-floor guard then refused it ("LOWFILL-REFUSED ... below-floor fill resolved outside vidmem"), the fill never ran, its DSTPEND note stayed live ("DSTPEND note va=0x204820000 type=0", dma-trace denied every pass), and every GR launch touching that page deferred to the r556 cap and (since r583) took the fail-closed no-write path. The vidmem window is offset-mapped by construction (SVC_VIDMEM_VA_BASE 0x200080000 rationale: the client's vidmem VAs are its window base plus the vidmem offset into the emulated BAR1 buffer; the same convention svc_lookup already applies). svc_fill_1d now resolves a VID-aperture fill whose destination is a window VA structurally - addr = VA - window base, aperture VID - so the existing contiguous shadow-write block executes it. Witnessed once per boot ("sema-lowfill-window va=... -> fb offset ..."). No guest page table can express the window offset; the structural rule is faster AND safer than the stale-looking generic chain.
Diffstat (limited to 'wiki/open-iov.org/index.php?title=File:VFIO_Diagram.png&action=edit.html')
0 files changed, 0 insertions, 0 deletions