Change xen.efi build and add SHIM_LOCK verification into efi_multiboot2()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 41 repliesIn review
- v1 RFC7 patches 17 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xen: calculate XEN_BUILD_TIME using XEN_BUILD_DATE valuexen/ | +1 | 9 replies | |
| 2/8 | xen: introduce XEN_COMPILE_POSIX_TIMExen/ xen/ | +9 | 3 replies | |
| 3/8 | xen/x86: manually build xen.mb.efi binaryxen/ xen/ xen/ +5 more | +221 | 13 replies | |
| 4/8 | xen/x86: add some addresses to the Multiboot headerxen/ | +12 | 1 reply | |
| 5/8 | xen/x86: add some addresses to the Multiboot2 headerxen/ | +15 | 1 reply | |
| 6/8 | efi: split out efi_shim_lock()xen/ | +13 | 1 reply | |
| 7/8 | xen/x86/efi: Verify dom0 kernel with SHIM_LOCK protocol in efi_multiboot2()xen/ xen/ xen/ | +35 | 1 reply | |
| 8/8 | efi: drop original xen.efi code and build mechanismxen/ xen/ xen/ +12 more | +21 | 12 replies |
Reviews trailers per patch
4 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | A-b |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] Change xen.efi build and add SHIM_LOCK verification into efi_multiboot2()
Hey,
As in subject... This way we get:
- one binary which can be loaded by the UEFI loader, Multiboot and Multiboot2 protocols,
- UEFI secure boot support when Xen is loaded via Multiboot2 protocol,
- if we wish, in the future we can drop xen/xen.gz and build xen.efi only,
- crash dumps generated by the xen.efi loaded from the EFI loader can be analyzed by crash tool,
- simpler code,
- simpler build,
- Xen build will no longer depend on ld i386pep support.
This patch series functionality does not depend on any GRUB2 changes. So, review can commence without any obstacles. Though the GRUB2 have to be changed to provide full verification chain. This will be discussed in separate thread.
Daniel
xen/Makefile | 26 +++--- xen/arch/arm/efi/efi-boot.h | 4 - xen/arch/x86/Makefile | 88 +------------------- xen/arch/x86/Rules.mk | 2 + xen/arch/x86/boot/head.S | 205 +++++++++++++++++++++++++++++++++++++++++++-- xen/arch/x86/efi/Makefile | 17 +--- xen/arch/x86/efi/buildid.ihex | 3 - xen/arch/x86/efi/check.c | 4 - xen/arch/x86/efi/efi-boot.h | 84 ++++--------------- xen/arch/x86/efi/mkreloc.c | 384 ------------------------------------------------------------------------------------ xen/arch/x86/efi/relocs-dummy.S | 11 --- xen/arch/x86/efi/stub.c | 83 ------------------ xen/arch/x86/xen.lds.S | 95 ++++++--------------- xen/common/efi/boot.c | 21 +++-- xen/common/version.c | 51 ------------ xen/include/xen/compile.h.in | 1 + 16 files changed, 277 insertions(+), 802 deletions(-)
Daniel Kiper (8):
xen: calculate XEN_BUILD_TIME using XEN_BUILD_DATE value
xen: introduce XEN_COMPILE_POSIX_TIME
xen/x86: manually build xen.mb.efi binary
xen/x86: add some addresses to the Multiboot header
xen/x86: add some addresses to the Multiboot2 header
efi: split out efi_shim_lock()
xen/x86/efi: Verify dom0 kernel with SHIM_LOCK protocol in efi_multiboot2()
efi: drop original xen.efi code and build mechanism
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel