P1.6: ACPI tables — MADT, HPET and MCFG summary from Limine's RSDP #98
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.40) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 289 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.339
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #98"
general
weight: 0.35
garrickdabbs
Summary
Plan task P1.6: the kernel reads the ACPI tables and keeps what later tasks need.
Design
RsdpRequest. The address is treated as HHDM-virtual when it is at or above the HHDM offset, physical otherwise (the protocol's meaning changed across base revisions).acpicrate 5.x (allocfeature, MIT/Apache, no new transitive deps;cargo denyclean) rather than 6.x, whose handler trait also demands the AML host interface (mutexes, PCI/IO reads, sleep) that the kernel has no use for yet.paging::translateshows a page the direct map skipped (as happened for device memory in P1.5), that page is mapped throughpaging::map_mmiointo a 1 MiB bump-allocated window atKERNEL_MMIO_BASE + 1 MiB. Unmap is a no-op: HHDM aliases need none and window pages are few and read once.platform::acpi::Summary, kept behind a lock): table signatures, RSDP revision, MADT local-APIC address, CPU APIC ids (boot processor first), I/O APICs, HPET base, MCFG ECAM regions (segment, bus range, base) for P1.7.The
uefiandbiossmoke scenarios now require theacpi: HPET at 0xline.Tests (AC: boot log lists APIC id(s) and the HPET address)
acpi_summary_lists_apics_hpet_and_ecam: MADT present, at least one CPU whose first APIC id equals the running local APIC's id (apic::id()), an I/O APIC, an HPET base, and an MCFG region for segment 0 starting at bus 0.Verification
fmt, clippy (host + kernel),
cargo deny check, docs-gate clean. PLAN §11 updated (P1.6 done, next P1.7).Closes #52
task: P1.6
🤖 Generated with Claude Code