interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / docs / milestone-15-spec.md

551 lines · 35381 bytes Raw Blame History Source

Specification: Milestone 15 — Physics Accelerator Link (PHYSICS_ACCELERATOR_LINK)

Document ID:     SPEC-PHYSICS-M15
Milestone:       Milestone 15 (PHYSICS_ACCELERATOR_LINK)
Classification:  Sovereign Machine Canonical Specification
Target Substrate: Bounded Coherent Memory Interface, SMMUv3 DMA Sandboxing & Accelerator Authority
Status:          COMPLETE / HARDWARE BOUNDARY QUALIFIED
Lineage:         SILICON -> ATLAS (M1) -> PHYSICS (M2/M3/M15) -> OMEGA (M4-M14) -> AIEN

1. Executive Summary & Foundational Doctrine

Milestone 14 completed the CPU realization synthesis pipeline (OMEGA_REALIZATION_SYNTHESIS, $G_S \times G_M \to G_R$), synthesizing verified, multi-issue native AArch64 machine code directly onto physical execution pipelines without foreign compilers or static lowering heuristics.

Milestone 15 establishes the Physics Accelerator Link (PHYSICS_ACCELERATOR_LINK), opening Phase C (Accelerator Cognition Substrate). It expands the sovereign machine's computational reach to high-throughput hardware accelerators (specifically NVIDIA Blackwell architectures on DGX Spark) while maintaining strict physical authority, hardware sandboxing, and mathematical determinism:

PHYSICS GAINS BOUNDED ACCELERATOR AUTHORITY. OMEGA CANNOT OWN ACCELERATOR AUTHORITY. OMEGA ASKS; PHYSICS AUTHORIZES.

Canonical Boundary Principle

M15 ESTABLISHES WHO MAY TOUCH THE ACCELERATOR.
M16 DISCOVERS HOW THE ACCELERATOR IS ACTUALLY COMMANDED.

Milestone 15 Exit Condition

Physics has an accelerator authority model grounded in empirically observed DGX Spark device, memory, and IOMMU topology. OMEGA cannot directly exercise accelerator authority and must formulate bounded intents through Physics. Native Blackwell submission mechanics remain deliberately outside M15 and are the subject of M16.

Explicit Scope Boundary: What M15 Does NOT Claim

Milestone 15 explicitly does not claim:

All native submission mechanics, channel structures, work descriptor formats, and doorbell discoveries belong strictly to Milestone 16 (BLACKWELL_NATIVE_PATH_KNOWN) or subsequent bare-metal Physics takeover work. M15 establishes the trusted authority and topology foundation upon which M16 builds.

In conventional architectures, GPU drivers operate with sprawling ambient authority: multi-gigabyte kernel drivers, closed-source firmware blobs, opaque direct memory access (DMA), unchecked command ring submissions, and unpredictable out-of-band interrupts. A single malformed GPU command or kernel bug can crash the entire host operating system or corrupt host memory via rogue DMA writes.

In the Sovereign Machine, accelerators are not permitted ambient authority:

Milestone 15 defines and qualifies this boundary: establishing explicit memory boundaries for coherent CPU-accelerator memory, SMMUv3 stage 1 DMA sandboxing, command queue authority, doorbell mediation, fail-closed fault handling, non-disruptive device reset, and rolling SHA-256 effect receipts.


2. Core Doctrine & Invariants

