diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index ac073fd..155d745 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -896,6 +896,41 @@ Paths below are on CUDApp main (present at `cc0908bdc0`). - Gate: `make test-multitarget OMC=…` with negative controls; receipts `evidence/MULTITARGET-20261027T0638Z/` (host EXERCISED, 63 checks, CUDApp `0ec44766`). Never say a vendor is "supported" or "runs" from these host runs. + +### CUDApp hardware capability manifest, PENDING CUDApp #367 + +This section stays pending until [CUDApp #367](https://github.com/aien-dev/CUDApp/pull/367) merges +(draft, head `47f27d2f8fb97ef569fe1fafbc617941e47b816d`; DRA-400, DRA-401). + +- `backend/hw/manifest.tsv` registers all 21 requested families (CPU, GPU, APU, PPU, SPU, NPU, TPU, LPU, + MCU, ISP, TPM, Secure Enclave, ASIC, FPGA, DPU, WSE, neuromorphic, photonic, QPU, TSU, BPU). Each row + names a route: NATIVE_ISA, DIRECT_DEVICE, VENDOR_RUNTIME, REMOTE_SERVICE, FIRMWARE_OWNED, or UNRESOLVED + (PPU, SPU and ASIC are BLOCKED_NAME until Drake names the part). A row that is not CHIP_TESTED with + evidence must carry an exact blocker. Do not add a backend for a BLOCKED row. +- `hwman` is seeded Omega (`backend/hw/{core,cpu,tpm,main}.om`, concatenated, pinned omc `e5b32567`). + `hwman admit MAN OP [TARGET]` is the admission query (proposed scheduler interface, DRA-407). + `hwman run` goes through discover → claim → prepare → submit → complete → quiesce → release with a + generation-checked, `flock`ed handle. The exit classes are listed in `backend/hw/README.md`. +- Every `hwman-` runner is bound by one closed table (`core.om` `TRUN`): hwman-cpu = CPU, NATIVE_ISA, + `sumsq64`/`fnv1a64`; hwman-tpm = TPM, DIRECT_DEVICE, `props`/`getrandom`. `check` refuses (exit 3) an + unknown runner, a runner on another family or route, or an operation outside the table, and `admit` + and `run` load the register through `check`. Exit 6 means not admitted only. A new operation needs a + table entry and its runner code in the same change. +- The handle fails closed: byte 0 becomes `x` (synced) before submission, and release writes and syncs + the record with byte 0 last. Any failed or short write or failed sync exits 74 `state_write_failed`, + never PASS, and the handle stays unreadable (7) until the operator replaces it. +- `hwman fault` passes only on the exact result: `badsize` kernel errno -22, `badcc` rc `0x000b0143` + (TPM2_RC_COMMAND_CODE with the resource-manager layer 11<<16, synthesized by Linux + `tpm-dev-common.c`; the chip never sees the frame). Anything else is 13. +- Admitted on the branch: Cortex-X925 processor 19 (`midr_el1=0x410fd851`) and the Nuvoton NPCT75x TPM on + `/dev/tpmrm0`. The GB10 GPU row is PRIOR_RECEIPT and is refused (exit 6, not admitted) without a + spark-window lease. The GB10 CPU is Arm X925/A725, not Grace. +- Gate: `make test-hw OMC=…` under the CPU pool wrapper. The persistence and fault-oracle controls + inject faults with `strace -e inject` (a test tool only; NOT_RUN without strace). The receipt is + `evidence/HW-MANIFEST-20261107T0606Z/` (pass=121 fail=0 not_run=2, CHIP_TESTED on spark-b87b in one + run: EXERCISED, not QUALIFIED); `HW-MANIFEST-20261107T0602Z/` holds the before/after regression of + every review control against `06237840`. Not run: `neg-cpu-unpinned` and `cpu-gb10-a725`. + ### Omegese GPU kernels (sm_121), PENDING omega-mv #885 This section stays pending until [omega-mv #885](https://github.com/aien-dev/omega-mv/pull/885) merges. It was exercised on its branch `c1/chip-fix` at