Skip to content

efi: fix and test hii keyboard layout pointer computation

Vincent Stehlé u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20260512-layout-pointer-29d1cd52c070

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi_loader: fix hii keyboard layout pointer computationlib/efi_loader/efi_hii.c+2 -10 replies
2/2efi_selftest: test hii keyboard layouts morelib/efi_selftest/efi_selftest_hii.c lib/efi_selftest/efi_selftest_hii_data.c+49 -300 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] efi: fix and test hii keyboard layout pointer computation

- Fix one scaled pointer arithmetic bug in EFI Loader HII implementation.
- Enhance the existing EFI HII unit test to catch the bug.

The unit test can run on the sandbox with the following command:

./u-boot -T -c "setenv efi_selftest HII database protocols; \
bootefi selftest"

---
Vincent Stehlé (2):
efi_loader: fix hii keyboard layout pointer computation
efi_selftest: test hii keyboard layouts more

 lib/efi_loader/efi_hii.c                 |  3 +-
 lib/efi_selftest/efi_selftest_hii.c      | 67 ++++++++++++++++++--------------
 lib/efi_selftest/efi_selftest_hii_data.c | 12 ++++++
 3 files changed, 51 insertions(+), 31 deletions(-)

---
base-commit: 5732bd0f457b4c671e46574d64d4acb099c0f0a5
change-id: 20260512-layout-pointer-29d1cd52c070

Best regards,

Signature · 1 line
Vincent.