Skip to content

services: Add the HW_STATUS and indirect FIFO layouts - #47

Closed
chrysh wants to merge 1 commit into
ocpfrom
ocp-registers-4
Closed

chrysh wants to merge 1 commit into
ocpfrom
ocp-registers-4

Conversation

@chrysh

@chrysh chrysh commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Slice 4 against ocp, after #46: the HW_STATUS, INDIRECT_FIFO_CTRL
and INDIRECT_FIFO_STATUS layouts in
services/ocp-recovery/api/src/regs/.

@chrysh
chrysh force-pushed the ocp-registers-4 branch 5 times, most recently from 99c24ed to 50f6b7f Compare December 1, 2026 11:38
IndirectFifoStatus::space_remaining_bytes and occupancy_bytes follow the
FIFO formulas of OCP Recovery 1.2, in which the FIFO keeps 1 entry free.
IndirectFifoStatus::advance_indices wraps both indices at the FIFO size,
as the Caliptra i3c-core does, so the write index the device reports
equals the index a Recovery Agent computes when it counts modulo the
FIFO size. HwStatus::default reports CompositeTemperature::Unavailable,
because a temperature byte of 0 reads as 0 degrees Celsius.

Signed-off-by: Christina Quast <christina.quast@9elements.com>
Assisted-by: Claude Fable 5.2
@chrysh

chrysh commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

Replaced by OpenPRoT#881, merged into ocp-streaming-recovery.

@chrysh chrysh closed this Dec 1, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in OpenPRoT PFR Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant