Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update capsule header guid #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Javagedes
Copy link

@Javagedes Javagedes commented Oct 5, 2022

UpdateCapsule() Conformance requires that a capsule marked CAPSULE_FLAGS_PERSIST_ACROSS_RESET must also provide a valid ScatterGatherList. In some platforms (See example HERE), however, if a capsule is marked as such, the capsule is validated before being persisted in memory (which is when the ScatterGatherList is verified). Due to this, those platforms fail the SCT that validates this conformance as they return EFI_UNSUPPORTED as the capsule header guid being passed to the function is not a known valid capsule header guid.

This commit updates the capsule header guid used in the MiscRuntimeService tests to use a known good capsule header guid, gWindowsUxCapsuleGuid, which causes these platforms to pass this SCT by reaching the ScatterGatherList validation, which then returns EFI_INVALID_PARAMETER.

If you want the patch of this change, please just add .patch to the end of this PR (https://github.com/tianocore/edk2-test/pull/66.patch)
Signed-off-by: Joey Vagedes [email protected]

UpdateCapsule() Conformance requires that a capsule marked
CAPSULE_FLAGS_PERSIST_ACROSS_RESET must also provide a valid
ScatterGatherList. In some platforms, however, if a capsule is marked as
such, the capsule is validated before being persisted in memory (which
is when the ScatterGatherList is verified). Due to this, those platforms
fail the SCT that validates this conformance as they return
EFI_UNSUPPORTED as the capsule header guid being passed to the function
is not a known valid capsule header guid.

This commit updates the capsule header guid used in the
MiscRuntimeService tests to use a known good capsule header guid,
gWindowsUxCapsuleGuid, which causes these platforms to pass this SCT.
@Javagedes
Copy link
Author

I have also created a bugzilla bug. I'm not sure your process.

https://bugzilla.tianocore.org/show_bug.cgi?id=4098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant