interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / gpu / nvidia / driver / coverage.tsv

171 lines · 14313 bytes Raw Blame History
1# Every C function of CUDApp nvrm/ and m16/ at 84b524cadaaa8bc9b556adfaea9d6dd2e0d67a66 and where its logic lives.
2# WHERE: an Omega unit path in this tree, device shell (ioctl, mmap, clock, barrier, byte copy),
3# test program, or still C: decision logic, not yet ported.
4# Generated; do not edit. Counts: cut -f4 coverage.tsv | grep -v "^#" | sort | uniq -c
5FILE NAME LINE WHERE NOTE
6nvrm/lifecycle_gates.c gate_result 37 test program
7nvrm/lifecycle_gates.c now_ms 43 test program
8nvrm/lifecycle_gates.c gate_free_churn 57 test program
9nvrm/lifecycle_gates.c gate_free_unmaps 105 test program
10nvrm/lifecycle_gates.c gate_idempotent_and_stale 138 test program
11nvrm/lifecycle_gates.c gate_alloc_after_free_reuses_va 172 test program
12nvrm/lifecycle_gates.c gate_injected_free_failure 196 test program
13nvrm/lifecycle_gates.c gate_corrupt_table_refusal 219 test program
14nvrm/lifecycle_gates.c gate_allocation_overflow 235 test program
15nvrm/lifecycle_gates.c gate_wait_ge_serial 251 test program
16nvrm/lifecycle_gates.c gate_gpu_submit_after_churn 283 test program
17nvrm/lifecycle_gates.c gate_channel_no_memory_retried 330 test program
18nvrm/lifecycle_gates.c gate_channel_no_memory_bounded 347 test program
19nvrm/lifecycle_gates.c gate_extra_channel_contexts 370 test program
20nvrm/lifecycle_gates.c main 397 test program
21nvrm/live_marker_test.c map_page 15 test program
22nvrm/live_marker_test.c main 28 test program
23nvrm/macro_boundary_test.c main 11 test program
24nvrm/native_test.c signed_result 7 test program
25nvrm/native_test.c main 8 test program
26nvrm/nvrm.c rm_wire 65 gpu/nvidia/native/nvrm/wire_pack.om the request bytes come from the Omega unit; the C copies them
27nvrm/nvrm.c uvm_wire 78 gpu/nvidia/native/nvrm/uvm_wire.om with uvm_map_wire.om for the map request
28nvrm/nvrm.c select_classes 157 gpu/nvidia/driver/card.om drv_marshal (gated), drv_select
29nvrm/nvrm.c omega_gpu_live_marker 186 device shell hands out the context.om mapping token
30nvrm/nvrm.c fail 202 device shell formats and stores the message text; the gate compares message codes
31nvrm/nvrm.c meminfo_kb 215 gpu/nvidia/driver/diag.om gated
32nvrm/nvrm.c fail_alloc_context 239 gpu/nvidia/driver/diag.om gated
33nvrm/nvrm.c buddy_free_blocks_ge 249 gpu/nvidia/driver/diag.om gated
34nvrm/nvrm.c fail_channel_no_memory 283 gpu/nvidia/driver/diag.om gated
35nvrm/nvrm.c nv_ioctl 294 device shell ioctl
36nvrm/nvrm.c rm_alloc 300 device shell ioctl around wire.om bytes
37nvrm/nvrm.c rm_free 338 device shell ioctl around wire.om bytes
38nvrm/nvrm.c uvm_free_checked 362 device shell injected-failure flag and the UVM_FREE ioctl
39nvrm/nvrm.c dma_unmap_checked 378 device shell ioctl around wire.om bytes
40nvrm/nvrm.c rm_control 398 device shell ioctl around wire.om bytes
41nvrm/nvrm.c uvm 417 device shell ioctl around uvm_wire.om bytes
42nvrm/nvrm.c open_dev_fd 435 device shell open and the fd registration ioctl
43nvrm/nvrm.c map_to_cpu 452 device shell mmap
44nvrm/nvrm.c acquire_va_slot 484 gpu/nvidia/native/nvrm/alloc_scalar.om slot successor; the atomic stays in the shell
45nvrm/nvrm.c recycle_va_slot 516 gpu/nvidia/native/nvrm/alloc.om the atomic stays in the shell
46nvrm/nvrm.c va_slot_cover 535 gpu/nvidia/native/nvrm/policy.om vcover; the compare-exchange stays in the shell
47nvrm/nvrm.c card_index 550 gpu/nvidia/driver/card.om drv_card (gated)
48nvrm/nvrm.c nvrm_open 567 gpu/nvidia/driver/client.om cn_open, cn_open_card, cn_open_vas (seq gated); the commands are dx_ effects (DEVICE.md)
49nvrm/nvrm.c va_release 756 gpu/nvidia/native/nvrm/alloc.om C reference branch of the decision alloc.om makes
50nvrm/nvrm.c va_take 796 gpu/nvidia/native/nvrm/alloc.om C reference branch of the decision alloc.om makes
51nvrm/nvrm.c va_release 851 gpu/nvidia/native/nvrm/alloc.om shell around the Omega unit
52nvrm/nvrm.c va_take 864 gpu/nvidia/native/nvrm/alloc.om shell around the Omega unit
53nvrm/nvrm.c uvm_map 875 device shell ioctls around wire.om and uvm_map_wire.om bytes
54nvrm/nvrm.c quarantine_allocation 929 gpu/nvidia/driver/client.om cn_quar (seq gated)
55nvrm/nvrm.c nvrm_alloc 942 gpu/nvidia/driver/nvrm.om entry point; its checks are alloc_with_cacheability's
56nvrm/nvrm.c nvrm_alloc_gpu_uncached 950 gpu/nvidia/driver/nvrm.om entry point; its checks are alloc_with_cacheability's
57nvrm/nvrm.c nvrm_alloc_vram 954 gpu/nvidia/driver/nvrm.om drv_vramok (gated)
58nvrm/nvrm.c nvrm_vram_info 960 gpu/nvidia/driver/nvrm.om drv_vinfo (gated); heap request bytes heap_wire.om; the ioctl is the shell
59nvrm/nvrm.c alloc_with_cacheability 996 gpu/nvidia/driver/client.om cn_alloc (seq gated, with FIX-1); size, table and VA checks are nvrm.om drv_asize and drv_livefull
60nvrm/nvrm.c copy_live 1087 gpu/nvidia/driver/nvrm.om drv_span, drv_lrow, drv_copy (gated)
61nvrm/nvrm.c nvrm_copy_to 1097 gpu/nvidia/driver/nvrm.om drv_copy (gated); the byte copy is the shell
62nvrm/nvrm.c nvrm_copy_from 1106 gpu/nvidia/driver/nvrm.om drv_copy (gated); the byte copy is the shell
63nvrm/nvrm.c nvrm_free 1118 gpu/nvidia/driver/client.om cn_free, cn_find (seq gated)
64nvrm/nvrm.c chan_extra 1191 gpu/nvidia/driver/client.om cn_chx (seq gated)
65nvrm/nvrm.c chan_extra_destroy 1261 gpu/nvidia/driver/client.om cn_chxd (seq gated)
66nvrm/nvrm.c channel_retry_decision 1298 gpu/nvidia/native/nvrm/policy.om retry
67nvrm/nvrm.c nvrm_channel 1303 gpu/nvidia/driver/client.om cn_channel 0 (seq gated through m16_native_create_channel)
68nvrm/nvrm.c nvrm_channel_n 1305 gpu/nvidia/driver/client.om cn_channel (seq gated); admission and retry are policy.om
69nvrm/nvrm.c nvrm_channel_destroy 1421 gpu/nvidia/driver/client.om cn_chdestroy (seq gated)
70nvrm/nvrm.c nvrm_gp_entry 1471 gpu/nvidia/native/nvrm/policy.om gpentry
71nvrm/nvrm.c nvrm_userd_gpput 1475 device shell address of GPPut in the mapping
72nvrm/nvrm.c validate_ampere_push 1481 gpu/nvidia/native/nvrm/alloc_push.om with the amp_runtime policy
73nvrm/nvrm.c nvrm_publish 1516 gpu/nvidia/native/nvrm/context.om GP entry publish through the context
74nvrm/nvrm.c nvrm_doorbell 1536 gpu/nvidia/native/nvrm/context.om doorbell through the context
75nvrm/nvrm.c nvrm_enqueue 1549 gpu/nvidia/driver/client.om cn_enqueue (seq gated); span and full checks are policy.om
76nvrm/nvrm.c nvrm_retire 1564 gpu/nvidia/driver/card.om drv_retire (gated)
77nvrm/nvrm.c nvrm_ring 1568 gpu/nvidia/driver/client.om cn_ring (seq gated); the doorbell write is a dx_ effect
78nvrm/nvrm.c nvrm_submit 1572 gpu/nvidia/driver/client.om cn_nsubmit (seq gated)
79nvrm/nvrm.c nvrm_chan_submit 1579 gpu/nvidia/driver/client.om cn_submit (seq gated); span and full checks are policy.om
80nvrm/nvrm.c nvrm_chan_retire 1597 gpu/nvidia/driver/nvrm.om drv_chan with card.om drv_retire (gated)
81nvrm/nvrm.c nvrm_chan_put 1603 gpu/nvidia/driver/nvrm.om drv_chan (gated)
82nvrm/nvrm.c nvrm_close 1609 gpu/nvidia/driver/client.om cn_close, cn_fdclose (seq gated)
83nvrm/policy_test.c eq 11 test program
84nvrm/policy_test.c eq4 18 test program
85nvrm/policy_test.c main 28 test program
86nvrm/submission_visibility_gates.c run_sequence 22 test program
87nvrm/submission_visibility_gates.c main 83 test program
88nvrm/submit_test.c map_fifo 15 test program
89nvrm/submit_test.c fresh 25 test program
90nvrm/submit_test.c main 31 test program
91nvrm/uvm_wire_test.c check 10 test program
92nvrm/uvm_wire_test.c main 18 test program
93nvrm/wire_test.c check 12 test program
94nvrm/wire_test.c main 38 test program
95nvrm/cpu_barrier.h nvrm_cpu_barrier 18 device shell barrier and relax instructions
96nvrm/cpu_barrier.h nvrm_cpu_relax 31 device shell barrier and relax instructions
97nvrm/native_client.h nvrm_native_ok 12 device shell status and result of a context call
98nvrm/native_client.h nvrm_mapping_context 17 gpu/nvidia/native/nvrm/context.om context creation
99nvrm/native_client.h nvrm_live_token 27 gpu/nvidia/native/nvrm/context.om mapping lookup
100nvrm/native_client.h nvrm_file_open 44 device shell open, close, ioctl and mmap
101nvrm/native_client.h nvrm_file_close 53 device shell open, close, ioctl and mmap
102nvrm/native_client.h nvrm_rm_ioctl 62 device shell open, close, ioctl and mmap
103nvrm/native_client.h nvrm_uvm_ioctl 78 device shell open, close, ioctl and mmap
104nvrm/native_client.h nvrm_cpu_reserve 102 device shell open, close, ioctl and mmap
105nvrm/native_client.h nvrm_cpu_map 118 device shell open, close, ioctl and mmap
106nvrm/native_client.h nvrm_cpu_drop 160 device shell open, close, ioctl and mmap
107nvrm/native_client.h nvrm_mapping_transfer 187 gpu/nvidia/native/nvrm/context.om mapping ownership
108nvrm/native_client.h nvrm_mapping_finish 198 gpu/nvidia/native/nvrm/context.om mapping teardown
109nvrm/native_ioctl_fixture.h fixture_sigsys 18 test program
110nvrm/native_ioctl_fixture.h fixture_prepare 44 test program
111nvrm/native_ioctl_fixture.h fixture_child 59 test program
112nvrm/native_ioctl_fixture.h fixture_run 108 test program
113nvrm/native_ioctl_fixture.h fixture_cleanup_sigsys 124 test program
114nvrm/native_ioctl_fixture.h fixture_cleanup_child 144 test program
115nvrm/native_ioctl_fixture.h fixture_cleanup_run 176 test program
116nvrm/nvrm.h nvrm_mthd 197 gpu/nvidia/native/nvrm/alloc_scalar.om method encoding (mode 1)
117nvrm/nvrm_policy.h nvrm_om_call 37 device shell calls the Omega policy unit
118nvrm/nvrm_policy.h nvrm_c_nrstat 45 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
119nvrm/nvrm_policy.h nvrm_c_hnext 51 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
120nvrm/nvrm_policy.h nvrm_c_vunits 58 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
121nvrm/nvrm_policy.h nvrm_c_vcover 65 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
122nvrm/nvrm_policy.h nvrm_c_palign 78 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
123nvrm/nvrm_policy.h nvrm_c_pspan 86 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
124nvrm/nvrm_policy.h nvrm_c_pfull 96 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
125nvrm/nvrm_policy.h nvrm_c_chadm 103 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
126nvrm/nvrm_policy.h nvrm_c_retry 111 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
127nvrm/nvrm_policy.h nvrm_c_mthd 118 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
128nvrm/nvrm_policy.h nvrm_c_gpentry 124 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
129nvrm/nvrm_policy.h nvrm_om_nrstat 130 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
130nvrm/nvrm_policy.h nvrm_om_hnext 136 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
131nvrm/nvrm_policy.h nvrm_om_vunits 142 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
132nvrm/nvrm_policy.h nvrm_om_vcover 148 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
133nvrm/nvrm_policy.h nvrm_om_palign 154 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
134nvrm/nvrm_policy.h nvrm_om_pspan 160 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
135nvrm/nvrm_policy.h nvrm_om_pfull 166 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
136nvrm/nvrm_policy.h nvrm_om_chadm 172 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
137nvrm/nvrm_policy.h nvrm_om_retry 179 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
138nvrm/nvrm_policy.h nvrm_om_mthd 185 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
139nvrm/nvrm_policy.h nvrm_om_gpentry 191 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions
140nvrm/nvrm_struct.h ns_pack 11 gpu/nvidia/native/nvrm/struct.om struct packing
141nvrm/nvrm_struct.h ns_get 17 gpu/nvidia/native/nvrm/struct.om struct packing
142m16/m16_concurrent.c fence 66 test program
143m16/m16_concurrent.c build_release_flushed 73 test program
144m16/m16_concurrent.c print_report 82 test program
145m16/m16_concurrent.c print_simple 95 test program
146m16/m16_concurrent.c wait_marker 101 test program
147m16/m16_concurrent.c main 127 test program
148m16/m16_gpu_wait.c real_now_ns 12 device shell clock
149m16/m16_gpu_wait.c real_barrier 19 device shell barrier
150m16/m16_gpu_wait.c real_relax 36 device shell relax
151m16/m16_gpu_wait.c m16_gpu_wait_result_name 45 gpu/nvidia/driver/m16.om gated
152m16/m16_gpu_wait.c m16_gpu_wait_kind_name 56 gpu/nvidia/driver/m16.om gated
153m16/m16_gpu_wait.c wait_om 63 gpu/nvidia/om/engine/eng.om the wait machine
154m16/m16_gpu_wait.c wait_core 197 gpu/nvidia/om/engine/eng.om C branch of the eng.om wait machine; this gate does not check it
155m16/m16_gpu_wait.c m16_gpu_wait_fixed 285 gpu/nvidia/om/engine/eng.om entry point of the wait machine
156m16/m16_gpu_wait.c m16_gpu_wait_sequence 290 gpu/nvidia/om/engine/eng.om entry point of the wait machine
157m16/m16_gpu_wait.c m16_gpu_wait_failure_class 295 gpu/nvidia/om/engine/eng.om fcls (gated against the C branch)
158m16/m16_native.c m16_native_open 21 gpu/nvidia/driver/client.om cn_m16open (seq gated)
159m16/m16_native.c m16_native_alloc_memory 29 gpu/nvidia/driver/m16.om drv_slot (gated)
160m16/m16_native.c m16_native_free_memory 42 gpu/nvidia/driver/client.om cn_m16free (seq gated)
161m16/m16_native.c m16_native_create_channel 51 gpu/nvidia/driver/client.om cn_m16chan (seq gated)
162m16/m16_native.c m16_native_build_release 60 gpu/nvidia/om/engine/eng.om the release packet
163m16/m16_native.c m16_native_enqueue_methods 88 gpu/nvidia/driver/m16.om drv_enqok (gated); the copy is the shell
164m16/m16_native.c m16_native_ring_doorbell 96 gpu/nvidia/driver/client.om cn_ring (seq gated)
165m16/m16_native.c m16_native_submit_methods 100 device shell enqueue then ring
166m16/m16_native.c now_ns 106 device shell clock
167m16/m16_native.c m16_native_wait_marker 112 gpu/nvidia/driver/m16.om drv_wait_ge (gated)
168m16/m16_native.c m16_native_wait_marker_ge 116 gpu/nvidia/driver/m16.om drv_wait_ge (gated); its null-pointer refusal is still C (Omega takes a mapping, not a pointer)
169m16/m16_native.c m16_native_close 129 gpu/nvidia/driver/client.om cn_m16close (seq gated)
170m16/m16_requalify.c check_proc_maps 32 gpu/nvidia/driver/m16.om drv_maps (gated)
171m16/m16_requalify.c main 48 test program