omega-gpu-driver design notes
Status: sections 1-3 are PROPOSED. Sections 4 and 8 are IMPLEMENTED and EXERCISED on the host only; sections 5-7 retain their individually stated evidence boundaries. Nothing here has run on GB10 hardware; hardware qualification is NOT_RUN.
The bring-up design (GSP boot chain, RPC surface, the ogd launcher and manifest, the D2 window) is in the
lane's design document and is summarised in README.md and window/README.md. This file holds the design
decisions for the driver's isolation model and its userspace interface.
Source: an accel-driver survey of 2026-10-27 (lessons 1-3). It read the two Linux accel NPU drivers at
torvalds/linux d135ab453a740. All drivers/accel/... and include/uapi/... cites below are file:line in
that tree. NV: cites are NVIDIA open-gpu-kernel-modules 580.173.02, src/common/sdk/nvidia/inc/class/.
1. Isolation: one private GPU address space per client, no pushbuffer parser
The two Linux models. The two drivers protect the device in different ways:
- ethosu has no MMU, so the kernel checks every command stream.
- It copies the stream into a buffer object marked no-mmap (
ethosu_drv.c:130, enforced atethosu_gem.c:26-27), so userspace cannot change it after the check. - It replays the stream in an interpreter (
ethosu_gem_cmdstream_copy_and_validate,ethosu_gem.c:385-707). - Submit refuses a region that does not fit its buffer (
ethosu_job.c:398-496).
- It copies the stream into a buffer object marked no-mmap (
- rocket has an MMU and never parses commands.
rocket_opengives each open file its own IOMMU paging domain (rocket_drv.c:72,89; created at 38-56).- Buffers are mapped into that domain (
rocket_gem.c:96). - The domain is attached to the core for each job and detached afterwards (
rocket_job.c:348, 382, 406).
What OwnDriver adopts. The GB10 translates GPU virtual addresses through its GMMU, so OwnDriver follows rocket:
- Every client gets its own GPU VA space (FERMI_VASPACE_A). That client's page tables come from local GMMU
code (
chan/gmmu.om) and are installed with SET_PAGE_DIRECTORY. - A client's buffers are mapped only into its own VA space.
- The driver does not parse or check pushbuffers or GPFIFO contents. Its job is address-space setup, buffer bounds, fences and teardown.
Paths the GMMU may not translate. On these paths ethosu-style copy-then-check still applies. The paths come from the docs and none has been checked on the chip (UNVERIFIED):
- Copy-engine physical mode. Ampere's copy class has
LAUNCH_DMA_SRC_TYPE_PHYSICALandDST_TYPE_PHYSICAL(NV:clc7b5.h:121-126). The published Blackwell copy headers (NV:clc9b5.h,NV:clcab5.h) list too few methods to say whether the mode still exists. - Structures the GPU reads by bus address.
- These are the instance block, RAMFC, USERD and the GPFIFO ring, whose IOVAs travel in the channel alloc RPC (lane design §3).
- ogd allocates and writes them itself; a client never supplies their contents. That is the copy-then-check rule applied at allocation.
- The SMMU. It translates every device access (
iommu.passthrough=0; the GPU is alone in IOMMU group 20). But one VFIO container gives the whole device a single IOMMU domain. A physical-mode access is therefore bounded by the union of all clients' DMA mappings, not by one client's mappings [INFERENCE]. Until (1) is settled, either refuse physical-mode copy methods, or run only one client at a time.
Scope in v1. In v1 the workload inherits the VFIO device fd (lane design §4), so it has BAR0 read/write
access. v1 therefore has one trusted workload per ogd session and claims no isolation between clients. The
per-client VA space model starts to protect something only once ogd serves more than one client and the
workload no longer holds the VFIO fd. That is v2: a request pipe, plus a mapping of only the doorbell and
USERD pages.
2. Submit ABI
The rules come from ethosu's job path and rocket's uapi. Each one is required from the first version of the ABI:
- Per-buffer read/write flags; the write fence goes only on outputs.
- ethosu takes an implicit dependency for every buffer, marked as a write only for output regions
(
ethosu_job.c:91-99). - It attaches the done fence with
DMA_RESV_USAGE_WRITEonly to outputs (ethosu_job.c:102-114). - It locks all buffers as one group (
drm_gem_lock_reservations,ethosu_job.c:122-142). - Each submit buffer entry in my ABI carries
READ,WRITEor both. A read-only input never waits on another reader.
- ethosu takes an implicit dependency for every buffer, marked as a write only for output regions
(
- A watchdog that checks progress before resetting.
- ethosu runs one job in flight (
credit_limit = 1,ethosu_job.c:327). - Its timeout handler reads the queue read pointer (
NPU_REG_QREAD,ethosu_job.c:280). If the pointer still moves, it lets the job run on (ethosu_job.c:287-292) and resets only after that (ethosu_job.c:305). - My counterpart is GPGet in USERD and the semaphore sequence. The watchdog reads one of them before it tears a channel down. A timeout with that counter still advancing is not a hang.
- ethosu runs one job in flight (
- Reserved, pad and flags fields must be zero. Refuse the call otherwise: ethosu
ethosu_drv.c:125; rocketrocket_gem.c:143,rocket_gem.c:174androcket_job.c:643. An unknown flag bit is refused, never ignored. - Self-sized structs.
- rocket's submit carries
job_struct_sizeandtask_struct_size(rocket_accel.h:142-145, 177-180). - The kernel refuses sizes smaller than the struct it knows (
rocket_job.c:77, 638-639) and steps through the arrays by the size the caller declared (rocket_job.c:95, 656). - My records start with a byte size and a version. The ABI can then grow at the tail without breaking old callers.
- rocket's submit carries
3. Ordering and cache sync: fences, not cache-maintenance calls
rocket brackets CPU access with explicit calls:
PREP_BOwaits for the write fence with a timeout, then callsdma_sync_sgtable_for_cpu(rocket_gem.c:152-161).FINI_BOcallsdma_sync_sgtable_for_device(rocket_gem.c:186).
rocket needs these because the RK3588 NPU's DMA is not cache-coherent. That is the reason given in review; it was not checked against RK3588 documentation here. ethosu syncs implicitly when a buffer is waited on or mapped.
The GB10 is a self-hosted part with a coherent C2C link. NVIDIA's RM treats it as such:
- Local EGM is set up only when
gpuIsSelfHosted(pGpu)andPDB_PROP_KBIF_IS_C2C_LINK_UPhold (NV2:mem_mgr.c:4022-4023, with the comment "EGM can be enabled only in C2C path"). - When
kbusIsBar1Disabled(NV2:mem_mgr_gm107.c:619), BAR1 is reported as size 0, with the comment "When coherent C2C path is enabled, BAR1 is disabled" (NV2:mem_mgr_gm107.c:688-694).
NV2: is src/nvidia/src/kernel/gpu/mem_mgr/ (with arch/maxwell/ for the gm107 file) in the same
580.173.02 tree. Neither function has been run on my chip. The lines say how RM treats a self-hosted C2C
GPU, not that every GB10 access path is coherent.
What this design takes from that:
- The proposed ordering model is fences plus memory ordering, not a coherency proof.
- The CPU reads an output only after that job's write fence (§2) has signalled.
- The submit path keeps its barriers: ring write,
dsb sy, GPPut,dsb sy, doorbell. - Completion is a semaphore release that the CPU reads after the fence.
prep/finicannot yet be declared GB10 no-ops. NVIDIA 580.173.02src/common/sdk/nvidia/inc/nvos.h:1117-1125explicitly warns that GPU-cached system memory is not coherent with direct CPU mappings. A coherent C2C link alone does not settle GPU-cache policy.
- No BAR1 VRAM mapping. BAR1 is off on this chip: RM reports it as size 0 (above), and sysfs shows BAR0
only (lane design §1).
- All buffers are sysmem: pinned pages, VFIO MAP_DMA, and GMMU PTEs with the snooped sysmem aperture.
- The CPU's view of a buffer is the CPU's own mapping of those pages.
4. Owned userspace DMA window
chan/gmmu.om no longer presents the simulator's global mmwin array as hardware DMA backing.
mmwinit selects that array explicitly. mmwalloc(iova, size) instead owns one shared anonymous
read/write mapnew handle. CPU access uses that live handle plus a checked offset through
mmrd32/64, mmwr8/32/64 and mmzero. The compiler's ordered word operations are used for aligned
32/64-bit accesses; zeroing handles byte tails separately. mmwb is an IOVA, mmwcpu is an
informational CPU virtual base, and a buffer's gmbva is its independent GPU VA. They are not aliases.
This is a Linux userspace VFIO backend, not an Omega Linux kernel module or replacement for Linux's DMA/IOMMU implementation. It neither opens nor closes a VFIO fd, adopts a container, resets a device, or changes authorization. The caller must already have sole lifecycle ownership of the authorized container. No fork, fd close/reuse, concurrent caller, or process restart may invalidate the recorded tuple while it is retained. The process-local quarantine latch is not crash-safe containment and is not permission to run hardware.
The immutable live tuple is (mmwgen, mmwh, mmws, mmwb, mmwfd): epoch, owned handle, whole length,
IOVA and container fd. mmwgen never wraps. Address-space, buffer and channel operations validate
their recorded window epoch; an old slot cannot become live merely because a new window exists.
| State | Allowed transition |
|---|---|
| NONE | mmwalloc -> OWN only after backing allocation succeeds |
| OWN | mmwdmap(epoch, fd) -> DMA only after whole-window MAP_DMA succeeds |
| DMA | mmwpublish(epoch) -> PUB before exposing any IOVA through boot args, mailbox, RPC, channel bind or page-directory register |
| OWN or DMA, never published | mmwclose(epoch) -> NONE; DMA requires successful full exact UNMAP_DMA before mapdrop |
| PUB | No reclaim/reset/reuse API; uncertain completion -> QUAR |
| QUAR | No reclaim/reset/reuse API, including after a modelled idle or successful TLB invalidation |
chan/dma.om reconstructs the request for every attempt: compiler 397e6704 replaces the vaddr
handle with the CPU base even when the ioctl fails. Only EBADF is classified as proven no-target
and remains OWN; other mapping errors retain uncertain ownership in QUAR without speculative
UNMAP_DMA. Failed unmap, zero/partial/oversized returned extent, or failed drop retain the handle.
The entire recorded range must be returned by UNMAP_DMA before drop. An unmap failure is never
converted into reclamation.
Publication is sticky even if the following operation fails. Page-table root publication latches
PUB before register writes; timeout latches QUAR. Owned page-table/allocator reset, mutation and
published-buffer reuse are refused. Simulator channel ops explicitly refuse owned backing rather
than walking the unrelated mmwin array. The boot/RPC caller must invoke mmwpublish before
serializing any DMA reference and mmwquar on uncertain post-publication completion. This backend
does not supply those GSP callsites or invent an idle proof. No documented, exercised GB10 idle
protocol exists here; published or quarantined memory therefore remains retained.
Sources: Linux include/uapi/linux/vfio.h:1544-1615 (whole mapping and actual returned unmap size),
NVIDIA 580.173.02 nvos.h:1117-1125 (cache policy warning), and
omega-mv 397e67040fb74853c6814097fe02ae4e1ebd6f66, seed/host/MAPPING.md:27-45,84-98.
Pinned omc sha256: bcfa582892afca8f65e551fe56867d918d86e84540c7381be8fa9ef18d0cf0f6
(pending omega-mv#890 stacked on #878, not main).
Host evidence: OMC=/path/to/pinned/omc sh tests/dma_host.sh exercises anonymous memory, a real
invalid-fd refusal/retry, 23 explicit replay/boundary cases and 11 compiling negative-control mutants.
The replay transport is test-only link-time substitution, not a runtime fallback or DMA evidence.
tests/chan_diff.sh preserves the simulator's 391-line byte-identical C-reference trace.
Observed exit 0 for both gates. Replay binary sha256:
06f290ccc82f33cfa2ae14b8a0604ba722988b93e6ff7299259b8779cc7a9575;
production invalid-fd check binary sha256:
e2dfe13d77b4ae92b91b2ae6751eb1f107420754547b4da5fddf56058697ec60.
The gate emits source-file and binary checksums on each run; those are compiler/host evidence only.
No VFIO device was opened and no MMIO, DMA, reset, driver or service action was performed.
Hardware and Linux-kernel execution: NOT_RUN.
5. Unified memory page tables (2026-11-05)
Status: IMPLEMENTED and HOST_EXERCISED. Hardware qualification is NOT_RUN. This section does not change sections 1-4 and does not install a page table on a device.
uvm/fmt.om, uvm/pt.om and uvm/fault.om build Blackwell VER3 page tables, allocate a 2^28-byte
window at VA 2^32, map and unmap 4 KiB, 64 KiB and 2 MiB pages, and decode one NVC369 32-byte fault
packet. Field positions are cited from open-gpu-kernel-modules 580.173.02 (dev_mmu.h
NV_MMU_VER3_*, dev_fault.h NV_PFAULT_FAULT_TYPE_*, clc369.h NVC369_BUF_ENTRY_*). No NVIDIA
source is copied. chan/gmmu.om remains the channel port. These units use the uv prefix and must
not be concatenated with chan/.
The page-table pool is 16 pages of 4096 bytes at physical address 2^31. A leaf PTE sets bit 0. A page-directory entry leaves bit 0 clear and stores aperture SYS (2) at bits 2:1 and PCF 2 at bits 5:3. The physical address is bits 51:12, except a 64 KiB PDE, whose address is bits 51:8. The PD0 entry is 16 bytes: word 0 is the 64 KiB table or a 2 MiB PTE, word 1 is the 4 KiB table. A set valid bit in word 0 is a 2 MiB leaf, not a pointer.
Constants, WolframLanguageEvaluator: 2^12 -> 4096, 2^16 -> 65536, 2^21 -> 2097152,
2^31 -> 2147483648, 16*4096 -> 65536, 2^32 -> 4294967296, 2^28 -> 268435456,
2^57 -> 144115188075855872, 2^52 -> 4503599627370496,
BitAnd[2^52-1, BitNot[2^12-1]] -> 4503599627366400,
BitAnd[2^52-1, BitNot[2^8-1]] -> 4503599627370240.
Fault service is a policy, not a device action. An invalid packet is ignored. A disabled packet, a non-replayable packet, or fault type 3 or above is fatal. A replayable fault whose VA has no reservation, or whose reservation has no physical page, is cancelled. A write to a read-only reservation is fatal. Otherwise the missing page is mapped from the reservation and the action is replay. A second fault on a page that replay already mapped does not write the table again.
Host evidence is tests/uvm_diff.sh and tests/mutants-uvm.sh, both exit 0 on 2026-11-05, compiled
with omc sha256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. The checker walks
the dumped bytes itself. Overlap, misalignment, an out-of-window VA, a pool alias, a read-only
write, an invalid packet and a non-replayable fault are refused. Five single-line mutants are
killed, and one flipped dump nibble is refused.
Chip runbook. Do not run a device command from this unit. It has no device words and no SET_PAGE_DIRECTORY path. Blocked on an exclusive Drake-authorized window and on a qualified instance-MMU install path in this driver. Until both exist, the chip tier stays NOT_RUN. The host commands that must stay green before that window are:
taskset -c 10-14 nice -n 10 sh tests/uvm_diff.sh
taskset -c 10-14 nice -n 10 sh tests/mutants-uvm.sh
A future window, after that install path exists, compares one 32-byte fault-buffer entry from the
instance with the decode in tests/uvm_check.py. That comparison has no command yet, because
writing one that opens /dev/nvidia* would be a false runbook. Do not take
/tmp/aien-gb10.lock. Host PASS is not chip qualification.
6. Bounded UVM service (host model)
This first-party seeded Omega service builds on section 5, not NVIDIA implementation code.
It is not a kernel module, a Linux ioctl endpoint, or a hardware queue producer. The chip tier remains
NOT_RUN. All implementation is .om; Python 3.12.3 and Ubuntu cc 13.3.0 are verification
oracles only, never linked into the service. The local model queue is first-party Omega from draft
#11 at b06b3f9a3dd1e74a3099350760cb3d26a3f33577, stacked on #9. This service branch is
stacked on #10 at 4917e4e218e392526351e05b9169bd00679ac724.
Entry points and bounded ownership
One isolated service instance owns one VA space and one serialized producer/consumer pair.
screate/sdestroy create/destroy that space; destroy refuses a nonempty range tree or pending
fault/command records. Removal refuses unconsumed command records before touching PTEs. A space
cannot be reused with stale faults. There is no concurrency, process-exit reclamation or physical
completion proof in this model.
Callers clear sen before each top-level batch/notification to own the bounded event output; the
trace harness does so for every request. The ring indices, overflow latch and queue indices persist.
sadd(va,size,pa,policy), ssplit(va), smerge(base) and sremove(base,size) maintain up to
64 sorted, nonoverlapping ranges. sfind(va) traverses their implicit balanced binary-search tree.
The array representation needs no allocator or pointer ownership. Split preserves policy and
physical offset. Merge requires adjacent VA and PA intervals and identical policy. Remove requires
the exact interval; callers split first for subrange removal. Removal unmaps installed 4K PTEs and
clears residency/counter state. The section-5 16-page page-table pool is bounded and never reclaimed
piecemeal; a new empty space resets it. This service uses 4K pages; section 5 separately supports
64K/2M pages.
Policy bits: 0 preferred location (CPU=0, GPU=1), 2:1 accessed-by mask (CPU=1, GPU=2), 3 read duplication, 4 read-only, 5 cancel-on-fault. Other bits are refused. All addresses and sizes must be 4K-aligned and fit section 5's VA/PA windows; overlap returns UVEBUSY=3, misalignment UVEALIGN=2, capacity UVENOM=4, missing interval UVENOENT=5, bounds UVERANGE=6. The physical page-table pool cannot be aliased. A zero backing PA denotes an unbacked reservation and cancels faults rather than inventing physical memory.
Fault ring, pipeline and queue records
uvpkt is the caller's 32-byte packet staging buffer. fbpush preserves every byte and advances
monotonic PUT only if one of 16 entries is free. Full returns UVENOM and latches overflow;
fbrecover clears it only after GET catches PUT. PUT wrap is refused. fbbatch stops at an
invalid head without advancing GET; valid consumption clears the valid bit and advances GET.
It deduplicates benign replayable faults by (4K VA page, access type), not fatal/nonreplayable
packets. Queue pressure leaves the head intact for a later explicit retry. It does not silently
discard queued faults when overflow occurs.
sservice decodes using section 5's fault.om: disabled, nonreplayable, malformed-access or fatal
faults yield UVFATAL=11. Missing/unbacked/cancel-policy ranges yield UVCANCEL=10. Read-only
write/atomic faults are fatal. Successful faults build or update an actual section-5 PTE, update a
128-entry residency ledger, emit invalidate then replay, and return UVREPLAY=9. A per-batch event
contains six LE u64s: VA page, access, decision, PA, the actual installed PTE bytes, residency mask.
Nonmapping decisions zero the final three fields.
The connected #11 iqcommand(op,seq,va,pa,flags) format is five LE u64s (40 bytes), capacity 8:
op=2 local invalidate descriptor, then op=1 local replay descriptor. Flags are the CPU/GPU residency
mask. Sequence is nonzero and strictly increasing. These are deliberately not NVIDIA physical
RPC IDs. iqctake captures an immutable consumer item and iqcack(exact-sequence) advances once.
The service reserves two free slots and sequence/producer headroom before changing any PTE. It
requires model mode and live state. A failed publication after a PTE change sets sticky sqbad and
fatally refuses later faults; no rollback pretends the device never observed a mapping. There is no
hardware effect adapter. Consuming/ACKing a record is not a TLB/replay completion receipt.
GB10 shared physical memory and access counters
GB10 CPU and GPU share physical memory. Here migration changes the mapping permissions, logical residency and required coherence descriptors, never copies data or changes backing PA. A GPU write/atomic makes logical ownership GPU-only; CPU mappings must be invalidated by a future effect adapter before real replay. A read keeps CPU access for CPU-preferred/accessed-by-CPU/read-duplicate policy; otherwise GPU-only. Read duplication installs a read-only GPU PTE; a later write changes permissions on the same PA and drops CPU ownership. Permanent read-only policy never upgrades. These are model transitions, not measured cache coherency. No behavior is claimed for a discrete GPU needing physical migration/copies.
scnotify(limit) consumes one NVC365 notification from uvpkt. It requires limit 1..65535,
valid=1, virtual address type and coherent system aperture. Invalid entries are ignored; physical or
unsupported-aperture entries are refused, not guessed. Decoded fields are page VA, 16-bit absolute
count, CPU/GPU type and 20-bit tag. Unmapped/unresident pages return UVENOENT. It records the
latest count; counts below the inclusive threshold are ignored. At/above threshold it runs the same
read-fault pipeline; a CPU notification does not move a GPU-preferred page. This is an explicit
threshold policy, not an assertion about hardware counter reset, sampling or scheduling semantics.
Server-side ioctl ABI
sidispatch(cmd,size) reads siab and returns local UV status, siolen, and siob output bytes.
It copies the exact-size input into output, modifies defined output fields, and writes rmStatus.
Unknown commands or any wrong byte length return UVEINVAL with zero output length. No ioctl
system call executes. One instance admits one registered GPU/VA-space pair. Initialization cannot
repeat; flags 0 and 1 are supported, other flags are refused. UUID, client and nonnegative fd are
validated as model identity, not as real RM authority.
siobject(handle,pa,size) is the server's explicit trusted backing-capability input. External allocation
mapping requires such a capability, registered GPU and VA space, matching client/fd/UUID, bounded
offset and default mapping/cache/format attributes. An RM handle is never reinterpreted as a PA.
No real RM object resolver is implemented or implied. FREE removes an exact range; GPU unregister
refuses live ranges. Range groups issue monotonic IDs; no group-membership ioctl is in this scope.
PAGEABLE_MEM_ACCESS reports this model's supported pageable policy, not the installed Linux driver's
capability. Local errors map to NV_ERR_INVALID_ARGUMENT=31, INVALID_STATE=64 for permission,
and IN_USE=23 for busy; success is NV_OK=0.
All header references below are read-only NVIDIA open-gpu-kernel-modules 580.173.02,
commit 20e4e6e19cc26ba47b5cbe23130a396be100c427. Only positions/numbers were used:
| Command | Number | Host measured size/status offset | Source path:line |
|---|---|---|---|
| UVM_INITIALIZE | 805306369 | 16 / 8 | kernel-open/nvidia-uvm/uvm_linux_ioctl.h:28-38 |
| UVM_REGISTER_GPU | 37 | 40 / 36 | kernel-open/nvidia-uvm/uvm_ioctl.h:532-543 |
| UVM_UNREGISTER_GPU | 38 | 20 / 16 | kernel-open/nvidia-uvm/uvm_ioctl.h:548-554 |
| UVM_CREATE_RANGE_GROUP | 23 | 16 / 8 | kernel-open/nvidia-uvm/uvm_ioctl.h:381-387 |
| UVM_MAP_EXTERNAL_ALLOCATION | 33 | 9264 / 9260 | kernel-open/nvidia-uvm/uvm_ioctl.h:491-504 |
| UVM_FREE | 34 | 24 / 16 | kernel-open/nvidia-uvm/uvm_ioctl.h:509-515 |
| UVM_REGISTER_GPU_VASPACE | 25 | 32 / 28 | kernel-open/nvidia-uvm/uvm_ioctl.h:400-409 |
| UVM_PAGEABLE_MEM_ACCESS | 39 | 8 / 4 | kernel-open/nvidia-uvm/uvm_ioctl.h:556-562 |
uvm_ioctl.h:37-40 defines the Linux command encoding. uvm_types.h:69-71,84-94 defines flags
and mapping attributes. src/common/sdk/nvidia/inc/class/clc365.h:36-41,59-79 defines the access
counter type/address/aperture/address/tag/count/valid positions. Section 5 pins NVC369 fault fields.
All ABI sizes and offsets are measured only by host cc sizeof/offsetof in
tests/uvms_offsets.c; tests/uvms-abi.txt is its byte-exact fixture and the gate remeasures it.
No vendor implementation code is copied.
Host acceptance and chip runbook
Run taskset -c 10-14 nice -n 10 python3 -u tests/uvms_check.py --mutants.
The Python oracle uses declarative interval lists and dictionary PTE/residency state rather than
porting Omega's row shifts, page-table walk or binary search. It compares every output byte:
ranges, fault decisions, installed PTE records, complete command ring, fault ring, monotonic indices,
residency ledger, decoded access-counter fields and ioctl output. Fixed-seed 20261105 fuzz performs
10,000 range operations; focused traces cover wrap/overflow/invalid-head/dedup, queue reservation and
retry, permission changes, cancellation/fatal faults, thresholds and backing-capability refusals.
Separate capacity traces exercise the range and page-table limits. Each ioctl has a positive case
and bad-size negative; unknown-command and double-init are negative. Two compiling, terminating
behavior mutants per new unit must produce byte differences. A flipped-output control must be
rejected by the checker. The receipt is tests/uvms-host-receipt.txt.
Derived sizing constants are recorded with their calculator source:
WolframLanguageEvaluator `{1632,1640,2^30,2^31,2^32-1,2^20-1,FromDigits["30000001",16],
BitOr[1,BitShiftLeft[2,1]],6488}->{512,640,1073741824,2147483648,4294967295,1048575,
805306369,5,4096}`; and
{BitAnd[2^32-1,BitNot[2^12-1]],2^31+16*4096,2^64-3,2^16-1,64*8,128*3,16*6,256*36+48}
-> {4294963200,2147549184,18446744073709551613,65535,512,384,96,9264}.
The independent cc result, not the final arithmetic expression, is authoritative for ioctl sizes.
Chip runbook verdict: NOT_RUN. No window is authorized. Before a later run, the operator must authorize an exclusive window, a real kernel/instance install path, ownership of an isolated test VA space and a physical invalidate/replay adapter with completion and CPU/GPU coherence proof. The run would:
- Capture raw live NVC369 entries and GET/PUT/valid/overflow state without racing producer ownership. Compare every decoded field and consumed index against the same immutable bytes in this decoder.
- Induce a missing 4K mapping, install the expected same-PA PTE and issue the real invalidate. Compare pre-invalidate stale translation versus post-completion translation and read/write permissions. A deliberately omitted invalidate is a negative control, not a successful run.
- Compare actual replay/cancel outcomes with the model, including a read-duplicate to write upgrade, CPU/GPU visibility after coherence completion, and NVC365 threshold notifications. Verify backing contents/PA are unchanged by modeled migration.
- Retain raw packet bytes, old/new PTEs, invalidate/replay completion evidence and negative-control results. A submitted or ACKed model record alone cannot pass this tier.
There is intentionally no command that opens a device or takes the GPU lock in this runbook. Linux kernel replacement, interrupt handling, hardware queue/cache effects, process isolation and GB10 qualification remain external integration/authorization gates; host parity does not satisfy them.
7. Per-open CUSE endpoint (stacked on the UVM service)
uvm/endpoint.om is the Linux-process transport, not a kernel module. All production
transport and dispatch code is seeded Omega: no libfuse, C daemon, Python server,
or arbitrary ioctl/syscall shim is adopted. Linux CUSE remains an explicit host
dependency. tests/uvme_offsets.c and tests/uvme_kernel.c are verification oracles
and consumers only, never linked into the endpoint.
The stack is #10 (4917e4e2) → #12 (e7aa07f34f5156b0ae129378f4aa46df6be11375)
→ feat/uvm-endpoint. The service's frozen compiler and receipts remain unchanged.
The endpoint additionally requires the first-party eventfd host word from draft
omega-mv#1045, source 78122a72a7bb7129271088b30093e8b3b9b52f8d, compiler SHA256
734bf4f3f858d56288902700cf581cdbaa4a24d1b3254a2beea014aaccf0fa38.
Its only new effect is host eventfd creation; no vfioirq, VFIO registration,
MMIO, NVIDIA device, GPU lock or physical queue operation is called. The model
queue remains pinned to #11 as described in section 6.
Namespace and authority
Each independent OPEN forks a pristine worker. The parent never calls sidispatch
or siobject, so initialization, GPU/VA-space identities, range groups, ranges,
PTEs, residency and command/fault queues are private process state. There are at
most eight live opens. A monotonic, connection-local fh routes requests; released
handles are revoked before teardown and never reused. Unknown/stale handles
return -EBADF, worker failure returns -EIO and revokes only that worker.
The isolation unit is the open file description, not the header PID. Threads
can issue ioctls on the same fd; Linux may send RELEASE without caller credentials.
dup, fork inheritance or intentional fd transfer shares that namespace. A second
open, even with identical UUID, RM handle and VA, cannot access the first open's
state. The kernel owns the fh mapping; users cannot choose it through ioctl
payloads. A deliberately forged fake-kernel packet is not an authenticated client.
This follows the protocol review's decisive constraint: “use live fh as namespace
capability; do not treat header PID as process ownership.”
Before fork, Omega makes a private Unix stream pair using a random abstract
listener and verifies the accepted peer's kernel PID equals the creating process.
The listener is then closed. Children close the CUSE/fake-kernel channel and every
sibling endpoint. The private channel carries three LE u64 words `(cmd, size,
request-unique)followed by argument bytes; its response is(local-UV-status,
size, same-unique)` plus output bytes. Stream operations accumulate partial I/O,
use a bounded in-flight deadline, and never retry an uncertain dispatched request.
send supplies MSG_NOSIGNAL: a dead worker must not SIGPIPE-kill other clients.
Idle opens have no timeout. RELEASE closes the private channel, terminates and
reaps the exact worker; connection EOF does the same for all remaining workers.
A session is explicitly bounded to 999,999 CUSE records, then drains and exits.
There is no automatic reconnect, retry or state restoration.
--fake uses inherited SOCK_SEQPACKET fd 0/1 and explicitly installs a test
backing capability inside each child after fork. It is not a client import
command. --cuse opens only /dev/cuse and installs no backing capability.
Consequently production MAP_EXTERNAL_ALLOCATION must refuse until a trusted
per-client RM object resolver supplies ownership and bounds. Registering a UUID
or passing a numeric RM handle does not supply physical-memory authority.
Worker/process isolation here is not physical-memory or hardware teardown proof.
CUSE wire contract
The ABI is measured by host cc sizeof/offsetof, not inferred from struct packing:
linux/fuse.h:745-775 (open/release/flush), 879-898 (CUSE init), 914-975
(ioctl, iovecs, headers), from /usr/include/linux/fuse.h, SHA256
e51bdccbf4bc43b60353eb367a3aa4d25b31cafb23b06d3bd7ebb2e5bde8c75d.
The Linux v6.19 reference implementation's fs/fuse/cuse.c:cuse_send_init,
cuse_process_init_reply, cuse_open and cuse_file_ioctl were read to check the
negotiation. This is a reference pin, not a claim about the running kernel.
The endpoint negotiates major 7, minor 16–39, and CUSE_UNRESTRICTED_IOCTL, rejects
extensions/compat/32-bit/X32/unknown flags, and advertises only the isolated node
omega-uvm-test. A request must have an exact whole-record length and nonzero
unique. Each of the eight UVM commands uses the exact whitelist size in section 6,
never _IOC_SIZE. An initial IOCTL requests one input and one output iovec for
the kernel-owned user pointer. The retry reply sets FUSE_IOCTL_RETRY; the next
request retains only FUSE_IOCTL_UNRESTRICTED and may have a different unique.
Copied input/output sizes and the full frame length must exactly match the
whitelist. Null, wrapping and out-of-contract user pointer ranges refuse without
dereferencing them; actual access checking and copyin/copyout belong to Linux.
Abandoned copyin retries hold no global pending state. There is no rollback or
automatic replay after a possible copyout fault.
Semantic UVM refusal is returned in the argument's rmStatus with outer ioctl
result zero, preserving every output byte from sidispatch. Transport/protocol
errors use negative errno in the FUSE header. Kernel copy failures, caller memory
permissions, node ownership and real Linux ioctl dispatch are not established by
the fake-kernel gate.
Typed fault notification
uvm/notify.om defines nominal unirq, constructor unirqmk, unpost, unpump
and unclose. A worker owns one eventfd. unpost(cap) first admits uvpkt into
the existing bounded ring and only then publishes a wake; rejected full-ring
entries do not generate wakes. unpump drains the coalesced eight-byte count and
calls fbbatch, preserving its dedup/overflow/GET policy. Closed tokens refuse
and cannot be reopened as a new generation. Composition lifts the nominal type
declaration before the first function, as required by OM-2.
This is an explicitly MODEL fault-buffer wake binding. It does not attach a
VFIO IRQ, capture a live DMA buffer, execute an invalidate/replay command or prove
MMU completion. unpump may be called by a future owned snapshot producer; no
public ioctl can inject a fault or mint the nominal token. The service emits the
same #11 typed-model queue records; notification is never their completion ACK.
Host acceptance and remaining kernel hop
Run, without opening any device:
taskset -c 10-14 nice -n 10 python3 -u tests/uvme_check.py --mutants \
--emit-dir /tmp/omega-uvm-endpoint
The independent fake kernel exchanges whole CUSE packets with the real Omega ELF.
Two client processes concurrently open independent descriptions and issue all
eight commands. The interval/dictionary service oracle checks every ioctl output
byte. Tests use identical UUIDs/handles/VAs, peer-VA removal refusals, one client's
free while the other's mapping remains busy, independent group IDs, double init,
all bad sizes/flags/commands, stale handles, credential-free RELEASE, abandoned
copyin, worker death, fd inheritance, capacity, reaping and connection EOF.
The eventfd fixture exercises real host wake/coalescing, empty readiness, overflow,
dedup and closed-token refusal without VFIO. Compiling behavior mutants cover
each new Omega unit; an output-byte corruption uses the same live comparator.
The real ioctl consumer is compiled, not executed. Receipt:
tests/uvme-host-receipt.txt.
Observed host result: PASS, 192 fake-CUSE records and 53,919 reply bytes,
two concurrent actual client processes, typed eventfd through PTE plus model
invalidate/replay consumption, output-corruption control rejected, and all seven
new-unit mutants killed. The C kernel consumer built with warnings as errors;
its execution remains NOT_RUN. tests/uvme-regression-receipt.txt records the
unchanged service's 10,000-operation fixed-seed range fuzz and ten mutants,
the 503-line independent PTE walk and five original page-table/fault mutants;
all commands returned zero. These are host results only.
Real CUSE kernel hop: NOT_RUN. /dev/cuse is absent on this host; no node was
created and no module/permission was changed. After the operator explicitly
authorizes and prepares an isolated CUSE node, the runbook is:
- Run the host gate above, retaining its binaries. Inspect the pin and hashes.
- Under that separate authority, launch the retained
endpoint --cuseon the allowed CPU cores. It requests only/dev/omega-uvm-test, never the NVIDIA node. Confirm node identity and access rights before allowing test consumers. - Run retained
kernel-client /dev/omega-uvm-teston cores 10–14. It forks two actual ioctl callers, covers all eight transports, independent initialization and group IDs, unknown-command refusal and null-pointer EFAULT. MAP and FREE intentionally refuse in this tier because no trusted real backing was imported. - Compare the real replies with the fake-kernel byte oracle, exercise invalid nonnull user mappings/copyout failures, and capture kernel/daemon exit status, exact argument bytes and reaping. Stopping the explicitly owned daemon removes only this test node. Do not restart/replay uncertain requests.
Chip: NOT_RUN. The live NVC369 versus decoder and before/after TLB-effect comparisons in section 6 remain required. Physical IRQ snapshot ownership, trusted RM backing resolution, mapped page-table installation, real invalidate/ replay completion, CPU/GPU visibility and hardware-safe client teardown remain separate gates. This endpoint does not close the ROADMAP nvidia-uvm.ko replacement row or claim deployment.
Sizing record: WolframLanguageEvaluator `{40+32+9264,16+16+9264,16+72+StringLength["DEVNAME=omega-uvm-test"]+1,8*5,2^48, 2^32-22,2^32-9,2^32-5,2^32-38,2^32-71,1073741824+8*268435456}` → `{9336,9296,111,40,281474976710656,4294967274,4294967287,4294967291, 4294967258,4294967225,3221225472}`. Host-cc measurement remains authoritative for struct sizes and offsets.
The fake backing fixture starts above UVBASE rather than crossing the page-table
pool on the fourth open. It is installed after fork and is never a client-supplied
physical import. WolframLanguageEvaluator
{2^19+1,2^19+2,2^32+1000000*2^28+2^28<2^52,5.1*10^9>5000000000}
→ {524289,524290,True,True} verifies the host open flags, the bounded fixture's
PA ceiling and the idle test exceeding the in-flight deadline.
The worker-death negative control waits on that exact worker's pidfd before
sending another request. Its descriptors must already be closed, with SIGPIPE
default and unblocked in the endpoint. This follows the review finding that an
“immediate post-kill request” may write before the worker has exited. The
write-instead-of-send mutant must specifically terminate with SIGPIPE (rc=-13);
an unrelated setup failure is not accepted as this mutant's kill. The baseline
must survive and continue servicing the other open. The eventfd fixture also
asserts the mapped PTE and consumes invalidate then replay from the model queue;
this is still not physical completion.
8. RM escape endpoint and explicit HOST_MODEL serving (stacked on #14)
IMPLEMENTED / EXERCISED in the host model. QUALIFIED: NOT_RUN. MERGED: no. DEPLOYED: no.
The implementation is rm/ioctl.om, rm/handles.om, rm/memory.om,
rm/model.om, rm/uvmclient.om, rm/import.om, rm/dispatch.om and
rm/endpoint.om. No C, Python, vendor binary or foreign runtime is in the
endpoint execution path. Python and C below are independent test/fake-kernel
oracles, compiled or executed only inside a device-hiding bwrap.
Sources and ABI
The client source is CUDApp #293, origin/feat/c4-streams-submit
16f11c47fa9587349b607d5ed174113b6fc9b504: nvrm/nvrm.c and
native/nvrm/transport.om. The independent layout source is NVIDIA
open-gpu-kernel-modules 580.173.02 at
20e4e6e19cc26ba47b5cbe23130a396be100c427: nvos.h, nv-ioctl.h,
nv-ioctl-numbers.h, nv_escape.h, and
nv-unix-nvos-params-wrappers.h. tests/rme_offsets.c compiles those headers;
it measures sizeof, pointer/size/status offsets, escape numbers and NV statuses.
In particular, NVOS32 status is at 20, not 16; the cc oracle caught that
initial implementation error before the passing receipt.
| Escape | Number | Exact outer size | NV status offset |
|---|---|---|---|
| RM_ALLOC (NVOS21) | 43 | 32 | 28 |
| RM_CONTROL (NVOS54) | 42 | 32 | 28 |
| RM_FREE (NVOS00) | 41 | 16 | 12 |
| RM_MAP_MEMORY (NVOS33 with fd) | 78 | 56 | 40 |
| RM_UNMAP_MEMORY (NVOS34) | 79 | 32 | 24 |
| RM_MAP_MEMORY_DMA (NVOS46) | 87 | 64 | 56 |
| RM_UNMAP_MEMORY_DMA (NVOS47) | 88 | 48 | 40 |
| RM_VID_HEAP_CONTROL (NVOS32) | 74 | 184 | 20 |
| CARD_INFO (64 entries) | 200 | 4608 | errno refusal |
| REGISTER_FD | 201 | 4 | errno refusal |
| ALLOC_OS_EVENT / FREE_OS_EVENT | 206 / 207 | 16 | 12 |
| CHECK_VERSION_STR | 210 | 72 | errno refusal |
Both NVIDIA control/device files use the same _IOC(READ|WRITE,'F',nr,size)
encoding. This candidate exposes only the separate omega-rm-test CUSE test
node, not either NVIDIA device name. Any other type, direction, number, outer
size or oversized parameter payload returns -EINVAL. No xfer command
indirection is admitted. ALLOC/CONTROL accept at most 4096 pointed bytes, gathered
by a second FUSE_IOCTL_RETRY containing precisely the outer and pointed input/
output iovecs. Noncanonical/null required pointers return -EFAULT; the daemon
never dereferences a caller address. Zero-sized parameters require a null pointer.
Unexpected flags, inconsistent frame/input/output lengths and reused closed fh
tokens are refused before dispatch.
Namespace and model routing
Every independent OPEN gets a forked worker and fresh namespace. At most eight
descriptions are live. Each fh is an unpredictable, nonzero positive int token,
issued from random, checked against every token previously issued in the bounded
session (at most 1000), and never reused. REGISTER_FD consumes a valid live token,
not an arbitrary host integer fd. It imports only into an unused destination;
used/reserved destinations, self-import, forged and closed tokens refuse.
Imported descriptions share the source worker, namespace, allocator and mappings.
Closing one alias revokes only its token; the last alias closes/kills/reaps that
exact owned worker. Independent workers own stderr plus their private channel
only. EOF drains them. In-flight I/O has a deadline; idle workers do not expire.
The fake kernel translates process-local fds to endpoint-issued tokens exactly
where the kernel-facing import ABI expects one. This is not a production fd broker.
Each worker has a caller-owned 4096-word state array, no new globals. It consumes at most 64 object slots monotonically. Each record holds liveness, handle, client, parent and class; tombstones deliberately refuse numerical handle reuse until close, even after free. Root-client handles are generated by the server. Device objects require a root parent, subdevice/VAS/TSG require device, context-share/GPFIFO require TSG, and compute requires GPFIFO. Namespace lookup includes the client. Context-share VAS and GPFIFO context-share references also require the same owning device/TSG, respectively. Nonzero FIFO memory references are refused until real backing import exists. Free checks the exact direct parent and removes the full descendant closure; double free and stale use fail. Capacity counts consumed slots, not only live objects.
Supported model allocations include ROOT_CLIENT (65), DEVICE_0 (128),
SUBDEVICE_0 (8320), FERMI_VASPACE_A (37105), CHANNEL_GROUP_A (41068),
CONTEXT_SHARE_A (36967), BLACKWELL_CHANNEL_GPFIFO_A (51567),
BLACKWELL_COMPUTE_B (52928), MEMORY_SYSTEM (62), MEMORY_LOCAL_USER (64),
MEMORY_VIRTUAL (112), and USERMODE_A/B (50017/50785), at exact parameter sizes.
Supported model controls are GPFIFO_SCHEDULE (0xa06c0101, three bytes) and
GET_WORK_SUBMIT_TOKEN (0xc36f0108, four bytes), on their correct object classes.
The token is explicitly the model's channel-handle token, not a physical doorbell.
ALLOC/CONTROL use the chan/params.om parameter image (pabuf/palen);
ROOT_CLIENT and scheduling use its existing encoders. Other accepted records
are copied verbatim after exact-class-size checks, matching the existing GSP
RM payload contract. gsp/rpc.om builds the real framed RM_ALLOC (103),
RM_CONTROL (76), or RM_FREE (10) request into its explicitly linked **host-memory
peer**. No physical queue or boot state is imported. The model returns its own
policy result; publication is not a GSP reply or firmware completion.
Handle changes commit only after successful model routing. The separate
tests/rme_trace.om observes the exact root-client RPC payload and injects a
model allocation refusal to prove that no handle/slot is published on failure.
Local invalid-argument/stale-handle/wrong-parent/duplicate/capacity/unsupported categories map to vendor NV statuses 31/51/54/52/81/86, measured from headers. Malformed transports use negative errno; valid but unserved RM requests carry NV_ERR_NOT_SUPPORTED at their measured status offset.
Per-call serving and provenance
The executable requires --fake --host-model FIXTURE (or separately authorized
--cuse --host-model FIXTURE). Missing explicit mode, wrong fixture length,
missing HOST_MODEL provenance or an invalid/corrupt GSP frame refuses startup.
rm/host-model.fixture is synthetic, deterministically generated by the **test
oracle** tests/rms_fixture.py. It is not a hardware capture. Its PCI identity,
GPU ID 1, UUID HOST_MODEL_UUID1, SM version and class list are modeled inputs.
The returned driver identity is ogd HOST_MODEL/1, never the NVIDIA version.
Vendor routes below are from OGKM 580.173.02 at the source pin above. Local vendor
calls must not be assigned invented RPC IDs. Public GR_GET_INFO reads a static
cache: kernel_graphics.c:1227-1247 obtains
INTERNAL_STATIC_KGR_GET_INFO (0x20800a2a) through GSP_RM_CONTROL (76);
kernel_graphics.c:2782-2834 serves public indices from that cache.
ctrl2080internal.h:408-426 defines its 8-engine, 58-record response;
generated/g_rpc-structures.h:1506-1518 defines the 40-byte control envelope.
rpc.c:10870 is the vendor serializer. rmfxrpc publishes that actual RPC
through gsp/rpc.om, then validates the fixture's full queue reply: queue/RPC
sequence, signature, version, aligned checksum, RPC function/result, command and
body size. Only the decoded modeled SM record reaches the client.
| Call | Verdict | Derivation / limit |
|---|---|---|
| CARD_INFO | SERVED_HOST_MODEL | Fixture card; vendor kernel-open/nvidia/nv.c:2523 reads local inventory, no per-call RPC |
| ROOT GET_ID_INFO_V2 | SERVED_HOST_MODEL | Fixture; gpu_mgr/gpu_mgr.c:2527 local manager data, no RPC |
| DEVICE GET_CLASSLIST | SERVED_HOST_MODEL | Fixture count and third-iovec list; gpu/device_ctrl.c:56 local class table, no RPC |
| SUBDEVICE GR_GET_INFO | SERVED_HOST_MODEL | One SM_VERSION record, decoded from the modeled static GSP control response above; unsupported indices refuse |
| SUBDEVICE GET_GID_INFO | SERVED_HOST_MODEL | Fixture binary UUID; gpu/gpu.c:5036 uses cached UUID, no per-call RPC |
| MEMORY_SYSTEM / LOCAL_USER / USERMODE | SERVED_HOST_MODEL | Bounded first-fit 1024-page pool; owner and parent checks; USERMODE reserves 64 KiB, never a real doorbell |
| MEMORY_VIRTUAL | SERVED_HOST_MODEL | Logical mapping namespace only, no physical pages |
| CPU MAP / UNMAP | SERVED_HOST_MODEL | Memory bounds, page alignment, overlap checks, exact remove, live map-fd capability |
| DMA MAP / UNMAP | SERVED_HOST_MODEL | Same bounds plus owning virtual-memory object; no IOMMU or device effects |
| VID_HEAP_CONTROL | SERVED_HOST_MODEL | INFO only, shared 4 MiB modeled pool accounting; other functions refuse |
| REGISTER_FD | SERVED_HOST_MODEL | Endpoint-issued live token imports shared namespace; stale/forged/busy/self import refused |
| CHECK_VERSION_STR | SERVED_HOST_MODEL | Explicit ogd identity, no NVIDIA module compatibility claim |
| ALLOC_OS_EVENT / FREE_OS_EVENT | REFUSED | NV_ERR_NOT_SUPPORTED; no IRQ/event subscription |
| Client UVM init/register/range/map/free/unregister | SERVED_HOST_MODEL | Bounded per-namespace range adapter, fixture UUID, imported RM capability, matching modeled DMA map; MM_INITIALIZE refused as tolerated by the unmodified client |
| Physical backing, mmap through a real device, page pinning, doorbells, real CUSE/RM/GSP, VFIO and chip | NOT_RUN | No authorization, no device access; no hardware truth inferred |
rm/memory.om records size, contiguous page ownership and handle-plus-map
refcounts, with 64 bounded mapping records. Cascading free first removes maps
whose object/virtual namespace died, decrements refs, then releases every owned
page. Partial/duplicate unmap, out-of-bounds and overlapping maps refuse.
rm/uvmclient.om reuses uvm/range.om's half-open bounded interval convention;
it does not publish real UVM PTEs. The fake CUSE kernel uses anonymous CPU memory
for the unmodified client's CPU reads/writes; it is test transport, not a
first-party implementation of real RM backing.
Host acceptance and NOT_RUN runbook
Run the device-hiding command in README. tests/rme_check.py --mutants exercises
the cc layout oracle, dictionary/tree differential, deliberate red comparison,
randomized and capacity/stale/cascade cases, exact command/size/flag/address
refusals, isolated opens, closed fh tokens, descriptor inheritance, dead-worker
survival, model RPC publication and rollback. It compiles and runs
tests/rme_consumer.c, using vendor C structs and the CUDApp structural
root/device/subdevice/VAS/TSG/context/GPFIFO/compute/control/free ordering.
It uses no FIFO/notifier backing and performs no GPU launch. Ten compiling
behavior mutants cover stale handle, wrong parent, size off-by-one, cascade
skip, status mapping, cross-client lookup, unknown escape, double free,
oversized payload and control-object class. Shared params/RPC/channel host
gates remain separate, with their original compiler and reference pins.
tests/rms_check.py --mutants --client /tmp/ogd-cudapp-client adds the independent
page/mapping Python differential, an intentionally wrong expected result,
provenance/checksum/missing-mode controls, local/usermode CPU map/unmap and ten
compiling killed mutants: ownership, overlap, range limit, stale handle,
double free, cascading page reclamation, token forgery, cross-client lookup,
partial unmap and UVM collection. An RM backing or VAS free invalidates dependent
UVM ranges; the gate proves address reuse and rejects creation through a freed
VAS. Its C test kernel includes nvrm.c from a detached, unmodified
checkout at the CUDApp pin above, with the client's checked Omega policy enabled.
Only OS transport is interposed (CUDAPP_NVRM_TEST_TRANSPORT=1); the client runs
open, alloc, control, CPU/DMA/UVM map, byte roundtrip, free and close. No compute
submission or doorbell is exercised. The new receipt is tests/rms-host-receipt.txt;
the older rme-*-receipt.txt files remain immutable historical evidence.
Real CUSE kernel hop, live RM, VFIO and chip: NOT_RUN. No /dev/cuse,
/dev/nvidia* or /dev/vfio was opened and no node/module/service was changed.
Future operator procedure, requiring fresh explicit authority:
- Reproduce all boxed host gates on the exact candidate and retain source, compiler and binary hashes. Keep the live model, watchdog and GPU lock untouched.
- In an isolated authorized host environment, provision CUSE independently.
Review
--cusenode identity (omega-rm-testonly), CPU affinity and access permissions before registration. Never redirect existing NVIDIA device names. - Exercise actual kernel ioctl copyin/copyout, nested-pointer retry faults, independent/duplicated descriptors, release and exact-worker death using a dedicated authorized kernel consumer. The existing C consumer is explicitly a fake kernel and is not proof of that hop.
- Before any chip test, implement and review authenticated inventory/fd/backing import, GSP boot/readiness/correlated replies, UVM association and completion/ teardown ownership. Run the boxed gates and their red controls again.
- Only in a separately authorized exclusive GPU window, follow
window/README.mdfor the exact device and rollback plan, then collect the live RM traces, mapping visibility, channel scheduling, completion and teardown negative controls. Do not infer permission to stop a service or unbind a module from this document. Host success is not chip qualification or deployment.
Sizing record: WolframLanguageEvaluator
`{64*5,40+32+32+4096,16+16+32+4096,16+72+StringLength["DEVNAME=omega-rm-test"]+1,
BitOr[BitShiftLeft[3,30],BitShiftLeft[4608,16],BitShiftLeft[70,8],200],2^32-95}`
→ {320,4200,4160,110,3523233480,4294967201}. Vendor cc measurements, not
these transport calculations, determine the ABI layouts.