diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-23 22:07:57 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-23 22:07:57 -0400 |
| commit | 7eb410a59fa94e69cd6332ed8bf862d58e7d0cee (patch) | |
| tree | 0119670e88eff30d180716bf04575059ff548130 /wiki/open-iov.org/index.php?title=Mediated_Device_Internals&action=history.html | |
| parent | 75b908eec35180c71f91450cece1b6d1f3fc5ddd (diff) | |
| download | open-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=Mediated_Device_Internals&action=history.html')
0 files changed, 0 insertions, 0 deletions