As mandated by canonical roadmap doctrine (DOCTRINE-ROADMAP) and sovereign machine architecture (DOCTRINE-SOVEREIGNTY), the Physics Accelerator Link enforces seven foundational invariants:

  1. Bounded Accelerator Authority: Accelerator operations require valid capability tokens (RES_ACCELERATOR, resource type 0x00000005) governed by monotonic attenuation. Callers never hold raw device registers or unmediated physical addresses; authority is held exclusively via typed CapabilityId { slot, generation }. Any operation lacking a valid, unrevoked capability token or attempting operations beyond granted permission bits is rejected fail-closed.
  2. SMMUv3 DMA Sandboxing & IOVA Confinement: The accelerator Input/Output Virtual Address (IOVA) space is strictly translated via ARM SMMUv3 stage 1 translation tables managed exclusively by Physics. Any DMA access outside granted physical frames is trapped fail-closed via SMMUv3 translation faults (F_TRANSLATION) or permission faults (F_PERMISSION), instantly revoking the offending capability without corrupting host state.

  3. Coherent Unified Memory Semantics: On NVIDIA DGX Spark (Grace Blackwell), CPU and GPU share a single physical LPDDR5x DRAM envelope [0x80000000, 0x2080000000) (128 GiB). Accelerator-visible memory windows are carved explicitly by Physics from unreserved DRAM frames. Ambiguous, overlapping, or unverified memory mappings are strictly prohibited. Physics kernel memory and private data structures are permanently unmapped and inaccessible to accelerator DMA.

  4. Queue Authority & Doorbell Mediation: Command submission rings and MMIO doorbells are allocated and bounded by Physics. Ring buffers have fixed lengths, circular wrapping validation, and exclusive head/tail pointer governance. Omega submits validated command packets to Physics; Physics verifies memory bounds, writes the command packet to the hardware submission ring, issues memory synchronization barriers, and mediates the MMIO doorbell write.

  5. Fault Confinement & Non-Disruptive Reset: Hardware timeouts, invalid command descriptors, MMIO bus faults, and SMMUv3 translation faults trigger immediate queue revocation and device isolation. Physics executes a clean hardware reset sequence without crashing the host CPU, corrupting host memory, or disrupting non-faulting subsystems.

  6. Cryptographic Effect Receipts: Every accelerator operation—whether admitted and executed or rejected at any gate—emits an immutable 192-byte EffectReceipt committed to the rolling SHA-256 seal chain. Every receipt records device state, intent digest, actual effect, hardware measurement, and rolling previous receipt hash.

  7. Zero Foreign Toolchain: 0 LLVM, 0 GNU as, 0 GCC inline asm, 0 JIT, 0 Python. All translation tables, ring buffers, MMIO register interactions, and cryptographic receipts are constructed via native sovereign byte structures and direct AArch64 machine routines without invoking external toolchains or proprietary vendor runtimes.


3.1 Sovereign Substrate Topology (DGX Spark Grace-Blackwell)

+-------------------------------------------------------------------------------+
|                      PHYSICS ACCELERATOR LINK TOPOLOGY                        |
+-------------------------------------------------------------------------------+
|                                                                               |
|   +-----------------------+                    +--------------------------+   |
|   |   ARM Neoverse V2     |                    |   NVIDIA Blackwell GPU   |   |
|   |   Host CPU (Grace)    |                    |   Compute Engine         |   |
|   +-----------┬-----------+                    +------------┬-------------+   |
|               │                                             │                 |
|               │                                             │                 |
|               ▼                                             ▼                 |
|       [ CPU MMU (EL1/EL2) ]                         [ ARM SMMUv3 (Stage 1) ]  |
|               │                                             │                 |
|               │        NVLink-C2C Coherent Interconnect     │                 |
|               └─────────────────────┬───────────────────────┘                 |
|                                     │                                         |
|                                     ▼                                         |
|   +-----------------------------------------------------------------------+   |
|   |              PHYSICAL LPDDR5x DRAM [0x80000000, 0x2080000000)         |   |
|   |                                                                       |   |
|   |  0x80000000 ┌──────────────────────────────────────┐                  |   |
|   |             │ Physics Kernel & Authority Ledger    │ (Hidden from SMMU) |
|   |             ├──────────────────────────────────────┤                  |   |
|   |             │ Free Host Physical Frames            │                  |   |
|   |             ├──────────────────────────────────────┤                  |   |
|   |             │ Bounded Accelerator DMA Window #0    │ (IOVA Mapped)    |   |
|   |             ├──────────────────────────────────────┤                  |   |
|   |             │ Command Submission Ring Buffer       │ (Coherent Queue) |   |
|   |             ├──────────────────────────────────────┤                  |   |
|   |             │ Bounded Accelerator DMA Window #1    │ (IOVA Mapped)    |   |
|   |  0x2080000000 └────────────────────────────────────┘                  |   |
|   +-----------------------------------------------------------------------+   |
+-------------------------------------------------------------------------------+

