Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/evidence/kfd/20261112-review/README.md # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / kfd / 20261112-review / README.md` 63 lines · 3200 bytes Raw Blame History Rendered 1 # KFD review repairs 2 3 This directory supersedes no historical receipt. It records the changes requested 4 by the independent `grok-4.7` review of the preceding KFD head. 5 Commands and their actual exits live in the adjacent logs; an incomplete or 6 nonzero log is not a passing receipt. The compiler hash files are generated. 7 8 ## Changes and controls 9 10 - RUNTIME_ENABLE is no longer admitted. The launcher needs no debugger runtime: 11 Linux v6.18 `drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c`, 12 `register_process` (1404–1441), calls `update_qpd`; its v9 implementation in 13 `kfd_device_queue_manager_v9.c` initializes process SH_MEM_CONFIG (including 14 F8_MODE for GC 9.4.3/9.4.4) and SH_MEM_BASES itself. This is a named upstream 15 source, not a claim about an unobserved notebook kernel. 16 - The C header oracle enumerates every AMDKFD_IOC macro in the installed UAPI. 17 Every sibling outside the explicit admitted list must compile with error 9 on 18 both targets. A compiler mutant admitting DBG_TRAP demonstrates that the 19 sibling control detects an expanded allowlist. 20 - kfdmap checks the descriptor's character-device class and number. It accepts 21 a DRM render device or the same device number as `/dev/kfd`, never a regular 22 file or another character device. Existing mapnew remains the ordinary-file 23 test route. Native and QEMU refusal cases cover regular files, `/dev/null` 24 and invalid descriptors. A compiler fd-class mutant must allow the otherwise 25 refused regular file. 26 - Literal wrong header lengths are compile error 9. Computed wrong lengths 27 remain trap 3 before the syscall. Separate compiler mutants remove the 28 compile-time and runtime checks and must be detected. 29 30 `fdtrace.c` is an independent AArch64 ptrace instrument. It changes only stat 31 metadata at the syscall boundary; actual mmap backing is a memfd, never a GPU. 32 It exercises accepted DRM/KFD classes, wrong render minor, mismatched device 33 numbers, non-character KFD metadata, regular files and fstat failure. The 34 accepted cases touch the final word of a span above 64 GiB. These are synthetic 35 CPU trust-boundary checks, not device qualification. Every AMD device row is 36 NOT_RUN. The x86 refusal cases run through qemu-x86_64; successful real render 37 or KFD mappings on either architecture remain NOT_RUN. 38 39 The new stack pathname immediate is calculated, not typed from memory: 40 `Python: int.from_bytes(b'/dev/kfd', 'little') -> `7234587703011271727`` (bytes). 41 The device-number masks and Linux stat layouts retain the preceding C/Wolfram 42 oracle provenance; the native trace writes `struct stat` from the installed C 43 headers rather than a duplicate byte layout. 44 45 ## Invocation 46 47 CPU prefix: 48 49 ``` 50 flock ~/handoffs/hive/queen/pool-4-5.lock nice -n 10 taskset -c 4,5 51 ``` 52 53 Qualification command (the conjunction stops at its first nonzero exit): 54 55 ``` 56 sh seed/omega-from-seed.sh && 57 python3 tests/kfd/check.py --record-history && 58 PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 tests/gates/run.sh seed 59 ``` 60 61 Compatibility and repository evidence checks are recorded separately. Historical 62 evidence stays unchanged. No GPU, service, sudo, remote write, merge or deployment 63 is authorized by or performed for this repair.