Skip to content

target/ast10x0: Name the design questions in GAPS.md and list the reset gap - #45

Draft
chrysh wants to merge 2 commits into
ocp-global-demo-wipfrom
gaps-design-questions
Draft

chrysh wants to merge 2 commits into
ocp-global-demo-wipfrom
gaps-design-questions

Conversation

@chrysh

@chrysh chrysh commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

GAPS.md holds design questions as well as test coverage, but its heading named the QEMU tests only, so a reader took the file for a list of test coverage. The heading and the intro now name both.

A new section covers the reset around an update of a downstream device. The driver runs VerifyFirmware while the reset that the state machine asserted still holds the downstream device. An ImageSource over PLDM or MCTP has no image to serve while the reset holds, because a downstream device in reset answers no request, so a downstream device that takes its image over PLDM and has no interposed flash has no verify path yet. The state machine also asserts no reset while a direct-flash adapter writes the inactive slot.

Open questions:

  • How should the driver verify a downstream device that takes its image over PLDM and has no interposed flash: with the device running, from a measurement the device reports, or by relying on the authentication of the candidate before Effect::ActivateUpdate?
  • Can a direct-flash adapter write the inactive slot while the downstream device runs from the active slot of the same flash, or does the write need the reset held?

GAPS.md also holds design questions, such as the failed spare-slot
re-sync, and code comments point to GAPS.md for open decisions. The old
heading named the QEMU tests only, so a reader took the file for a list
of test coverage.

Signed-off-by: Christina Quast <christina.quast@9elements.com>
Assisted-by: Claude Fable 5.2
GAPS.md now lists as undecided how the driver verifies a downstream
device that takes its image over PLDM and has no interposed flash. The
driver verifies while the reset that the state machine asserted still
holds the downstream device, and an ImageSource over PLDM or MCTP has no
image to serve while the reset holds, because a downstream device in
reset answers no request. The section also lists whether a direct-flash adapter can write
the inactive slot while the downstream device runs from the same flash.

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant