bisecting kernel from the 6.5.0-41 to latest master-next, the patch "x86/boot: Omit compression buffer from PE/COFF image memory footprint" also causes fail to boot up.
03651c884514d311fa3e628ac073afbad04e5c57 is the first bad commit
commit 03651c884514d311fa3e628ac073afbad04e5c57
Author: Ard Biesheuvel <email address hidden>
Date: Tue Sep 12 09:00:56 2023 +0000
x86/boot: Omit compression buffer from PE/COFF image memory footprint
Now that the EFI stub decompresses the kernel and hands over to the
decompressed image directly, there is no longer a need to provide a
decompression buffer as part of the .BSS allocation of the PE/COFF
image. It also means the PE/COFF image can be loaded anywhere in memory,
and setting the preferred image base is unnecessary. So drop the
handling of this from the header and from the build tool.
bisecting kernel from the 6.5.0-41 to latest master-next, the patch "x86/boot: Omit compression buffer from PE/COFF image memory footprint" also causes fail to boot up.
03651c884514d31 1fa3e628ac073af bad04e5c57 is the first bad commit 1fa3e628ac073af bad04e5c57
commit 03651c884514d31
Author: Ard Biesheuvel <email address hidden>
Date: Tue Sep 12 09:00:56 2023 +0000
x86/boot: Omit compression buffer from PE/COFF image memory footprint
BugLink: https:/ /bugs.launchpad .net/bugs/ 2061814
commit 8eace5b3555606e 684739bef5bcdfc fe68235257 upstream.
Now that the EFI stub decompresses the kernel and hands over to the
decompressed image directly, there is no longer a need to provide a
decompression buffer as part of the .BSS allocation of the PE/COFF
image. It also means the PE/COFF image can be loaded anywhere in memory,
and setting the preferred image base is unnecessary. So drop the
handling of this from the header and from the build tool.
Signed-off-by: Ard Biesheuvel <email address hidden>
Signed-off-by: Ingo Molnar <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Portia Stephens <email address hidden>
Signed-off-by: Roxana Nicolescu <email address hidden>