Skip to content

5: Update the openSFI FAS Markdown from v0.3 to v0.5 - #6

Open
arennie-gt wants to merge 1 commit into
mainfrom
docs/5-convert-fas-to-markdown
Open

arennie-gt wants to merge 1 commit into
mainfrom
docs/5-convert-fas-to-markdown

Conversation

@arennie-gt

@arennie-gt arennie-gt commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Updates the openSFI Firmware Architecture Specification (FAS) Markdown in docs/fas/ from v0.3 FROZEN to v0.5 DRAFT.

  • Front matter: bumps the version to 0.5, adds the 24 SEP'25 version-history row and the link to the frozen v0.3 PDF, and updates the collaborators list.
  • Adds chapter 7, SoC Support Determination and Enforcement.
  • Adds chapter 9, openSFI Execution Model and Boot Flow, with the silicon initialization flow figure.
  • Adds Appendix G, Example Structures and Enumerations from Normative Specifications, and Appendix H, Deprecating SoCID from the openSFI API.
  • Renames introduction.md to introducing-opensfi.md, renumbers the chapters 1-13, and updates the navigation links and anchors.
  • Renames the figures in docs/fas/media/ to descriptive names and adds the initialization flow figure.
  • Updates the text of the existing chapters and appendices to match v0.5.

The v0.5 content comes from Open Silicon Firmware Interface (openSFI) Specification - v0.50 - RELEASE CANDIDATE (FOR BERT ONLY).docx.

Official releases are still published as a PDF generated from the docx, and git tags mark releases.

Type of change

  • Bug fix
  • New feature
  • Breaking change (existing users or integrations must change)
  • Refactor (no behaviour change)
  • Tests
  • Documentation
  • Build / CI / tooling
  • Other:

Related issues

Closes #5

How was this tested?

Compared the Markdown word by word against Open Silicon Firmware Interface (openSFI) Specification - v0.50 - RELEASE CANDIDATE (FOR BERT ONLY).docx, ignoring the voting roster table. The only differences are structural: the chapter index and navigation links replace the table of contents, the acronym definitions use spaced bold initials, and the Appendix G headings use G.x numbering. Two content differences are intentional, because the Google Doc was fixed after the release candidate: the stage names SFI_STAGE_GET_SYS_RSC_MAP and SFI_STAGE_FINAL_SYS_RSC_MAP replace SFI_STAGE_MEM_INIT and SFI_STAGE_POST_PCI_INIT, and the example SocInitSequence[] array is filled in.

Checked that every image link in the Markdown points to a file in docs/fas/media/. Please check the rendering on GitHub, especially tables and figures.

Compatibility impact

None. This changes documentation only.

Checklist

  • The branch name follows the naming convention in .github/docs/CONTRIBUTING.md
  • Commits are focused, have clear messages, and are signed off (git commit -s)
  • Code builds and existing tests pass
  • New or changed behaviour has tests
  • Documentation is updated to match the change
  • No secrets, credentials, or proprietary material are included
  • I have the right to contribute this material under the repository's license

Reviewer notes

  • Content inconsistencies found in the v0.5 text are not fixed here. The spec text is left as authored, and they will be handled in a follow-up.
  • The PDF release process is unchanged.

🤖 Generated with Claude Code

@arennie-gt
arennie-gt force-pushed the docs/3-add-contribution-workflow branch from f1aae69 to 65c4ea2 Compare November 24, 2026 14:18
@arennie-gt arennie-gt changed the title 5: Convert the openSFI FAS to Markdown 5: Update the openSFI FAS Markdown from v0.3 to v0.5 Nov 24, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 24, 2026
@arennie-gt
arennie-gt force-pushed the docs/5-convert-fas-to-markdown branch from 708f661 to d910ce4 Compare November 24, 2026 14:42
@arennie-gt

Copy link
Copy Markdown
Collaborator Author

Sorry for the force pushes. Just re-arranging the commits to add the 0.3 spec first.

@arennie-gt
arennie-gt changed the base branch from docs/3-add-contribution-workflow to main November 24, 2026 14:58
Deltas version 0.3:

Specification front matter
- Bump version to 0.5 and add the 24 SEP'25 version-history row, plus
  the link to the frozen v0.3 PDF.
- Update collaborators (Dan Holmes-Mitra replaces Ian Goegebuer; add
  May Zhu, Dell Technologies).
- Rename the front-matter "1. Acknowledgements" heading to
  "Acknowledgements" and renumber the chapter index.

New chapters
- 7. SoC Support Determination and Enforcement: mandatory requirements
  for hardware-derived SoC identification and enforcement
  (SFI_STATUS_UNSUPPORTED_SOC).
- 9. openSFI Execution Model and Boot Flow: three-phase normalized
  execution model (PEP etc.) with the silicon initialization flow figure.
- Appendix G: Example Structures and Enumerations from Normative
  Specifications (informative).
