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/aienux/blob/main/docs/GB10_NATIVE_STATUS.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / GB10_NATIVE_STATUS.md` 80 lines ยท 4525 bytes Raw Blame History Rendered 1 # GB10 native execution status 2 3 The `aienos-handoff` AArch64 UEFI image now checks the DGX Spark's observed 4 GB10 PCI location first, then walks every bus in each root bridge's 5 firmware-declared bus range. It opens the UEFI PCI root bridge protocol with a 6 shared (`GetProtocol`) open. The leading hypothesis for the first native 7 boot's `gb10: unavailable` is that the firmware PCI bus driver holds the 8 protocol `ByDriver` and refuses an exclusive open with `ACCESS_DENIED`; this is 9 unconfirmed on hardware, and the next native boot's `gb10_pci_root_open[..]` 10 lines will confirm or rule it out. It accepts only 11 NVIDIA `10de:2e12` with a programmed 64-bit memory BAR and PCI memory 12 decoding enabled. Through the UEFI PCI root bridge protocol, it reads the 13 read-only PMC `BOOT_0` and `BOOT_42` registers from BAR0. It carries the 14 location, BAR address, and register values across `ExitBootServices` into the 15 AIENOS kernel's serial boot report. No Linux service is involved in that image. 16 17 When the GB10 is not found, the pre-exit report and the final 18 firmware-variable report record why: how many root bridges carry the protocol 19 (`gb10_pci_root_bridges`), any refused opens (`gb10_pci_root_open[i]`), and 20 per scanned bridge the segment number, device count, bridge count, and valid 21 bridge bus windows (`gb10_pci_root[i]`). If the GB10 vendor/device pair was 22 seen but rejected, its command/status and BAR0 values are recorded 23 (`gb10_pci_candidate[i]`), distinguishing an unprogrammed BAR from a missed 24 match. 25 26 This image has been built but the fixed discovery path **has not been booted 27 on hardware**. These register reads still use firmware services before 28 handoff. They establish a device identity path; they do not initialize the 29 GPU or execute a GPU command. 30 31 To reach independent GPU execution, AIENOS still needs a native MMU mapping for 32 GPU MMIO, GPU resource and interrupt management, GB10/GSP firmware loading and 33 RPC, GPU memory allocation and synchronization, a command submission path, a 34 GPU code toolchain, and an inference runtime. Each stage needs hardware 35 evidence before the next can be claimed. The UEFI boot path is only a loader; 36 the intended runtime owner is the AIENOS kernel on Arm with GB10 as the primary 37 compute device. 38 39 The image has not been installed, selected as the host boot target, or allowed 40 to modify the existing Linux server. Host verification is `bash 41 scripts/verify_all.sh`; a passing result proves build and unit-test readiness, 42 not a successful native boot or model execution. 43 44 ## KV memory ownership on the native path 45 46 Added 2026-10-16 for aien-spark/aien-architecture#233 (lane P1). The full 47 source map for KV ownership, write rules, GPU visibility, queue bounds, 48 cancellation, reuse and restart recovery lives with the code that owns the 49 pool, in sovereign-core 50 [`crates/aien-kv-cache/OWNERSHIP.md`](https://github.com/aien-spark/aien-sovereign-core/blob/`a78ee68ab9a1285a7d4e8a983a7738ff2e1b7d4a`/crates/aien-kv-cache/OWNERSHIP.md) 51 (aien-spark/aien-sovereign-core#588). What it says about AIENOS, at aienos 52 ``b7ebf7c``: 53 54 - Native GB10 GPU: no KV code exists. Nothing above allocates GPU memory, 55 so there is no native KV buffer, no visibility rule and no evidence. 56 NOT_RUN; the native GB10 model is aienos#327. 57 - Native Pi 5 CPU: `aienos-infer` keeps one dense f32 cache per session, 58 `[layer][pos][kv_dim]`, allocated once 59 (`crates/aienos-infer/src/decode.rs` L21, L56-L62). `reset` only sets 60 `pos = 0` and keeps the buffers (L93-L96). No paging, no sharing, no 61 persistence. Native-hardware-tested for inference only: 62 `docs/native/PI5-6-INFER-RUNS.md` (1.20 tok/s, KV capacity 64 in that 63 probe). 64 - Native storage: the NVMe driver allows one outstanding command, and 65 "Every request goes through the bounce buffer" 66 (`native/disk/disk_nvme.h` L17-L19). The planned KV slab, its step-budgeted 67 pump and the export/import calls are design only (sovereign-core ADR 0003 68 section 9); no code, NOT_RUN, tracked in aienos#367. 69 - Emulator / QEMU: the native KV slab tests are PLANNED (ADR 0003 section 70 11); nothing runs yet. 71 72 The Linux-hosted Spark results in that page (GB10 through the NVIDIA Linux 73 driver) are not native evidence and are not claimed here. 74 75 ## Hardware gate register 76 77 Which Aienux and GB10 driver gates ran on the host, in QEMU or on the machine, each with its 78 receipt: the register [hardware-gates.tsv](hardware-gates.tsv), explained in 79 [HARDWARE_GATES.md](HARDWARE_GATES.md). A physical row says PASS only once an attended run has 80 committed its receipt.