Skip to content

Chapter Traceability

Every thesis claim must trace to a concrete repository artifact or measured evidence package. This matrix is the authoritative link between the thesis document and the Haven repository.

Chapter Thesis Claim Repository Deliverables Evidence Artifacts
Ch. 1 - Introduction Heterogeneous SoCs need partition-level isolation docs/architecture/OVERVIEW.md, docs/architecture/THESIS_DEEP_DIVE.md Literature references
Ch. 2 - Background Static partition hypervisors are the right approach docs/architecture/ISOLATION_MODEL.md, docs/safety/THREAT_MODEL.md Jailhouse/Bao comparison
Ch. 3 - Design Haven’s architecture enforces spatial and temporal invariants src/core/mm/, src/core/irq/, src/core/sched/, include/haven/ Code review + unit test pass
Ch. 4 - Implementation Stage-2, IRQ ownership, SMMU, budget scheduler are implemented correctly All source modules, test results build/tests/test_* pass logs
Ch. 4 - Implementation Secondary CPU AMP boot via PSCI CPU_ON arch/arm64/boot.S, src/core/partition.c tests/integration/test_secondary_cpu_isolation.c
Ch. 4 - Implementation FreeRTOS guest RTOS context-switch is safely mediated src/guest/rtos/freertos_integration.c, include/haven/freertos_integration.h tests/unit/test_freertos_integration.c
Ch. 5 - Evaluation Isolation holds under violation attempts; RTOS latency is bounded tests/integration/, tests/isolation/ build/evidence/imx95/metrics/
Ch. 6 - Discussion TCB is minimal; formal analysis is tractable verification/coq/, verification/isabelle/ LOC count, proof sketches
Ch. 7 - Conclusion Haven demonstrates feasibility on real i.MX95 hardware Full evidence package build/evidence/ archive
Repository Milestone Thesis Chapters Supported
M1: Repository and architecture baseline Ch. 1, Ch. 2
M2: Minimal boot and partition bring-up Ch. 3, Ch. 4 (partial)
M3: Isolation enforcement Ch. 4, Ch. 5 (partial)
M4: Temporal guarantees Ch. 4, Ch. 5
M5: Full validation campaign Ch. 5, Ch. 6
M6: Thesis submission artifacts Ch. 7, all appendices
  • Stable repository process and CI quality gates.
  • Executable unit and integration smoke tests.
  • Benchmark and evidence packaging baseline.
  • Initial i.MX95 bring-up runbook and evidence templates.

Release 2 (Months 4–6) - Isolation Mechanisms

Section titled “Release 2 (Months 4–6) - Isolation Mechanisms”
  • Stage-2 mapping beyond current stubs.
  • IRQ ownership with invalid-path denials.
  • Budget scheduler accounting and reset semantics.
  • Negative integration tests for unauthorized access.

Release 3 (Months 7–9) - Platform Validation

Section titled “Release 3 (Months 7–9) - Platform Validation”
  • Full i.MX95 validation campaign with repeatable evidence.
  • Cross-OS virtual validation completion.
  • Secondary heterogeneous board baseline.
  • Full regression rerun.
  • Final benchmark and evidence archives.
  • Thesis chapter traceability completion.
  • Final risk and limitations report.

When a new test, benchmark, or evidence artifact is added:

  1. Identify which thesis chapter it supports.
  2. Add or update the row in the matrix above.
  3. Run ./scripts/evidence/package-evidence.sh to regenerate the evidence package.
  4. Commit the updated build/evidence/metadata.txt.
  5. Reference the commit hash in the thesis footnote for that claim.