<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>0dc1754e - efi/libstub: Avoid legacy decompressor zlib/zstd wrappers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#0dc1754e</link>
        <description>efi/libstub: Avoid legacy decompressor zlib/zstd wrappersRemove EFI zboot&apos;s dependency on the decompression wrappers used by thelegacy decompressor boot code, which can only process the input in onego, and this will not work for upcoming support for embedded ELF images.They also do some odd things like providing a barebones malloc()implementation, which is not needed in a hosted environment such as theEFI boot services.So instead, implement GZIP deflate and ZSTD decompression in terms ofthe underlying libraries. Support for other compression algoritms hasalready been dropped.Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Wed, 20 Nov 2024 19:36:03 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>fb84cefd - x86/efi/mixed: Move mixed mode startup code into libstub</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#fb84cefd</link>
        <description>x86/efi/mixed: Move mixed mode startup code into libstubThe EFI mixed mode code has been decoupled from the legacy decompressor,in order to be able to reuse it with generic EFI zboot images for x86.Move the source file into the libstub source directory to facilitatethis.Acked-by: Ingo Molnar &lt;mingo@kernel.org&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 07 Jan 2025 17:16:59 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8ba14d9f - efi: libstub: Use &apos;-std=gnu11&apos; to fix build with GCC 15</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#8ba14d9f</link>
        <description>efi: libstub: Use &apos;-std=gnu11&apos; to fix build with GCC 15GCC 15 changed the default C standard version to C23, which should nothave impacted the kernel because it requests the gnu11 standard via&apos;-std=&apos; in the main Makefile. However, the EFI libstub Makefile uses itsown set of KBUILD_CFLAGS for x86 without a &apos;-std=&apos; value (i.e., usingthe default), resulting in errors from the kernel&apos;s definitions of bool,true, and false in stddef.h, which are reserved keywords under C23.  ./include/linux/stddef.h:11:9: error: expected identifier before &#8216;false&#8217;     11 |         false   = 0,  ./include/linux/types.h:35:33: error: two or more data types in declaration specifiers     35 | typedef _Bool                   bool;Set &apos;-std=gnu11&apos; in the x86 cflags to resolve the error and consistentlyuse the same C standard version for the entire kernel. All otherarchitectures reuse KBUILD_CFLAGS from the rest of the kernel, so thisissue is not visible for them.Cc: stable@vger.kernel.orgReported-by: Kostadin Shishmanov &lt;kostadinshishmanov@protonmail.com&gt;Closes: https://lore.kernel.org/4OAhbllK7x4QJGpZjkYjtBYNLd_2whHx9oFiuZcGwtVR4hIzvduultkgfAIRZI3vQpZylu7Gl929HaYFRGeMEalWCpeMzCIIhLxxRhq4U-Y=@protonmail.com/Reported-by: Jakub Jelinek &lt;jakub@redhat.com&gt;Closes: https://lore.kernel.org/Z4467umXR2PZ0M1H@tucnak/Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Wed, 22 Jan 2025 01:11:34 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b5db73fb - riscv: enable HAVE_ARCH_STACKLEAK</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#b5db73fb</link>
        <description>riscv: enable HAVE_ARCH_STACKLEAKAdd support for the stackleak feature. Whenever the kernel returns to userspace the kernel stack is filled with a poison value.At the same time, disables the plugin in EFI stub code because EFI stubis out of scope for the protection.Tested on qemu and milkv duo:/ # echo STACKLEAK_ERASING &gt; /sys/kernel/debug/provoke-crash/DIRECT[   38.675575] lkdtm: Performing direct entry STACKLEAK_ERASING[   38.678448] lkdtm: stackleak stack usage:[   38.678448]   high offset: 288 bytes[   38.678448]   current:     496 bytes[   38.678448]   lowest:      1328 bytes[   38.678448]   tracked:     1328 bytes[   38.678448]   untracked:   448 bytes[   38.678448]   poisoned:    14312 bytes[   38.678448]   low offset:  8 bytes[   38.689887] lkdtm: OK: the rest of the thread stack is properly erasedSigned-off-by: Jisheng Zhang &lt;jszhang@kernel.org&gt;Reviewed-by: Charlie Jenkins &lt;charlie@rivosinc.com&gt;Link: https://lore.kernel.org/r/20240623235316.2010-1-jszhang@kernel.orgSigned-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Sun, 23 Jun 2024 23:53:16 +0000</pubDate>
        <dc:creator>Jisheng Zhang &lt;jszhang@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>cd619387 - x86/efistub: Enable SMBIOS protocol handling for x86</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#cd619387</link>
        <description>x86/efistub: Enable SMBIOS protocol handling for x86The smbios.c source file is not currently included in the x86 build, andbefore we can do so, it needs some tweaks to build correctly incombination with the EFI mixed mode support.Reviewed-by: Lukas Wunner &lt;lukas@wunner.de&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Mon, 01 Jul 2024 07:35:33 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2335c9cb - ARM: 9407/1: Add support for STACKLEAK gcc plugin</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#2335c9cb</link>
        <description>ARM: 9407/1: Add support for STACKLEAK gcc pluginAdd the STACKLEAK gcc plugin to arm32 by adding the helper used bystackleak common code: on_thread_stack(). It initialize the stack with thepoison value before returning from system calls which improves the kernelsecurity. Additionally, this disables the plugin in EFI stub code anddecompress code, which are out of scope for the protection.Before the test on Qemu versatilepb board:	# echo STACKLEAK_ERASING  &gt; /sys/kernel/debug/provoke-crash/DIRECT	lkdtm: Performing direct entry STACKLEAK_ERASING	lkdtm: XFAIL: stackleak is not supported on this arch (HAVE_ARCH_STACKLEAK=n)After:	# echo STACKLEAK_ERASING  &gt; /sys/kernel/debug/provoke-crash/DIRECT	lkdtm: Performing direct entry STACKLEAK_ERASING	lkdtm: stackleak stack usage:	  high offset: 80 bytes	  current:     280 bytes	  lowest:      696 bytes	  tracked:     696 bytes	  untracked:   192 bytes	  poisoned:    7220 bytes	  low offset:  4 bytes	lkdtm: OK: the rest of the thread stack is properly erasedSigned-off-by: Jinjie Ruan &lt;ruanjinjie@huawei.com&gt;Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Thu, 27 Jun 2024 07:38:44 +0000</pubDate>
        <dc:creator>Jinjie Ruan &lt;ruanjinjie@huawei.com&gt;</dc:creator>
    </item>
