Skip to content

efi_loader: implement deprecated Unicode collation protocol

Alexander Graf u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/2] efi_loader: implement deprecated Unicode collation protocol
Quoted 23 lines · Peter Robinson
Quoted 10 lines · Heinrich Schuchardt
Quoted 9 lines · AKASHI Takahiro

Heinrich,

Quoted 6 lines · Heinrich Schuchardt

In EFI 1.10 a version of the Unicode collation protocol using ISO 639-2 language codes existed. This protocol is not part of the UEFI specification any longer. Unfortunately it is required to run the UEFI Self Certification Test (SCT) II, version 2.6, 2017. So we implement it here for the sole purpose of running the SCT. It can be removed once a compliant SCT is available.

Quoted 7 lines
Quoted 5 lines

I remember that Alex always rejected this kind of patch, saying that an upstream (SCT in this case) should be fixed in the first place.

Do you want to change this policy?
(I'm just asking.)

I am using SCT a lot to test my patches. I want to be able to run the tests on the final code.

Wouldn't it be better to patch/fork the upstream SCT that blindly pulling in obsolete code that is basically already dead?

Quoted 2 lines

I have raised a ticket for upstream SCT but did not see any reaction up to now.

Quoted 8 lines

Got a reference to the ticket?

Quoted 4 lines

Making this deprecated protocol a config option deselected by default is the most plausible solution to me. In the Kconfig comment I made it clear that this protocol is going to be removed when the SCT has been corrected.

I disagree, I think if it's obsolete not having the code in the first case in the most plausible option IMO.

Since it's hidden behind a default-n config option, I'd not be terribly opposed to it. I do agree that fixing SCT is the better path forward.

Leif, how long do you think fixing this properly in SCT is going to take?

Alex