interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

branch main Branches Tags History

physics-mv / evidence / m15-native-access-audit.md

90 lines · 7267 bytes Raw Blame History Source

Hardware Access Audit: DGX Spark Accelerator Link (Milestone 15)

Document ID:     AUDIT-PHYSICS-M15-NATIVE-ACCESS
Target Machine:  NVIDIA DGX Spark (P4242 / Grace Neoverse V2 + Blackwell GB10)
Host OS:         Linux 7.0.0-1019-nvidia aarch64 (Ubuntu 24.04 LTS)
Kernel Lockdown: none [integrity] confidentiality (EFI Secure Boot Active)
Strict Devmem:   CONFIG_STRICT_DEVMEM=y, CONFIG_IO_STRICT_DEVMEM=y
Audit Date:      2026-09-26T05:05:00Z
Auditor:         AIEN Physics Substrate / Epistemic Verification

1. System Hardware & Topology Observation

SubsystemEmpirical Hardware ObservationSource / Sysfs Path
GPU DeviceNVIDIA GB10 (PCI ID 10de:2e12, rev a1)/sys/bus/pci/devices/000f:01:00.0/
PCI TopologyDomain 000f, Bus 01, Device 00, Function 0lspci -s 000f:01:00.0
Active Drivernvidia (NVIDIA UNIX Open Kernel Module 580.173.02)/sys/bus/pci/devices/000f:01:00.0/driver
IOMMU GroupGroup 20 (Sole device: 000f:01:00.0)/sys/kernel/iommu_groups/20/devices/
SMMUv3 Instancearm-smmu-v3.1.auto @ 0x13000000/sys/class/iommu/smmu3.0x0000000013000000
Stream ID0x0100 (256 decimal, ACPI IORT Node 29)ACPI IORT / Kernel Boot Log
BAR 0 Aperture0x24000000 - 0x27ffffff (64 MiB prefetchable MMIO)/proc/iomem, /sys/bus/pci/devices/000f:01:00.0/resource
Unified DRAM[0x80000000, 0x2080000000) (128 GiB coherent LPDDR5x)DMI / /proc/iomem ("System RAM")

2. Evaluation of Native Hardware-Access Mechanisms

In accordance with Rule 3 of the AIEN Epistemic Verification Doctrine, every prospective hardware access mechanism was audited empirically on the live system before code construction.

Mechanism Matrix

MechanismAvailable?Requires Root?Requires Driver Unbind?Requires Kernel Module?Risks Active GPU?Vendor Runtime Dep?Suitable for Permanent Lineage?Suitable Only as External Oracle?
1. Direct BAR Resource mmap (resource0)NOYESYESNOYES (Severe)NONO (Host OS dependent)NO (Kernel blocks mmap)
2. VFIO Framework (/dev/vfio/20)NOYESYESNO (vfio_pci loaded)YES (Breaks telemetry)NONO (Virtualization shim)NO (Blocked by driver unbind)
3. UIO Framework (/dev/uio*)NOYESYESYES (uio_pci_generic)YESNONONO
4. Generic IOMMU / iommufd (/dev/iommu)PARTIALYESYESNO (iommufd loaded)YESNONONO (Device unbound required)
5. DMA-BUF / dma_heap (/dev/dma_heap/system)YESYESNONONONONOYES (Allocates real DMA frames)
6. HMM / SVA Interfaces (IOMMU_SVA)YESNONONONONONOYES (ATS host page tables)
7. Existing Kernel GPU Interface (/dev/nvidia*)YESNONONO (In-tree module)NOYESNOYES (Mediated kernel access)
8. Vendor-Driver Oracle (libcuda.so.1)YESNONONONOYESNOYES (NON-LINEAGE QUALIFICATION ORACLE)
9. Custom Kernel Mediator (Out-of-tree .ko)NOYESNOYESYES (Lockdown violation)NONONO (Rejected: -EKEYREJECTED)

3. Detailed Mechanism Findings

1. Direct BAR Resource mmap (/sys/bus/pci/devices/000f:01:00.0/resource0)

2. VFIO Framework (/dev/vfio/vfio)

3. Custom Kernel Module (.ko)

4. DMA-BUF & DRM PRIME (/dev/dma_heap/system, /dev/dri/renderD128)

5. Vendor-Driver Qualification Oracle (libcuda.so.1)


4. Architectural Decision & Oracle Classification

In strict obedience to Rule 4 (SEPARATE PERMANENT LINEAGE FROM QUALIFICATION ORACLES):

  1. The Sovereign Substrate (physics_accel.c, physics_accel.h):
    • Implements the sovereign authority model: capability attenuation, 192-byte EffectReceipt ledger, unkeyed rolling SHA-256 digest chain, IOVA bounds verification, and fail-closed state machines.
    • Preserves Zero Foreign Toolchain Invariant: 0 inline assembly (__asm__), 0 Python, 0 LLVM, 0 system commands.
  2. The External Qualification Observer (native/, tools/m15tool.c):
    • Designated as a NON-LINEAGE QUALIFICATION ORACLE.
    • Dynamically interfaces with the hardware via the existing kernel driver to provide independent, empirical proof of device execution, hardware-caused state changes, and post-revocation faulting.
    • It is an observer to prove the physical reality of the machine; it is NOT part of Omega's permanent realization path.