<item>
        <title>ed0f9410 - ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#ed0f9410</link>
        <description>ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATIONThe current arm32 architecture does not yet support theHAVE_LD_DEAD_CODE_DATA_ELIMINATION feature. arm32 is widely used inembedded scenarios, and enabling this feature would be beneficial forreducing the size of the kernel image.In order to make this work, we keep the necessary tables by annotatingthem with KEEP, also it requires further changes to linker script to KEEPsome tables and wildcard compiler generated sections into the right place.When using ld.lld for linking, KEEP is not recognized within the OVERLAYcommand, and Ard proposed a concise method to solve this problem.It boots normally with defconfig, vexpress_defconfig and tinyconfig.The size comparison of zImage is as follows:defconfig       vexpress_defconfig      tinyconfig5137712         5138024                 424192          no dce5032560         4997824                 298384          dce2.0%            2.7%                    29.7%           shrinkWhen using smaller config file, there is a significant reduction in thesize of the zImage.We also tested this patch on a commercially available single-boardcomputer, and the comparison is as follows:a15eb_config2161384         no dce2092240         dce3.2%            shrinkThe zImage size has been reduced by approximately 3.2%, which is 70KB on2.1M.Signed-off-by: Yuntao Liu &lt;liuyuntao12@huawei.com&gt;Tested-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Mon, 03 Jun 2024 15:37:50 +0000</pubDate>
        <dc:creator>Yuntao Liu &lt;liuyuntao12@huawei.com&gt;</dc:creator>
    </item>
<item>
        <title>7f7f6f7a - Makefile: remove redundant tool coverage variables</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#7f7f6f7a</link>
        <description>Makefile: remove redundant tool coverage variablesNow Kbuild provides reasonable defaults for objtool, sanitizers, andprofilers.Remove redundant variables.Note:This commit changes the coverage for some objects:  - include arch/mips/vdso/vdso-image.o into UBSAN, GCOV, KCOV  - include arch/sparc/vdso/vdso-image-*.o into UBSAN  - include arch/sparc/vdso/vma.o into UBSAN  - include arch/x86/entry/vdso/extable.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vdso-image-*.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vdso32-setup.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vma.o into GCOV, KCOV  - include arch/x86/um/vdso/vma.o into KASAN, GCOV, KCOVI believe these are positive effects because all of them are kernelspace objects.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Tested-by: Roberto Sassu &lt;roberto.sassu@huawei.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Mon, 06 May 2024 13:35:43 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2947a456 - treewide: update LLVM Bugzilla links</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#2947a456</link>
        <description>treewide: update LLVM Bugzilla linksLLVM moved their issue tracker from their own Bugzilla instance to GitHubissues.  While all of the links are still valid, they may not necessarilyshow the most up to date information around the issues, as all updateswill occur on GitHub, not Bugzilla.Another complication is that the Bugzilla issue number is not always thesame as the GitHub issue number.  Thankfully, LLVM maintains this mappingthrough two shortlinks:  https://llvm.org/bz&lt;num&gt; -&gt; https://bugs.llvm.org/show_bug.cgi?id=&lt;num&gt;  https://llvm.org/pr&lt;num&gt; -&gt; https://github.com/llvm/llvm-project/issues/&lt;mapped_num&gt;Switch all &quot;https://bugs.llvm.org/show_bug.cgi?id=&lt;num&gt;&quot; links to the&quot;https://llvm.org/pr&lt;num&gt;&quot; shortlink so that the links show the most up todate information.  Each migrated issue links back to the Bugzilla entry,so there should be no loss of fidelity of information here.Link: https://lkml.kernel.org/r/20240109-update-llvm-links-v1-3-eb09b59db071@kernel.orgSigned-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Acked-by: Fangrui Song &lt;maskray@google.com&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Andrii Nakryiko &lt;andrii@kernel.org&gt;Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Cc: Mykola Lysenko &lt;mykolal@fb.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 09 Jan 2024 22:16:31 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d2baf8cc - riscv/efistub: Tighten ELF relocation check</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#d2baf8cc</link>
        <description>riscv/efistub: Tighten ELF relocation checkThe EFI stub makefile contains logic to ensure that the objects thatmake up the stub do not contain relocations that require runtime fixups(typically to account for the runtime load address of the executable)On RISC-V, we also avoid GP based relocations, as they require that GPis assigned the correct base in the startup code, which is notimplemented in the EFI stub.So add these relocation types to the grep expression that is used tocarry out this check.Link: https://lkml.kernel.org/r/42c63cb9-87d0-49db-9af8-95771b186684%40siemens.comSigned-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 16 Jan 2024 13:52:27 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>afb2a4fb - riscv/efistub: Ensure GP-relative addressing is not used</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#afb2a4fb</link>
        <description>riscv/efistub: Ensure GP-relative addressing is not usedThe cflags for the RISC-V efistub were missing -mno-relax, thus wereunder the risk that the compiler could use GP-relative addressing. Thathappened for _edata with binutils-2.41 and kernel 6.1, causing therelocation to fail due to an invalid kernel_size in handle_kernel_image.It was not yet observed with newer versions, but that may just be luck.Cc: &lt;stable@vger.kernel.org&gt;Signed-off-by: Jan Kiszka &lt;jan.kiszka@siemens.com&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Fri, 12 Jan 2024 18:37:29 +0000</pubDate>
        <dc:creator>Jan Kiszka &lt;jan.kiszka@siemens.com&gt;</dc:creator>
    </item>
<item>
        <title>457926b2 - riscv: Optimize bitops with Zbb extension</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#457926b2</link>
        <description>riscv: Optimize bitops with Zbb extensionThis patch leverages the alternative mechanism to dynamically optimizebitops (including __ffs, __fls, ffs, fls) with Zbb instructions. WhenZbb ext is not supported by the runtime CPU, legacy implementation isused. If Zbb is supported, then the optimized variants will be selectedvia alternative patching.The legacy bitops support is taken from the generic C implementation asfallback.If the parameter is a build-time constant, we leverage compiler builtin tocalculate the result directly, this approach is inspired by x86 bitopsimplementation.EFI stub runs before the kernel, so alternative mechanism should not beused there, this patch introduces a macro NO_ALTERNATIVE for this purpose.Signed-off-by: Xiao Wang &lt;xiao.w.wang@intel.com&gt;Reviewed-by: Charlie Jenkins &lt;charlie@rivosinc.com&gt;Link: https://lore.kernel.org/r/20231031064553.2319688-3-xiao.w.wang@intel.comSigned-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 31 Oct 2023 06:45:53 +0000</pubDate>
        <dc:creator>Xiao Wang &lt;xiao.w.wang@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>5f51c5d0 - x86/efi: Drop EFI stub .bss from .data section</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#5f51c5d0</link>
        <description>x86/efi: Drop EFI stub .bss from .data sectionNow that the EFI stub always zero inits its BSS section upon entry,there is no longer a need to place the BSS symbols carried by the stubinto the .data section.Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;Link: https://lore.kernel.org/r/20230912090051.4014114-18-ardb@google.com

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 12 Sep 2023 09:00:52 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b7ac4b8e - riscv: libstub: Implement KASLR by using generic functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#b7ac4b8e</link>
        <description>riscv: libstub: Implement KASLR by using generic functionsWe can now use arm64 functions to handle the move of the kernel physicalmapping: if KASLR is enabled, we will try to get a random seed from thefirmware, if not possible, the kernel will be moved to a location thatsuits its alignment constraints.Signed-off-by: Alexandre Ghiti &lt;alexghiti@rivosinc.com&gt;Tested-by: Conor Dooley &lt;conor.dooley@microchip.com&gt;Tested-by: Song Shuai &lt;songshuaishuai@tinylab.org&gt;Reviewed-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Tested-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Link: https://lore.kernel.org/r/20230722123850.634544-6-alexghiti@rivosinc.comSigned-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Sat, 22 Jul 2023 12:38:50 +0000</pubDate>
        <dc:creator>Alexandre Ghiti &lt;alexghiti@rivosinc.com&gt;</dc:creator>
    </item>
<item>
        <title>6b56beb5 - arm64: libstub: Move KASLR handling functions to kaslr.c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#6b56beb5</link>
        <description>arm64: libstub: Move KASLR handling functions to kaslr.cThis prepares for riscv to use the same functions to handle the p&#293;ysicalkernel move when KASLR is enabled.Signed-off-by: Alexandre Ghiti &lt;alexghiti@rivosinc.com&gt;Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Tested-by: Conor Dooley &lt;conor.dooley@microchip.com&gt;Tested-by: Song Shuai &lt;songshuaishuai@tinylab.org&gt;Reviewed-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Tested-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Link: https://lore.kernel.org/r/20230722123850.634544-4-alexghiti@rivosinc.comSigned-off-by: Palmer Dabbelt &lt;palmer@rivosinc.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Sat, 22 Jul 2023 12:38:48 +0000</pubDate>
        <dc:creator>Alexandre Ghiti &lt;alexghiti@rivosinc.com&gt;</dc:creator>
    </item>
<item>
        <title>cb1c9e02 - x86/efistub: Perform 4/5 level paging switch from the stub</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#cb1c9e02</link>
        <description>x86/efistub: Perform 4/5 level paging switch from the stubIn preparation for updating the EFI stub boot flow to avoid the baremetal decompressor code altogether, implement the support code forswitching between 4 and 5 levels of paging before jumping to the kernelproper.Reuse the newly refactored trampoline that the bare metal decompressoruses, but relies on EFI APIs to allocate 32-bit addressable memory andremap it with the appropriate permissions. Given that the bare metaldecompressor will no longer call into the trampoline if the number ofpaging levels is already set correctly, it is no longer needed to removeNX restrictions from the memory range where this trampoline may end up.Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;Acked-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;Link: https://lore.kernel.org/r/20230807162720.545787-17-ardb@kernel.org

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Mon, 07 Aug 2023 16:27:13 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f6e6e95c - efi/riscv: libstub: Fix comment about absolute relocation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#f6e6e95c</link>
        <description>efi/riscv: libstub: Fix comment about absolute relocationWe don&apos;t want absolute symbols references in the stub, so fix the doublenegation in the comment.Signed-off-by: Xiao Wang &lt;xiao.w.wang@intel.com&gt;Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Thu, 03 Aug 2023 05:56:11 +0000</pubDate>
        <dc:creator>Xiao Wang &lt;xiao.w.wang@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>745e3ed8 - efi/libstub: Implement support for unaccepted memory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#745e3ed8</link>
        <description>efi/libstub: Implement support for unaccepted memoryUEFI Specification version 2.9 introduces the concept of memoryacceptance: Some Virtual Machine platforms, such as Intel TDX or AMDSEV-SNP, requiring memory to be accepted before it can be used by theguest. Accepting happens via a protocol specific for the VirtualMachine platform.Accepting memory is costly and it makes VMM allocate memory for theaccepted guest physical address range. It&apos;s better to postpone memoryacceptance until memory is needed. It lowers boot time and reducesmemory overhead.The kernel needs to know what memory has been accepted. Firmwarecommunicates this information via memory map: a new memory type --EFI_UNACCEPTED_MEMORY -- indicates such memory.Range-based tracking works fine for firmware, but it gets bulky forthe kernel: e820 (or whatever the arch uses) has to be modified on everypage acceptance. It leads to table fragmentation and there&apos;s a limitednumber of entries in the e820 table.Another option is to mark such memory as usable in e820 and track if therange has been accepted in a bitmap. One bit in the bitmap represents anaturally aligned power-2-sized region of address space -- unit.For x86, unit size is 2MiB: 4k of the bitmap is enough to track 64GiB orphysical address space.In the worst-case scenario -- a huge hole in the middle of theaddress space -- It needs 256MiB to handle 4PiB of the addressspace.Any unaccepted memory that is not aligned to unit_size gets acceptedupfront.The bitmap is allocated and constructed in the EFI stub and passed downto the kernel via EFI configuration table. allocate_e820() allocates thebitmap if unaccepted memory is present, according to the size ofunaccepted region.Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;Signed-off-by: Borislav Petkov (AMD) &lt;bp@alien8.de&gt;Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Link: https://lore.kernel.org/r/20230606142637.5171-4-kirill.shutemov@linux.intel.com

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 06 Jun 2023 14:26:31 +0000</pubDate>
        <dc:creator>Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>8358098b - arm64: efi: Enable BTI codegen and add PE/COFF annotation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#8358098b</link>
        <description>arm64: efi: Enable BTI codegen and add PE/COFF annotationUEFI heavily relies on so-called protocols, which are essentiallytables populated with pointers to executable code, and these are invokedindirectly using BR or BLR instructions.This makes the EFI execution context vulnerable to attacks on forwardedge control flow, and so it would help if we could enable hardwareenforcement (BTI) on CPUs that implement it.So let&apos;s no longer disable BTI codegen for the EFI stub, and set thenewly introduced PE/COFF header flag when the kernel is built with BTIlanding pads.Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Reviewed-by: Mark Brown &lt;broonie@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Tue, 18 Apr 2023 13:49:48 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>61786170 - efi: arm64: enter with MMU and caches enabled</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/efi/libstub/Makefile#61786170</link>
        <description>efi: arm64: enter with MMU and caches enabledInstead of cleaning the entire loaded kernel image to the PoC anddisabling the MMU and caches before branching to the kernel&apos;s bare metalentry point, we can leave the MMU and caches enabled, and rely on EFI&apos;scacheable 1:1 mapping of all of system RAM (which is mandated by thespec) to populate the initial page tables.This removes the need for managing coherency in software, which istedious and error prone.Note that we still need to clean the executable region of the image tothe PoU if this is required for I/D coherency, but only if we actuallydecided to move the image in memory, as otherwise, this will have beentaken care of by the loader.This change affects both the builtin EFI stub as well as the zbootdecompressor, which now carries the entire EFI stub along with thedecompression code and the compressed image.Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Link: https://lore.kernel.org/r/20230111102236.1430401-7-ardb@kernel.orgSigned-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/efi/libstub/Makefile</description>
        <pubDate>Wed, 11 Jan 2023 10:22:36 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