3.2 Subsystem Ownership Boundaries

To maintain absolute epistemic integrity, Milestone 15 explicitly records active subsystem ownership between the host Linux kernel device stack and Sovereign Physics:

SubsystemCurrent Live OwnerPhysics StatusTransfer to Sovereign Physics
SMMUv3 Hardware ProgrammingLinux kernel (arm_smmu_v3) / active device stackStage 1 policy model implemented; native hardware takeover not yet performedFuture milestone / bare-metal isolated environment
Device Address / IOVA MappingsLinux kernel (dma-iommu / uvm)Stage 1 window translation & permission bounds implemented; hardware page-table walk not taken overFuture milestone / bare-metal isolated environment
GPU BAR MappingsLinux kernel PCI subsystem & nvidia.ko (0x24000000-0x27ffffff)Aperture bounds observed; direct userspace mmap restricted by CONFIG_IO_STRICT_DEVMEMM16 (Blackwell native submission characterization)
GPU Submission Queuesnvidia.ko / user channel pushbuffersCircular ring queue authority model implemented; native Blackwell channel format unknownM16 (empirical discovery of command packet & queue structure)
GPU Completion Handlingnvidia.ko interrupt handler & semaphoresCompletion receipt model implemented; native Blackwell completion protocol unknownM16 (empirical discovery of completion signaling & fences)
Device ResetLinux kernel PCI core / GPU driver reset handlerMonotonic device state machine implemented; raw control register reset not executed to preserve running hostFuture milestone / bare-metal isolated environment

3.3 SMMUv3 DMA Sandboxing & IOVA Translation

The ARM SMMUv3 (System Memory Management Unit version 3) enforces hardware-level isolation between the accelerator's bus-mastering transactions and physical host memory:

  1. Stream Table Entries (STE):
    • Stream Table base is strictly aligned to a 256 KiB boundary.
    • Stream ID 0x0100 (256 decimal, mapped via ACPI IORT Node 29 for PCI segment 15 BDF 01:00.0) maps to a dedicated 64-byte STE.
    • STE is configured for Stage 1 translation enabled (Config = 0b101), linear stream format (S1Fmt = 0b00), pointing to a dedicated Context Descriptor table (CTXPTR).
  2. Context Descriptor (CD):

    • Occupies 64 bytes with 64-bit alignment:
      • CD[0]: Control word defining T0SZ = 16 (48-bit IOVA space), TG0 = 0b00 (4 KiB granule), IRGN0 = 0b01 (Inner Write-Back Cacheable), ORGN0 = 0b01 (Outer Write-Back Cacheable), SH0 = 0b11 (Inner Shareable), EPD0 = 0 (TTBR0 walk enabled), EPD1 = 1 (TTBR1 walk disabled), V = 1 (Valid), IPS = 0b010 (40-bit / 44-bit Physical Address space), AA64 = 1 (AArch64 translation table format), ASID = 1.
      • CD[1]: TTBR0 (Physical Base Address of Stage 1 Translation Table Level 0/1).
      • CD[2]: TTBR1 (Unused, disabled via EPD1).
      • CD[3]: MAIR (Memory Attribute Indirection Register, configuring Normal Inner/Outer Write-Back Cacheable memory and Device MMIO attributes).
  3. Stage 1 Page Tables:

    • 4 KiB granule size with 4-level translation walk.
    • Only physical frames explicitly granted via DmaWindowDescriptor have valid page table entries.
    • Any transaction targeting an address without a valid translation entry triggers an F_TRANSLATION fault. Any transaction violating permission bits (e.g., write to read-only frame) triggers an F_PERMISSION fault.
  4. Event Queue & Fault Confinement:

    • SMMUv3 Event Queue records all fault syndromes with Stream ID, IOVA, and fault class.
    • Faults generate synchronous or polled notifications to Physics, which immediately freezes the stream, revokes the associated capability, records the fault in the effect receipt ledger, and initiates non-disruptive device recovery.

