[PATCH 0/2] Allow using BGRT table under Xen dom0

From: Marek Marczykowski-Górecki

Date: Mon Mar 09 2026 - 08:24:59 EST


For a long time Xen was invalidating BGRT table as it was reclaiming
BootServicesData memory (where boot graphics is located). This is now changing,
and the boot graphics is preserved. This series has necessary changes to
actually make Linux use the preserved graphics.

This is a companion series to Xen side at
https://lore.kernel.org/xen-devel/20260305191810.31033-1-soumyajyotisarkar23@xxxxxxxxx/

CC: Soumyajyotii Ssarkar <soumyajyotisarkar23@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
Cc: Ard Biesheuvel <ardb@xxxxxxxxxx> (maintainer:EXTENSIBLE FIRMWARE INTERFACE (EFI))
Cc: Ilias Apalodimas <ilias.apalodimas@xxxxxxxxxx> (reviewer:EXTENSIBLE FIRMWARE INTERFACE (EFI))
Cc: linux-efi@xxxxxxxxxxxxxxx (open list:EXTENSIBLE FIRMWARE INTERFACE (EFI))

Marek Marczykowski-Górecki (2):
efi: make efi_mem_type() and efi_mem_attributes() work on Xen PV
efi: Enable BGRT loading under Xen

drivers/firmware/efi/efi-bgrt.c | 7 +++++--
drivers/firmware/efi/efi.c | 27 +++++++++------------------
2 files changed, 14 insertions(+), 20 deletions(-)

base-commit: 7e1526209cf972f51281558f1cb979d18e49cdd1
--
git-series 0.9.1