Fix passtrough of screen_info on zboot enabled ARM kernels

Downstream backport of commit 732ea9db9d8a6a0444d18ed810cccb2428d8766b "efi: libstub: Move screen_info handling to common code",

accidentally dropped passtrough of boot screen info from the first stage of the kernel (decompress code), to the kernel itself.

On azure VMs, this causes the pci-hyperv driver to use MMIO reserved for framebuffer as PCI MMCONFIG window, and that doesn't work.

pci-hyperv does have a special code to avoid this situation by querying the boot screen info, but since it wasn't passed through, it didn't work.

JIRA: https://issues.redhat.com/browse/RHEL-60834

Tested: booted on D2ps v6 instance on azure with SRIOV-IOV enabled.

Omitted-fix: ee8b8f5d83eb2c ("efi/libstub: Zero initialize heap allocated struct screen_info")

Signed-off-by: Maxim Levitsky mlevitsk@redhat.com

Edited by Maxim Levitsky

Merge request reports

Loading