edk2-test icon indicating copy to clipboard operation
edk2-test copied to clipboard

Update capsule header guid

Open Javagedes opened this issue 3 years ago • 3 comments

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]

Javagedes avatar Oct 05 '22 23:10 Javagedes

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

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

Javagedes avatar Oct 06 '22 14:10 Javagedes