3.4 Command Queue Authority & Doorbell Mediation

Command submission is strictly mediated through Physics to prevent untrusted callers from commanding the accelerator hardware directly:

+---------------+                 +--------------------+                 +------------------+
|     OMEGA     |                 |      PHYSICS       |                 |    BLACKWELL     |
| (Client Mode) |                 |  (Authority Mode)  |                 |   ACCELERATOR    |
+-------┬-------+                 +---------┬----------+                 +--------┬---------+
        │                                   │                                     │
        │ 1. Populate Work Descriptors      │                                     │
        │    inside granted DMA window      │                                     │
        │                                   │                                     │
        │ 2. Submit EffectIntent            │                                     │
        │    (ACCEL_OP_SUBMIT, cap_id)      │                                     │
        ├──────────────────────────────────►│                                     │
        │                                   │ 3. Validate Capability & Bounds     │
        │                                   │    Verify IOVA containment          │
        │                                   │                                     │
        │                                   │ 4. Copy to Hardware Ring Buffer     │
        │                                   │    Update Tail Pointer (modulo)     │
        │                                   │    Emit Memory Barrier (DSB SY)     │
        │                                   │                                     │
        │                                   │ 5. Ring MMIO Doorbell Register      │
        │                                   ├────────────────────────────────────►│
        │                                   │                                     │ 6. Fetch & Exec
        │                                   │ 7. Commit EffectReceipt to Ledger   │    Work Packets
        │ 8. Receive EffectReceipt (192B)   │    Roll SHA-256 Seal Chain          │    via DMA
        │◄──────────────────────────────────┤                                     │
        │                                   │                                     │

3.4 Device Lifecycle State Machine

stateDiagram-v2
    [*] --> UNINITIALIZED
    UNINITIALIZED --> PROBED: physics_accel_probe()
    PROBED --> CONFIGURED: physics_accel_configure_smmu()
    CONFIGURED --> ACTIVE: physics_accel_activate()
    ACTIVE --> ACTIVE: Valid Submission / Sync
    ACTIVE --> FAULTED: Hardware Timeout / SMMU Fault
    FAULTED --> RESETTING: physics_accel_reset()
    RESETTING --> RECOVERED: Reset Verification Pass
    RECOVERED --> CONFIGURED: Stream Table Re-initialized
    FAULTED --> UNINITIALIZED: Non-Recoverable Hardware Panic

4. Data Model & C API Declarations

#ifndef PHYSICS_ACCEL_LINK_H
#define PHYSICS_ACCEL_LINK_H

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

#define PHYSICS_ACCEL_LINK_VERSION       0x00010000
#define PHYSICS_ACCEL_MAX_WINDOWS        16
#define PHYSICS_ACCEL_MAX_QUEUES         4
#define PHYSICS_ACCEL_RING_SLOTS         64
#define PHYSICS_ACCEL_SLOT_SIZE_BYTES    128

/* Resource Type for Accelerator Capability */
#define RES_ACCELERATOR                  0x00000005

/* Accelerator Operation Bitmasks */
#define ACCEL_OP_PROBE                   0x00000001
#define ACCEL_OP_MAP_DMA                 0x00000002
#define ACCEL_OP_UNMAP_DMA               0x00000004
#define ACCEL_OP_ALLOC_QUEUE             0x00000008
#define ACCEL_OP_SUBMIT                  0x00000010
#define ACCEL_OP_SYNC                    0x00000020
#define ACCEL_OP_RESET                   0x00000040

