[XEN PATCH] efi: Use Shim's LoadImage to verify the Dom0 kernel

2025-09-02 Thread Gerald Elder-Vass
image to clean up. Signed-off-by: Gerald Elder-Vass Signed-off-by: Kevin Lampis --- xen/common/efi/boot.c | 39 +++ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/xen/common/efi/boot.c b/xen/common/efi/boot.c index 453b1ba099cd..67e7220d8fa3 1

[XEN PATCH v2] efi: Use Shim's LoadImage to verify the Dom0 kernel

2025-09-02 Thread Gerald Elder-Vass
image to clean up. Signed-off-by: Gerald Elder-Vass Signed-off-by: Kevin Lampis --- Changes since v1: - Re-instated SHIM_LOCK_PROTOCOL as a fallback option if IMAGE_LOADER is not found - Fixed indentation and error messages --- xen/common/efi/boot.c

[XEN PATCH v4] sbat: Add SBAT section to the Xen EFI binary

2025-05-12 Thread Gerald Elder-Vass
n the Xen binary by using the information in xen/arch/xs86/efi/sbat.sbat Signed-off-by: Gerald Elder-Vass Signed-off-by: Frediano Ziglio Tested-by: Gerald Elder-Vass --- Changed since v3: * Rebased patch onto 'staging' branch * Included an empty .note.GNU-stack section to sbat.

[XEN PATCH v3] sbat: Add SBAT section to the Xen EFI binary

2025-05-07 Thread Gerald Elder-Vass
n the Xen binary by using the information in xen/arch/xs86/efi/sbat.sbat Signed-off-by: Gerald Elder-Vass Signed-off-by: Frediano Ziglio Tested-by: Gerald Elder-Vass --- Changed since v2: * Moved sbat files and rules to arch/x86/efi * Updated sbat rule to reuse existing objcopy command Ch

[XEN PATCH v2] sbat: Add SBAT section to the Xen EFI binary

2025-05-01 Thread Gerald Elder-Vass
n the Xen binary by using the information in xen/arch/x86/sbat.csv Signed-off-by: Gerald Elder-Vass Signed-off-by: Frediano Ziglio Tested-by: Gerald Elder-Vass --- Changed since v1: * Updated commit message to explain why SBAT is needed * Renamed sbat_data.o rule to sbat.o * Moved sbat.o rule

[XEN PATCH] sbat: Add SBAT section to the xen binary

2025-05-01 Thread Gerald Elder-Vass
erald Elder-Vass Signed-off-by: Frediano Ziglio Tested-by: Gerald Elder-Vass diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index d902fb7accd9..6db7475c2c23 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -74,6 +74,7 @@ obj-$(CONFIG_TBOOT) += tboot.o obj-y += hpet.o