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_REGISTER_LEDGER.md

59 lines · 3366 bytes Raw Blame History Rendered
1# GB10 register knowledge ledger
2
3This is a source-backed inventory of GB10 registers AIENOS can point at a
4source for. It is not a driver and it does not read any register. Unknown
5registers stay unknown. Meanings are not inferred from register names or from
6Linux driver behaviour.
7
8The repository supports exactly two GB10 registers today: PMC `BOOT_0` and PMC
9`BOOT_42`. There are no others. If a future milestone establishes more, they
10are added here with their own evidence.
11
12Governing: issue [#36](https://github.com/aien-dev/aienux/issues/36),
13[GB10_HARDWARE_PROFILE.md](GB10_HARDWARE_PROFILE.md),
14[GB10_NATIVE_ACCELERATOR_BOUNDARY.md](GB10_NATIVE_ACCELERATOR_BOUNDARY.md).
15
16The machine-readable form is `GB10_REGISTERS` in
17`crates/aienos-accel/src/registers.rs`.
18
19## Ledger
20
21| Block | Register | Offset | Width | Access | Evidence source | Observed value | Confidence / status | Safe to read | Native AIENOS observed | Semantics known |
22| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
23| GB10 PMC | `BOOT_0` | `0x0000` | 32 bit | read only (per current use) | `crates/aienos-accel` offset used by the UEFI handoff | none recorded here | offset established in the repository; meaning not established | established read through the UEFI handoff path | no | no |
24| GB10 PMC | `BOOT_42` | `0x0a00` | 32 bit | read only (per current use) | `crates/aienos-accel` offset used by the UEFI handoff | none recorded here | offset established in the repository; meaning not established | established read through the UEFI handoff path | no | no |
25
26## Notes on each column
27
28- **Offset.** The absolute offset from BAR0. The UEFI handoff reads
29 `bar.physical_base + offset` before `ExitBootServices`.
30- **Access.** The repository only ever reads these two. No write path exists,
31 and none is proposed here.
32- **Observed value.** Left empty. The register values are read at boot into the
33 handoff report and the firmware variable, but no native AIENOS observation of
34 them exists yet, so there is nothing verified to record. A Linux read was
35 deliberately not performed: reading BAR MMIO outside the established safe set
36 needs separate approval.
37- **Confidence / status.** The offsets are established in this repository. The
38 meaning of each register is not.
39- **Safe to read.** Both are inside the set the existing handoff already reads
40 through the UEFI root bridge memory protocol. A read outside this set would
41 need explicit, separate approval, on the principle that a register being
42 readable is not evidence that it is safe to read.
43- **Native AIENOS observed.** False for both. Only UEFI firmware services have
44 read them so far.
45
46## Rules for adding a register
47
481. Cite a source. A source is a repository file, a public specification whose
49 licensing and provenance are clear, or recorded hardware evidence. A name
50 that looks meaningful is not a source.
512. Never copy proprietary documentation or incompatibly licensed source into
52 the trusted base.
533. Record the access type. If it is unknown, say unknown.
544. Mark safe-to-read separately from the offset. An offset is not a safety
55 argument.
565. Leave semantics unknown until there is evidence to establish them. Do not
57 guess a bit layout from a downstream driver's use.
586. Set native-observed only after a native AIENOS path actually reads the
59 register on hardware.