/* DMA Permission Flags */
#define DMA_PERM_READ                    0x00000001
#define DMA_PERM_WRITE                   0x00000002
#define DMA_PERM_COHERENT                0x00000004

/* Accelerator Lifecycle States */
typedef enum {
    ACCEL_STATE_UNINITIALIZED = 0,
    ACCEL_STATE_PROBED        = 1,
    ACCEL_STATE_CONFIGURED    = 2,
    ACCEL_STATE_ACTIVE        = 3,
    ACCEL_STATE_FAULTED       = 4,
    ACCEL_STATE_RESETTING     = 5,
    ACCEL_STATE_RECOVERED     = 6
} AcceleratorDeviceState;

/* DMA Window Descriptor for SMMUv3 Translation Mapping */
typedef struct {
    uint64_t iova_base;
    uint64_t phys_base;
    uint64_t size_bytes;
    uint32_t permissions; /* DMA_PERM_* */
    uint32_t stream_id;
    uint32_t window_id;
    uint32_t reserved;
} DmaWindowDescriptor;

/* SMMUv3 Stream Configuration */
typedef struct {
    uint32_t stream_id;
    uint32_t ste_index;
    uint64_t cd_table_base;
    uint64_t ttbr0_base;
    uint64_t mair_value;
    uint32_t t0sz;
    uint32_t granule_size;
    bool stage1_enabled;
    bool fault_trap_enabled;
} Smmuv3StreamConfig;

/* Accelerator Capability Record */
typedef struct {
    uint32_t slot;
    uint32_t generation;
    uint64_t principal_id;
    uint32_t resource_type; /* RES_ACCELERATOR */
    uint32_t allowed_ops;   /* Bitmask of ACCEL_OP_* */
    uint64_t iova_bound_base;
    uint64_t iova_bound_size;
    uint32_t queue_id_mask;
    uint32_t revocation_state; /* 1 = ACTIVE, 2 = REVOKED */
    uint8_t  provenance_digest[32];
} AcceleratorCapability;

/* Canonical EffectIntent (64 bytes, little-endian, 64-bit aligned) */
typedef struct {
    uint16_t version;               /* 1 */
    uint16_t length;                /* 64 */
    uint32_t reserved0;             /* 0 */
    uint64_t request_id;            /* Caller-generated request ID */
    uint64_t principal_id;          /* Principal ID (e.g. Omega) */
    uint32_t capability_slot;       /* Capability slot index */
    uint32_t capability_generation; /* Capability generation */
    uint32_t resource_type;         /* RES_ACCELERATOR */
    uint32_t operation;             /* ACCEL_OP_* */
    uint64_t target_base;           /* Target IOVA or Queue ID */
    uint64_t target_size;           /* Byte span or command length */
    uint64_t param0;                /* Descriptor address or doorbell parameter */
} EffectIntent;

/* Canonical EffectReceipt (192 bytes, 64-bit aligned) */
typedef struct {
    uint16_t version;               /* 1 */
    uint16_t length;                /* 192 */
    uint32_t decision;              /* 1 = ADMITTED, 2 = REJECTED */
    uint32_t rejection_reason;      /* Specific reason code if rejected */
    uint32_t reserved0;             /* 0 */
    uint64_t request_id;            /* Mirrored from EffectIntent */
    uint8_t  intent_digest[32];     /* SHA-256 of 64-byte EffectIntent */
    uint64_t actual_effect;         /* Physical result or mapped address */
    uint64_t output;                /* Submitted packet count or status */
    uint32_t capability_slot;       /* Presented slot */
    uint32_t capability_generation; /* Presented generation */
    uint64_t machine_generation;    /* Monotonic machine counter */
    uint64_t measurement;           /* Timestamp / cycle measurement */
    uint8_t  previous_receipt_digest[32]; /* Rolling SHA-256 seal chain */
    uint8_t  receipt_digest[32];    /* SHA-256 of receipt bytes 0x00..0x7F */
    uint8_t  reserved1[32];         /* Alignment padding to 192 bytes */
} EffectReceipt;

/* Command Queue State within Physics */
typedef struct {
    uint32_t queue_id;
    uint32_t head_index;
    uint32_t tail_index;
    uint32_t slot_count;
    uint64_t ring_phys_base;
    uint64_t doorbell_mmio_reg;
    bool     active;
} AcceleratorQueue;

/* Master Physics Accelerator Link Context */
typedef struct {
    uint32_t link_version;
    uint32_t device_state;          /* AcceleratorDeviceState */
    uint32_t stream_id;
    uint32_t active_queues;
    uint64_t mmio_doorbell_base;
    uint64_t mmio_doorbell_size;
    uint64_t coherent_dram_base;    /* 0x80000000 on DGX Spark */
    uint64_t coherent_dram_size;    /* 128 GiB on DGX Spark */
    DmaWindowDescriptor active_windows[PHYSICS_ACCEL_MAX_WINDOWS];
    uint32_t active_window_count;
    AcceleratorQueue queues[PHYSICS_ACCEL_MAX_QUEUES];
    Smmuv3StreamConfig smmu_config;
    uint8_t  last_receipt_digest[32];
    uint64_t fault_count;
    uint64_t total_submissions;
} PhysicsAcceleratorLink;

/* ========================================================================= */
/* Physics Server Authority APIs                                             */
/* ========================================================================= */

/* Initialize the Physics Accelerator Link with coherent DRAM boundaries */
int physics_accel_init(PhysicsAcceleratorLink *link,
                       uint64_t dram_base,
                       uint64_t dram_size);

/* Configure SMMUv3 Stream Table and Context Descriptors for accelerator */
int physics_accel_configure_smmu(PhysicsAcceleratorLink *link,
                                 const Smmuv3StreamConfig *config);

/* Grant a bounded DMA window and install SMMUv3 Stage 1 translation */
int physics_accel_grant_dma_window(PhysicsAcceleratorLink *link,
                                   const AcceleratorCapability *cap,
                                   const DmaWindowDescriptor *window,
                                   EffectReceipt *out_receipt);

/* Revoke a DMA window and invalidate SMMUv3 translation entries */
int physics_accel_revoke_dma_window(PhysicsAcceleratorLink *link,
                                    const AcceleratorCapability *cap,
                                    uint64_t iova_base,
                                    EffectReceipt *out_receipt);

/* Allocate a bounded command submission queue ring */
int physics_accel_alloc_queue(PhysicsAcceleratorLink *link,
                              const AcceleratorCapability *cap,
                              uint32_t queue_id,
                              EffectReceipt *out_receipt);

/* Mediate command packet validation, ring insertion, and doorbell ringing */
int physics_accel_submit_command(PhysicsAcceleratorLink *link,
                                 const AcceleratorCapability *cap,
                                 const EffectIntent *intent,
                                 EffectReceipt *out_receipt);

/* Trap and isolate an accelerator fault (SMMU abort, timeout, illegal insn) */
int physics_accel_handle_fault(PhysicsAcceleratorLink *link,
                               uint32_t fault_syndrome);

/* Perform non-disruptive device reset and recovery */
int physics_accel_reset_device(PhysicsAcceleratorLink *link,
                               EffectReceipt *out_receipt);

/* ========================================================================= */
/* Omega Client APIs (Mediated Ingress)                                      */
/* ========================================================================= */

/* Request a bounded DMA memory window from Physics */
int omega_accel_request_dma_grant(uint32_t cap_slot,
                                  uint32_t cap_gen,
                                  uint64_t iova_base,
                                  uint64_t phys_base,
                                  uint64_t size,
                                  uint32_t perms,
                                  EffectReceipt *out_receipt);

/* Request command execution submission via mediated Physics queue */
int omega_accel_request_submit(uint32_t cap_slot,
                               uint32_t cap_gen,
                               uint32_t queue_id,
                               uint64_t cmd_desc_iova,
                               uint64_t cmd_len,
                               EffectReceipt *out_receipt);

/* Request synchronization / barrier on submitted work */
int omega_accel_request_sync(uint32_t cap_slot,
                             uint32_t cap_gen,
                             uint32_t queue_id,
                             uint64_t timeout_cycles,
                             EffectReceipt *out_receipt);

/* Validate rolling cryptographic seal chain on an EffectReceipt */
int omega_accel_verify_receipt(const EffectReceipt *receipt,
                               const uint8_t *expected_prev_seal);

#endif /* PHYSICS_ACCEL_LINK_H */

5. The 10 Canonical Qualification Gates

Milestone 15 qualification mandates 100% compliance across 10 canonical qualification gates:

  1. PHYSICS_ACCEL_MEM_BOUNDS_PASS: Verifies that memory boundaries for the coherent accelerator envelope [0x80000000, 0x2080000000) are strictly enforced. Any attempt to allocate or map memory outside unreserved frames, or overlapping Physics kernel structures (image, stack, capability ledger, receipt ledger), is trapped and fails closed.
  2. PHYSICS_ACCEL_DMA_POLICY_PASS: Verifies that Physics correctly models ARM SMMUv3 Stage 1 IOVA-to-PA translation policy and DMA window isolation. Asserts that IOVA mapping requests are bounded, translation matches DRAM frames with precise permission bits (DMA_PERM_READ, DMA_PERM_WRITE, DMA_PERM_COHERENT), unmapped accesses fail closed, and overlapping windows are rejected.

  3. PHYSICS_ACCEL_QUEUE_AUTHORITY_PASS: Verifies bounded queue authority and doorbell mediation policy. Confirms that submission queue ring indices wrap cleanly modulo slot capacity, malformed command packets are refused prior to ring insertion, and untrusted principals are physically barred from writing MMIO doorbell registers directly.

  4. PHYSICS_ACCEL_DEVICE_LIFECYCLE_PASS: Verifies deterministic progression across accelerator device states (UNINITIALIZED $\to$ PROBED $\to$ CONFIGURED $\to$ ACTIVE). Confirms that state transitions follow monotonic state machine rules and that non-disruptive fault isolation and recovery reset function fail-closed.

  5. PHYSICS_ACCEL_RECEIPT_CHAIN_PASS: Verifies that every accelerator operation emits an immutable, bit-exact 192-byte EffectReceipt committed to the rolling SHA-256 seal chain. Verifies that receipt hashes deterministically incorporate the prior receipt digest, preventing receipt tampering, truncation, or replay attacks.

  6. PHYSICS_ACCEL_OMEGA_INGRESS_PASS: Verifies the Omega-to-Physics boundary. Confirms that Omega interacts exclusively through structured 64-byte EffectIntent requests, and that requests lacking valid, unrevoked capability handles are rejected at the broker admission gate prior to execution.

  7. PHYSICS_ACCEL_HARDWARE_BOUNDARY_PASS: Verifies truthful observation of DGX Spark hardware topology directly from the live host: PCI BDF 000f:01:00.0, vendor ID 0x10de, device ID 0x2e12, IOMMU group 20, SMMUv3 platform device arm-smmu-v3.1.auto @ base 0x13000000, Stream ID 0x0100 provenance, BAR0 aperture 0x24000000-0x27ffffff (64 MiB), explicit subsystem ownership boundaries, and zero unverified MMIO writes performed.

  8. PHYSICS_ACCEL_ZERO_RUNTIME_DEP_PASS: Verifies sovereign runtime independence: 0 CUDA runtime, 0 CUDA driver API, 0 LLVM JIT, 0 Python runtime, 0 GCC inline assembly in canonical files. Host qualification scaffolding uses GCC as a temporary non-lineage compiler.

  9. PHYSICS_ACCEL_PROVENANCE_PASS: Verifies capability provenance tracking, monotonic attenuation validation, and capability slot checking. Confirms that unpermitted operations, invalid resource types, or out-of-bounds IOVA requests are rejected fail-closed.

  10. PHYSICS_ACCEL_RECEIPT_PASS: Verifies that a formal 192-byte EffectReceipt is generated for hardware boundary observation, binding observed topology parameters (Stream ID, BAR0 base, SMMU base, BDF) into the immutable receipt chain with valid SHA-256 seal.


