interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / docs / GB10_HARDWARE_PROFILE.md

132 lines · 6545 bytes Raw Blame History Source

GB10 hardware profile v1

This document defines the typed GB10 characterization used by AIENOS and the read-only Linux collector that fills it. It is characterization only. Nothing here initializes the GPU, talks to GSP, submits a command, allocates GPU memory, executes a kernel, or performs inference.

Governing: issue #36, GB10_NATIVE_STATUS.md, GB10_PLATFORM_TOPOLOGY.md, GB10_NATIVE_ACCELERATOR_BOUNDARY.md.

Evidence classes

Every fact in the profile is one of three states, never collapsed into a default:

Every observed value also records:

BAR0 base observed through Linux sysfs and `BAR0 base independently decoded by native AIENOS PCI enumeration` are different claims, and the type keeps them different.

Where it lives

ItemLocation
Pure PCI configuration decoderscrates/aienos-accel/src/pci.rs
Typed profile, provenance, GB10 contract matchcrates/aienos-accel/src/profile.rs
Register knowledge ledgercrates/aienos-accel/src/registers.rs
Read-only Linux collectorscripts/gb10_profile.sh
Synthetic fixture testscrates/aienos-accel/tests/gb10_fixtures.rs

Representable facts

The profile can represent at least the following, with Fact<T> carrying the state, source, and native-verification flag. A value configuration space cannot answer stays Unknown rather than zero.

FactTypeSource when known
PCI segment / domain, bus, device, functionPciLocationenumeration path
Vendor ID, device IDFact<u16>config 0x00
Subsystem vendor / deviceFact<u16>config 0x2c
Class, subclass, programming interfaceFact<ClassCode>config 0x0b
RevisionFact<u8>config 0x08
PCI command and statusFact<u16>config 0x04
BAR count, type, base, prefetchability, 32 vs 64 bitFact<BarFacts> and Fact<u64> sizesconfig 0x10, resource
BAR size when reliably observableFact<u64>Linux resource; a probe is never performed
PCIe capability presenceFact<PcieFacts>config capability list
Negotiated and maximum link width and speedinside PcieFactsPCIe capability registers, sysfs
MSI and MSI-X capability presenceFact<MsiFacts>, Fact<MsixFacts>config capability list
MSI-X table and PBA BAR indicator and offsetsinside MsixFactsMSI-X capability
IOMMU / SMMU groupingFact<u32>iommu_group sysfs
NUMA associationFact<i32>numa_node sysfs
Firmware / ACPI relationshipFact<&'static str>firmware_node sysfs
Known safe PMC observation valuesFact<u32>UEFI handoff only, see the register ledger
Provenance for every observationSource, collection methodalways recorded

BAR size deserves a note. A PCI BAR size is normally found by writing all ones and reading the mask back. That is a configuration-space write and lies outside the read-only characterization boundary. The profile therefore reports a size only when a source supplies one (the Linux kernel already sized the BAR and exposes it in the resource file) or when a synthetic fixture supplies a probe result to the pure memory_bar_size decoder. It is never produced by baking a default.

Native contract match

profile::match_gb10 validates a decoded endpoint header against the GB10 contract using device properties only:

It returns the exact rejection reason otherwise (NotNvidia, WrongDevice, MemoryDecodeDisabled, Bar0Missing, Bar0NotMemory, Bar0Unprogrammed, Bar0Not64Bit). No bus, device, or function number is assumed, so a relocated GB10 matches exactly as the observed one does. Gb10Bar::from_header applies the same contract to the legacy register values the boot handoff already reads.

Read-only Linux collector

bash scripts/gb10_profile.sh [--json PATH] [--report PATH] [--allow-sudo] [--generated-at S]

The collector only reads. It never writes configuration space, changes a PCI command bit, resizes a BAR, resets a device, unbinds or rebinds a driver, writes MMIO, or opens /dev/mem.

Output is a deterministic structured profile (JSON) and a human report. It records only the GB10 device, its PCIe topology, IOMMU grouping, and the firmware tables relevant to reaching it. It does not collect secrets or unrelated machine data.

An example committed run on Machine 1 is evidence/gb10_linux_profile_2026-09-25.json, summarized in evidence/gb10_linux_readonly_2026-09-25.md.

What this is not

The Linux collector observes facts through Linux. Those facts are Linux observations, not native AIENOS proofs. The current UEFI discovery path observes a subset (identity, BAR0, and two PMC registers); those are UEFI observations. Nothing here claims GSP ownership, GPU initialization, command submission, GPU DMA readiness, native Blackwell execution, or native inference.