- Appendix H: Deprecating SoCID from the openSFI API (rationale).

Renamed / renumbered
- introduction.md -> introducing-opensfi.md ("5. Introducing - openSFI").
- Chapters are now numbered 1-13; prev/next links and anchors updated
  in every chapter and in the version-history links.

Content changes
- 8. API Definition
  - InitializeSilicon(): returns SFIStatus instead of int; parameters
    renamed Input/Output/Stage -> SFIInput/SFIOutput/InitStageID;
    SoCID parameter removed; "common / unified" wording dropped;
    structures must now be contiguous. The SoCID forward-looking note
    is removed.
  - ExecuteSiliconRuntimeOp() renamed ExecutePostSiliconInitOp(); same
    SFIStatus / SFIInput / SFIOutput / SoCID changes, with the ID
    parameter now PostInitOpsID (the parameter table still says
    RuntimeOpsID); the scope-clarification note is retargeted to v0.5.
  - New 8.3 HostFWMain(void *SFIMemData): host-firmware entry point
    called after Vendor-Owned Early Initialization; defined by openSFI,
    implemented by host firmware.
  - New 8.4 Library Model, State, and Ownership: statically linked,
    stateless API surface; all structures caller-owned with no hidden
    state in silicon firmware; pointer-based calling convention. Adds
    empty 8.4.1 XFERLIST_SMBIOS_RECORD and 8.4.2 XFERLIST_BOOT_MODE
    placeholder sections.
- 5. Introducing - openSFI
  - 5.2 Scope: drop "x86 SoCs for the initial release", name ARM
    Trusted FW alongside openSIL and FSP; now simply ISA-neutral.
  - New 5.4 Naming Principles (Informative): function-based names, avoid
    relative terms (early/mid/late), architecture-agnostic, stable
    across implementations. Later sections renumbered 5.5 and 5.6.
- 3. Scope: covers the boot flow from reset through OS handoff and
  runtime services, allows phased definition, and drops "non-x86
  architectures" from out of scope.
- 2. Terminology: extend Host Firmware to cover all bootloader firmware
  except SiP-specific firmware and openSFI; add Firmware Handoff
  Transfer List and Transfer Entries definitions.
- 6. Architecture Overview: drop the "Explicit SoCID targeting" bullet;
  runtime entry point renamed to ExecutePostSiliconInitOp().
- 10. Initialization Stages: replace the placeholder stage enum with
  SFI_INIT_STAGE_LIB_INIT plus SFI_STAGE_GET_SYS_RSC_MAP, SI_RECONFIG,
  RESET_REQUEST, FINAL_SYS_RSC_MAP, PREPARE_FOR_OS_HANDOFF and
  EXIT_HOST_FW; example sequence renamed SocInitSequence and updated;
  "A valid SoCID" removed from the LIB_INIT requirements.
- 11. Platform Input Configuration Semantics: references updated to
  ExecutePostSiliconInitOp(); structure stability is now per StageID
  rather than per SoCID and StageID.
- Appendix B: StageIDs are a superset across all SoC vendors (no longer
  "across all SoCIDs and").
- Appendix C: remove the "Place holder for v0.5 content" line.
- Appendix E: SoCID dropped from the InitializeSilicon() examples and
  the API list is shown as a code block. The shim example body and the
  int / ExecuteSiliconRuntimeOp names still use the old forms.
- Appendix A: one example renamed IFSTCPUTargets -> FIXTCPUTargets.
- Problem Statement, Standards Alignment, Governance, Appendices D and
  F: renumbering, link updates and re-wrapping only.

Media
- Rename the numbered images (image1-image13.png) to descriptive names
  and update every reference:
  - image2.png  -> opensfi-architecture-overview.png (chapter 6)
  - image3.png  -> ifv-specific-abstraction-layer.png (chapter 4)
  - image4.png  -> vertical-host-fw-teams.png (chapter 4)
  - image12.png -> opensfi-specification-cover.png
- Add opensfi-initialization-flow.png (555x864), the only new image
  content: the Figure 9-1 sequence diagram for chapter 9. It shows AMD,
  ARM and Intel SoC reset lanes against the UEFI / coreboot / openSFI
  phases (SEC/romstage/PEP, PEI/STP Mem Init, DXE/ramstage with address
  resolution, post-PCI init, BDS/payload), with the InitializeSilicon()
  call per stage and the Host_FW_Main hand-off.
- The renamed images have identical pixels to their v0.3 counterparts
  (verified by checksum).
- Chapter file modes changed from 755 to 644.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Albert Rennie <rennie.bert@gmail.com>
@arennie-gt
arennie-gt force-pushed the docs/5-convert-fas-to-markdown branch from d910ce4 to cad73f6 Compare November 24, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the openSFI FAS Markdown from v0.3 to v0.5 DRAFT

1 participant