6. Provenance & Qualification Contract

Milestone 15 is governed by canonical contract CONTRACT-PHYSICS-ACCELERATOR-LINK-M15.

Epistemic Qualification Criteria & Ratification

Under the epistemic verification doctrine, Milestone 15's boundary is ratified as COMPLETE / HARDWARE BOUNDARY QUALIFIED:

  1. Software Authority & API Model (QUALIFIED):
    • Validates that Omega can only interact with accelerator authority via capability-governed, monotonic EffectIntent requests.
    • Validates IOVA bounding, software translation checks, ring state machine progression, fail-closed fault handling, and unkeyed rolling SHA-256 digest chaining.
  2. Empirical Hardware Boundary Characterization (QUALIFIED):
    • Live hardware inspection verifies physical DGX Spark topology:
      • NVIDIA GB10 Blackwell GPU at PCI BDF 000f:01:00.0 (Vendor 0x10de, Device 0x2e12)
      • IOMMU Group 20
      • SMMUv3 platform device arm-smmu-v3.1.auto @ base 0x13000000
      • Stream ID 0x0100 (provenance: ACPI IORT Node 29, Segment 15, BDF 01:00.0)
      • Coherent unified DRAM envelope [0x80000000, 0x2080000000) (128 GiB unified LPDDR5x)
      • BAR0 MMIO aperture [0x24000000, 0x28000000) (64 MiB, kernel resource observed)
      • Explicit subsystem ownership boundaries recorded; no guessed MMIO writes performed.
  3. Milestone 16 Boundary Hand-off:
    • Milestone 16 (BLACKWELL_NATIVE_PATH_KNOWN) dependency is satisfied to begin empirical discovery of native Blackwell submission mechanics from a truthful foundation.
{
  "milestone": "MILESTONE 15 — PHYSICS_ACCELERATOR_LINK",
  "status": "QUALIFIED / PASS",
  "ratification": "COMPLETE / HARDWARE BOUNDARY QUALIFIED",
  "contract_id": "CONTRACT-PHYSICS-ACCELERATOR-LINK-M15",
  "lineage": "SILICON -> ATLAS (M1) -> PHYSICS (M2/M3/M15) -> OMEGA (M4-M14) -> AIEN",
  "qualification_gates": {
    "physics_gates_total": 10,
    "physics_gates_passed": 10,
    "omega_gates_total": 10,
    "omega_gates_passed": 10,
    "omega_cumulative_gates": 121,
    "omega_cumulative_passed": 121
  },
  "hardware_boundary_characterization": {
    "status": "QUALIFIED",
    "target_smmu": "arm-smmu-v3.1.auto @ 0x13000000",
    "target_stream_id": "0x0100",
    "target_device": "NVIDIA Blackwell GB10 (PCI 000f:01:00.0, IOMMU group 20)",
    "coherent_dram_envelope": "[0x80000000, 0x2080000000) 128 GiB",
    "bar0_aperture": "[0x24000000, 0x28000000) 64 MiB",
    "native_submission_mechanics": "INTENTIONALLY_DEFERRED_TO_M16"
  }
}

7. Downstream Horizons & Accelerator Cognition

Milestone 15 establishes the secure, sandboxed hardware substrate that unlocks the remainder of Phase C (Accelerator Cognition Substrate):