interplane.Get Omega
Read in your language

omega-gpu-driver

aien-dev/omega-gpu-driver

Brought by drakestapleton

branch main Branches Tags History

omega-gpu-driver / tests / ogd-host-receipt.txt

211 lines · 14108 bytes Raw Blame History
1omega-gpu-driver typed IRQ provider / composed model receipt
2Recorded 2026-11-06 UTC; original assignment dated 2026-11-05.
3Status: IMPLEMENTED and HOST_EXERCISED. Hardware QUALIFIED/MERGED/DEPLOYED: NOT_RUN.
4No /dev/nvidia* access, PCI binding, module change, reset or live service action.
5This receipt does not alter tests/irq-host-receipt.txt or transport-host-receipt.txt.
6
7Source stack
8 main baseline 56e7bc2b5981957fc4b9207bb854a20f6d257ece
9 foundation PR https://github.com/aien-dev/omega-gpu-driver/pull/9
10 foundation head 7479498051bbaed9686b73d8c3a35ec33d9cc00c
11 implementation branch feat/model-ogd-provider, stacked on that head
12Historical gates/W0 compiler (UNCHANGED):
13 omega-mv 397e67040fb74853c6814097fe02ae4e1ebd6f66
14 omc bcfa582892afca8f65e551fe56867d918d86e84540c7381be8fa9ef18d0cf0f6
15Provider/new model compiler (tools/irq-omc.pin):
16 omega-mv 78122a72a7bb7129271088b30093e8b3b9b52f8d
17 omc 734bf4f3f858d56288902700cf581cdbaa4a24d1b3254a2beea014aaccf0fa38
18 pending https://github.com/aien-dev/omega-mv/pull/1045
19 trust/guide dependency https://github.com/aien-dev/omega-harness/issues/184
20No combined compiler, pin replacement or assumption of merged trust changes.
21Oracle aienux a108b1144a064aa7b824374a622d627c6ba91fd1 (verification only).
22NVIDIA headers 580.173.02 / 20e4e6e19cc26ba47b5cbe23130a396be100c427 (verification only).
23Firmware input /lib/firmware/nvidia/580.173.02/gsp_ga10x.bin remains unmodified.
24QEMU-user 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18); NOT QEMU-system device evidence.
25
26Positive commands observed
27 env AIEN_IRQ_OMC=<lanes/omega-mv-vfioirq/seed/out/omc> \
28 taskset -c 10-14 nice -n 10 sh tools/getirqomc.sh
29 rc=0; matching prebuilt acquired as build/irq-omc.
30 taskset -c 10-14 nice -n 10 sh tools/buildogd.sh
31 rc=0; final line: build/ogd
32 taskset -c 10-14 nice -n 10 build/ogd model
33 rc=0; final line:
34 ogd MODEL PASS: sequencer, INIT_DONE, lockdown; revoke/synchronize/model-device-stop; published DMA retained
35 taskset -c 10-14 nice -n 10 sh tests/irqqueue_host.sh
36 rc=0; 15 exact independent wire/frame boundary cases, 10 compiling terminating mutants.
37 final: irqqueue_host: PASS 10 compiling terminating behavior mutants; physical transport/firmware/GB10 NOT_RUN
38 The following focused commands ran serially in one successful && chain (rc=0):
39 taskset -c 10-14 nice -n 10 sh tests/irqcmd_host.sh
40 taskset -c 10-14 nice -n 10 sh tests/ogd_host.sh
41 taskset -c 10-14 nice -n 10 sh tests/irqlease_host.sh
42 taskset -c 10-14 nice -n 10 sh tests/irqvfio_host.sh
43 taskset -c 10-14 nice -n 10 sh tests/transport_host.sh
44 Exact observed final lines:
45 irqcmd_host: PASS 5 compiling terminating behavior mutants; physical MMU/TLB completion NOT_RUN
46 ogd_host: PASS 6 compiling terminating composed behavior mutants; physical VFIO/GSP/GB10 NOT_RUN
47 irqlease_host: PASS 12 compiling terminating behavior mutants; physical IRQ/QEMU/GB10 NOT_RUN
48 irqvfio_host: PASS 10 compiling terminating behavior mutants; physical VFIO/GSP/GB10 NOT_RUN
49 transport_host: PASS 10 behavior mutants; hardware/kernel execution NOT_RUN
50 Positive counts preceding those lines: command queue12 cases; lease117 cases
51 (21 named); VFIO fixture21 cases. Composed native AND QEMU-user paths passed
52 exact 16-word observations, mode listing and seven explicit physical refusals each.
53 transport_host retained its original compiler pin and existing17 composed cases.
54
55Independent expected composed record (u64 LE; signed statuses biased by128):
56 [131,3,1,1,3,2,1,5,128,128,112,2,128,128,4,114]
57 service count3; IRQ lockdown3; queue lockdown1; sticky MMIO denial1;
58 three captured frames; two successfully handled/published consumers;
59 one sequencer delay5; revoke/sync success; premature idle -16;
60 exactly two host MMIO effects before lockdown; modeled device idle then close;
61 published DMA remains MMWQUAR4; late MMIO -14.
62
63Controls and what they establish
64 Ordered capture: immutable peer prefix, semantic handling before publication,
65 no repeated capture/ACK, no postpublication rollback, stale token/generation,
66 malformed checksum/length/lockdown and producer bounds fail closed.
67 Lease: admission revoked before backend effects; exact handler/wait retirement,
68 cancellation ACK versus completion, snapshots block synchronize; only exact
69 backend epoch/backing device-stop attestation allows close. Queued modeled
70 work progresses independently of IRQ disable. Lockdown denies old owners too.
71 Physical UAPI fixture: ptrace only our own memfd-owning child. Kernel ioctl
72 must actually return ENOTTY. Independent oracle validates exact packed
73 GET_REGION_INFO/GET_IRQ_INFO/SET_IRQS bytes, effect ordering and ownership,
74 then substitutes modeled responses. Kernel eventfd/read/write/wait/mmap remain
75 real. Count1..64, last-vector overflow, flags/index/argsz, bind/mask/unmask,
76 rollback, disable/cancel and ambiguous-close negatives are covered. No VFIO
77 device, real interrupt delivery, firmware or DMA engine is exercised.
78 Physical device stop intentionally returns -95; lease quarantines and retains.
79 Model command consumer: immutable five-word capture; exact-sequence once-only
80 ACK, full/wrap, stale/duplicate/nonmodel, live-storage corruption and revoke
81 retaining unconsumed records. This is NOT MMU/TLB completion.
82 Composed mutants are normal compiling/running programs, not compile/trap
83 failures: leaked snapshot, missing clear effect, MMIO after lockdown,
84 sequencer-as-lockdown, premature idle and post-lock handler admission.
85
86Development failures (not passes)
87 Initial build/ogd model returned1 without output: mapped boot emission was
88 attempted before a staged arena. Fixed by production arboot/arstage with
89 explicit synthetic model segments, not test helpers or a physical fallback.
90 Composed OM2 exposed old chan/gmmu.om local name big as reserved syntax:
91 renamed local/parameter to large, no API or algorithm change; UvmOmega agreed.
92 irqcmd first compile failed error16 (reserved field parameter), corrected word.
93 Initial live-alias test mutant failed compilation error12 (register pressure):
94 corrected to a compiling equivalent using a local offset; then detected by data.
95 No failed/invalid mutation is counted in the PASS totals above.
96
97Modeled boundary and remaining gates
98 All driver runtime/algorithm code is .om. Python ptrace/state-machine and
99 shell orchestration are verification-only, not production replacements.
100 Nominal abstract owners are serialized trusted-code capabilities, not linear
101 types, a sandbox, thread safety, crash containment or kernel ABI.
102 No physical GSP boot, device-stop authority, coherent DMA ownership/cache
103 maintenance, engine-specific core effects, WFI/membar completion, actual
104 BOOT_42 identity or nvrm client migration is established. UVM implementation
105 and service belong to UvmOmega/UvmService. NVIDIA signed firmware remains
106 an explicit outside dependency; CUDApp ROADMAP section1 BUILDING unchanged.
107
108Hardware runbook: NOT_RUN, no executable chip IRQ command exists in this candidate
109 build/ogd modes must contain only model/model-trace; default and physical
110 ident/boot/hello/exec refuse95. Never use model PASS as hardware permission.
111 First implement/qualify physical device-stop/coherency/firmware/engine effects
112 and freeze the full candidate, both compiler hashes and firmware input hashes.
113 Obtain Drake's fresh exclusive authorization covering exact device, service
114 stop/restore, VFIO binding, firmware execution, FLR/SBR and reboot. Historical
115 W0 approval is not this authorization; current GB20B W0 frozen-tree request
116 also excludes any build/ogd and is separate from this model-only candidate.
117 Only then follow window/README.md. Future authorized D2 entry command:
118 sh window/d2-pre.sh --go D2
119 DO NOT RUN it for this candidate. W4/W5 remain NOT_RUN (no physical modes).
120 Future physical IRQ receipt must include routed/raw sources, ACK-before-drain,
121 concurrent edge preservation, bounded overflow quarantine, no post-lock MMIO,
122 stale owners, revoke/sync/cancel/device-stop and retained uncertain DMA; restore
123 through existing W7/R. Qualification requires a dated chip receipt.
124
125Wolfram arithmetic/units evidence
126 {2^6,2^4,BitOr[2^6,2^4]} -> {64,16,80}
127 {5*8,FromDigits["101c",16],20+4*64,BitOr[4,32],BitOr[1,32],BitOr[1,8],BitOr[1,16],2*262144,8*40}
128 -> {40,4124,276,36,33,9,17,524288,320}
129 4096-4 ->4092 bytes (last aligned32-bit access offset)
130 {128-125,128-16,128+64}->{3,112,192} (test status wire bias)
131 UnitConvert[Quantity[1,"Seconds"],"Nanoseconds"] ->Quantity[1000000000,"Nanoseconds"]
132 {8*8,8*8+40}->{64,104} bytes (command trace status/capture record)
133
134Review and guide tracking
135 Stacked draft https://github.com/aien-dev/omega-gpu-driver/pull/11
136 Implementation head b06b3f9a3dd1e74a3099350760cb3d26a3f33577
137 gh pr view11 observed isDraft=true, base=feat/model-channel-interrupts,
138 statusCheckRollup=[]: no CI execution result is claimed for this draft.
139 Matching driver guide update outside this lane's repository authority:
140 https://github.com/aien-dev/omega-harness/issues/186
141 Compiler word/trust guide remains separately tracked by issue184.
142
143Artifact identities (sha256sum, exercised sources / build)
144c66f524fe196e4dc7deab0837bcb16bf4faa5cbe98f0f182e5bb5f14122ab5b3 build/ogd
145fe0dc809161504cc7506b69acd3cdbde6a4ae89c24de1be9986523e5b6eede14 build/ogd.om
146a4c6f8fb436ab343cb59804309e7bc061ad2194d8c1465438d8ec8d886ba0e38 gsp/irqtypes.om
147bd9645a796e1dde68a758bbea3d48af289dfca81ec76601fa499527c1382c172 gsp/irqprovider.om
14847305680d07a7be69c941475cceb3c87b0c1b58a5a85dbbc13a0062a8ce5687a gsp/irqlease.om
1498cdb5b5c4de32d6533bafabaf7093e89fb71199076f3c6d065d569b11e47f1a9 gsp/irqvfio.om
15006ebb665504f89146ac6fbe2aae1c8a2a476c09476e1b628a932e6c0b723e39c gsp/irqqueue.om
1518b1f1e3f6a30143f423ca16ba7f53109b410846aa5fd132c51f47d80d44027b0 gsp/irqcmd.om
15266de517324eaba837339f2e8a16b2d8028c8ec8a3f296ea71901c6235def6379 gsp/irqctl.om
153b888dca72a93b119e8b841b3c335dfb7eab6a39aac757548ffd5cdb24fe4a060 gsp/ogdvars.om
154bb40b0a0c5ac77b3289c10d2dc145dd4f414721f21e162a2abca304cded524cc gsp/ogdmodel.om
1556c1f5ddd67da93796fd5565b81cddde5ecfdad88b2dac102da702a3143614ac0 ogd.om
156d083eeb54068b138cede6b3f158008ad2953fb5ac6b6daebe03a6df7f97f0cab tools/ogd.units
157813823b1225bb633b4357c2b765adf4621c5c76e5d7a35a191943000becdbeee gsp/transport.om
1586aec0e763168c33489a1c38802969a614aff4cf4f00b2e10a42f55820e9e747a chan/gmmu.om
159
160Full-suite orchestration and updated safety rule
161 Initial exact command (before Main's namespace rule):
162 env AIENUX=~/work/cudastack/lanes/DriverOmega/build/aienux-ref \
163 OGKM=~/workspace/_ext/open-gpu-kernel-modules-580.173.02 \
164 FW=/lib/firmware/nvidia/580.173.02/gsp_ga10x.bin AIEN_TEST_CPUS=10-14 \
165 taskset -c 10-14 nice -n 10 sh tests/run.sh
166 INCONCLUSIVE: orchestrator deadline3600s, no normal exit/final PASS line.
167 It recorded15 gates rc0, through mutants-arena.sh; interrupted gate was not
168 marked PASS. A remaining-gate continuation was then started without a deadline.
169 Main subsequently required every new test/mutant/sim command to use a
170 device-free bwrap namespace. I cancelled that owned unboxed continuation
171 (bg_737) rather than launching additional unboxed gates. No source pin,
172 test assertion, hardware guard or status was weakened.
173 Prior logs preserved in build/host-tests-before-device-namespace.tar.
174 This history is not counted as a completed single full-suite PASS.
175
176 Fresh complete acceptance command under Main's required namespace:
177 env AIENUX=~/work/cudastack/lanes/DriverOmega/build/aienux-ref \
178 OGKM=~/workspace/_ext/open-gpu-kernel-modules-580.173.02 \
179 FW=/lib/firmware/nvidia/580.173.02/gsp_ga10x.bin AIEN_TEST_CPUS=10-14 \
180 bwrap --dev-bind / / --dev /dev --proc /proc -- \
181 taskset -c 10-14 nice -n 10 sh tests/run.sh
182 bubblewrap0.9.0. No external job deadline; per-gate timeouts remain unchanged.
183 ~ denotes /home/drakestapleton in this public command transcription; actual
184 shell invocations passed expanded absolute paths. Actual job bg_816.
185 The namespace provides minimal /dev with no NVIDIA, VFIO or CUSE devices.
186 Readonly source/firmware oracles remain normal files, never device access.
187 PASS: bg_816 completed rc0, measured tool wall time2519.68seconds.
188 Final line: OMEGA GPU DRIVER HOST TESTS PASS (35 gates)
189 build/host-tests/status.tsv contains all35 registered gates, each rc0.
190 The fresh boxed invocation completed every gate, not an aggregate continuation.
191
192Boxed milestone outputs (all included in that full invocation, rc0):
193 irqqueue_host: PASS 15 independent mapped wire/semantic/order cases
194 irqqueue_host: PASS 10 compiling terminating behavior mutants; physical transport/firmware/GB10 NOT_RUN
195 irqlease_host: PASS 117 independent state-machine cases; 21 named boundaries
196 irqlease_host: PASS 12 compiling terminating behavior mutants; physical IRQ/QEMU/GB10 NOT_RUN
197 irqvfio_host: PASS 21 independently checked UAPI/memfd/eventfd ownership cases
198 irqvfio_host: PASS 10 compiling terminating behavior mutants; physical VFIO/GSP/GB10 NOT_RUN
199 irqcmd_host: PASS 12 independent five-word queue/ownership cases
200 irqcmd_host: PASS 5 compiling terminating behavior mutants; physical MMU/TLB completion NOT_RUN
201 ogd_host: PASS native composed sequencer/INIT_DONE/lockdown, ordered consumer, revoke/sync/device-stop; 7 physical-mode refusals
202 ogd_host: PASS QEMU-user composed model and physical-mode refusals; NOT a system/device/chip qualification
203 ogd_host: PASS 6 compiling terminating composed behavior mutants; physical VFIO/GSP/GB10 NOT_RUN
204 mutants-window: 20/20 killed
205 window_sim: PASS (170 checks, 21 scenarios)
206 All per-gate outputs remain under build/host-tests/<gate>.sh.log.
207
208Verdicts: host reference PASS; sim/model PASS; compiling/terminating mutants PASS;
209 full tests/run.sh PASS; QEMU-user model PASS. Physical VFIO/GSP IRQ, full-system
210 QEMU device qualification and GB10 chip: NOT_RUN. MERGED/DEPLOYED: NOT_RUN.
211 No GPU/device/service/binding/reboot action was taken.