<?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>6067891b - s390/boot: Add exception table support</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#6067891b</link>
        <description>s390/boot: Add exception table supportThe early boot code contains various open-coded inline assemblies withexception handling. In order to handle possible exceptions each of themchanges the program check new psw, and restores it.In order to simplify the various inline assemblies add simple exceptiontable support: the program check handler is called with a fully populatedpt_regs on the stack and may change the psw and register members. When theprogram check handler returns the psw and registers from pt_regs will beused to continue execution.The program check handler searches the exception table for an entry whichmatches the address of the program check. If such an entry is found the pswaddress within pt_regs on the stack is replaced with a fixup address, andexecution continues at the new address.If no entry is found the psw is changed to a disabled wait psw andexecution stops.Before entering the C part of the program check handler the address of theprogram check new psw is replaced to a minimalistic handler.This is supposed to help against program check loops. If an exceptionhappens while in program check processing the register contents of theoriginal exception are restored and a disabled wait psw is loaded.Acked-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Mon, 24 Feb 2025 14:59:05 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>5c9a2742 - s390/boot: Move boot_printk() code to own file</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#5c9a2742</link>
        <description>s390/boot: Move boot_printk() code to own fileKeep the printk code separate from the program check code and moveboot_printk() and helper functions to own printk.c file.Reviewed-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 04 Sep 2024 09:39:30 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>fccb175b - s390/boot: Compile all files with the same march flag</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#fccb175b</link>
        <description>s390/boot: Compile all files with the same march flagOnly a couple of files of the decompressor are compiled with theminimum architecture level. This is problematic for potential functioncalls between compile units, especially if a target function is withina compile until compiled for a higher architecture level, since thatmay lead to an unexpected operation exception.Therefore compile all files of the decompressor for the same (minimum)architecture level.Reviewed-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 04 Sep 2024 09:39:27 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>db545f53 - s390/boot: Increase minimum architecture to z10</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#db545f53</link>
        <description>s390/boot: Increase minimum architecture to z10The decompressor code is partially compiled with march=z900 so it ispossible to print an error message in case a kernel is booted on amachine which misses facilities to execute the kernel.Given that the decompressor code also includes header files from thecore kernel this causes problems for inline assemblies and other codewhere the minimum assumed architecture level is set to z10 in themeantime. If such code is also used in the decompressor (e.g. inlinefunctions) z900 support must be implemented again.In order to avoid this and to keep things simple just raise theminimum architecture level to z10 for the decompressor just like forthe kernel.Reviewed-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 04 Sep 2024 09:39:23 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>57216cc9 - s390/build: Avoid relocation information in final vmlinux</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#57216cc9</link>
        <description>s390/build: Avoid relocation information in final vmlinuxSince commit 778666df60f0 (&quot;s390: compile relocatable kernel without-fPIE&quot;) the kernel vmlinux ELF file is linked with --emit-relocs topreserve all relocations, so that all absolute relocations can beextracted using the &apos;relocs&apos; tool to adjust them during boot.Port and adapt Petr Pavlu&apos;s x86 commit 9d9173e9ceb6 (&quot;x86/build: Avoidrelocation information in final vmlinux&quot;) to s390 to strip allrelocations from the final vmlinux ELF file to optimize its size.Following is his original commit message with minor adaptions for s390:The Linux build process on s390 roughly consists of compiling all inputfiles, statically linking them into a vmlinux ELF file, and then takingand turning this file into an actual bzImage bootable file.vmlinux has in this process two main purposes:1) It is an intermediate build target on the way to produce the final   bootable image.2) It is a file that is expected to be used by debuggers and standard   ELF tooling to work with the built kernel.For the second purpose, a vmlinux file is typically collected by variouspackage build recipes, such as distribution spec files, including thekernel&apos;s own tar-pkg target.When building the kernel vmlinux contains also relocation informationproduced by using the --emit-relocs linker option. This is utilized bysubsequent build steps to create relocs.S and produce a relocatableimage. However, the information is not needed by debuggers and otherstandard ELF tooling.The issue is then that the collected vmlinux file and hence distributionpackages end up unnecessarily large because of this extra data. Thefollowing is a size comparison of vmlinux v6.10 with and without therelocation information:  | Configuration      | With relocs | Stripped relocs |  | defconfig          |      696 MB |          320 MB |  | -CONFIG_DEBUG_INFO |       48 MB |           32 MB |Optimize a resulting vmlinux by adding a postlink step that splits therelocation information into relocs.S and then strips it from the vmlinuxbinary.Reviewed-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Signed-off-by: Jens Remus &lt;jremus@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Thu, 22 Aug 2024 15:30:21 +0000</pubDate>
        <dc:creator>Jens Remus &lt;jremus@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>6dc2e98d - s390: Remove protvirt and kvm config guards for uv code</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#6dc2e98d</link>
        <description>s390: Remove protvirt and kvm config guards for uv codeRemoving the CONFIG_PROTECTED_VIRTUALIZATION_GUEST ifdefs and configoption as well as CONFIG_KVM ifdefs in uv files.Having this configurable has been more of a pain than a help.It&apos;s time to remove the ifdefs and the config option.Signed-off-by: Janosch Frank &lt;frankja@linux.ibm.com&gt;Acked-by: Christian Borntraeger &lt;borntraeger@linux.ibm.com&gt;Acked-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Thu, 04 Jul 2024 11:02:46 +0000</pubDate>
        <dc:creator>Janosch Frank &lt;frankja@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>7f9d8599 - s390/alternatives: Allow early alternative patching in decompressor</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#7f9d8599</link>
        <description>s390/alternatives: Allow early alternative patching in decompressorAdd the required code to patch alternatives early in the decompressor.This is required for the upcoming lowcore relocation changes, wherealternatives for facility 193 need to get patched before lowcorealternatives.Reviewed-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Co-developed-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Sven Schnelle &lt;svens@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Tue, 16 Jul 2024 11:50:54 +0000</pubDate>
        <dc:creator>Sven Schnelle &lt;svens@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>008dead4 - s390/boot: add the KMSAN runtime stub</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#008dead4</link>
        <description>s390/boot: add the KMSAN runtime stubIt should be possible to have inline functions in the s390 header files,which call kmsan_unpoison_memory().  The problem is that these headerfiles might be included by the decompressor, which does not contain KMSANruntime, causing linker errors.Not compiling these calls if __SANITIZE_MEMORY__ is not defined - eitherby changing kmsan-checks.h or at the call sites - may cause unintendedside effects, since calling these functions from an uninstrumented codethat is linked into the kernel is valid use case.One might want to explicitly distinguish between the kernel and thedecompressor.  Checking for a decompressor-specific #define is quiteheavy-handed, and will have to be done at all call sites.A more generic approach is to provide a dummy kmsan_unpoison_memory()definition.  This produces some runtime overhead, but only when buildingwith CONFIG_KMSAN.  The benefit is that it does not disturb the existingKMSAN build logic and call sites don&apos;t need to be changed.Link: https://lkml.kernel.org/r/20240621113706.315500-25-iii@linux.ibm.comSigned-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;Reviewed-by: Alexander Potapenko &lt;glider@google.com&gt;Cc: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Cc: Christian Borntraeger &lt;borntraeger@linux.ibm.com&gt;Cc: Christoph Lameter &lt;cl@linux.com&gt;Cc: David Rientjes &lt;rientjes@google.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Heiko Carstens &lt;hca@linux.ibm.com&gt;Cc: Hyeonggon Yoo &lt;42.hyeyoo@gmail.com&gt;Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.com&gt;Cc: &lt;kasan-dev@googlegroups.com&gt;Cc: Marco Elver &lt;elver@google.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Cc: Pekka Enberg &lt;penberg@kernel.org&gt;Cc: Roman Gushchin &lt;roman.gushchin@linux.dev&gt;Cc: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;Cc: Sven Schnelle &lt;svens@linux.ibm.com&gt;Cc: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Fri, 21 Jun 2024 11:35:08 +0000</pubDate>
        <dc:creator>Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>c5944a7e - s390/boot: turn off KMSAN</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#c5944a7e</link>
        <description>s390/boot: turn off KMSANAll other sanitizers are disabled for boot as well.  While at it, add acomment explaining why we need this.Link: https://lkml.kernel.org/r/20240621113706.315500-23-iii@linux.ibm.comSigned-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;Reviewed-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Reviewed-by: Alexander Potapenko &lt;glider@google.com&gt;Cc: Christian Borntraeger &lt;borntraeger@linux.ibm.com&gt;Cc: Christoph Lameter &lt;cl@linux.com&gt;Cc: David Rientjes &lt;rientjes@google.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Heiko Carstens &lt;hca@linux.ibm.com&gt;Cc: Hyeonggon Yoo &lt;42.hyeyoo@gmail.com&gt;Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.com&gt;Cc: &lt;kasan-dev@googlegroups.com&gt;Cc: Marco Elver &lt;elver@google.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Cc: Pekka Enberg &lt;penberg@kernel.org&gt;Cc: Roman Gushchin &lt;roman.gushchin@linux.dev&gt;Cc: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;Cc: Sven Schnelle &lt;svens@linux.ibm.com&gt;Cc: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Fri, 21 Jun 2024 11:35:06 +0000</pubDate>
        <dc:creator>Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>00cda11d - s390: Compile kernel with -fPIC and link with -no-pie</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#00cda11d</link>
        <description>s390: Compile kernel with -fPIC and link with -no-pieWhen the kernel is built with CONFIG_PIE_BUILD option enabled ituses dynamic symbols, for which the linker does not allow morethan 64K number of entries. This can break features like kpatch.Hence, whenever possible the kernel is built with CONFIG_PIE_BUILDoption disabled. For that support of unaligned symbols generated bylinker scripts in the compiler is necessary.However, older compilers might lack such support. In that case thebuild process resorts to CONFIG_PIE_BUILD option-enabled build.Compile object files with -fPIC option and then link the kernelbinary with -no-pie linker option.As result, the dynamic symbols are not generated and not only kpatchfeature succeeds, but also the whole CONFIG_PIE_BUILD option-enabledcode could be dropped.[ agordeev: Reworded the commit message ]Suggested-by: Ulrich Weigand &lt;ulrich.weigand@de.ibm.com&gt;Signed-off-by: Sumanth Korikkar &lt;sumanthk@linux.ibm.com&gt;Reviewed-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Thu, 25 Apr 2024 14:59:31 +0000</pubDate>
        <dc:creator>Sumanth Korikkar &lt;sumanthk@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>4f00d4ef - s390: adjust indentation of RELOCS command build step out</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#4f00d4ef</link>
        <description>s390: adjust indentation of RELOCS command build step outCommon pattern in non-verbose build output for quiet commands is that theshorthand of a command including whitespace contains at least eightcharacters. Adjust this for the RELOCS command, which comes only with sevencharacters.Before:  SORTTAB vmlinux  CC      arch/s390/boot/version.o  RELOCS arch/s390/boot/relocs.S  OBJCOPY arch/s390/boot/info.binAfter:  SORTTAB vmlinux  CC      arch/s390/boot/version.o  RELOCS  arch/s390/boot/relocs.S  OBJCOPY arch/s390/boot/info.binSigned-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Tue, 26 Mar 2024 10:52:23 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>7f115ff4 - s390/boot: workaround current &apos;llvm-objdump -t -j ...&apos; behavior</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#7f115ff4</link>
        <description>s390/boot: workaround current &apos;llvm-objdump -t -j ...&apos; behaviorWhen building with OBJDUMP=llvm-objdump, there are a series of warningsfrom the section comparisons that arch/s390/boot/Makefile performsbetween vmlinux and arch/s390/boot/vmlinux:  llvm-objdump: warning: section &apos;.boot.preserved.data&apos; mentioned in a -j/--section option, but not found in any input file  llvm-objdump: warning: section &apos;.boot.data&apos; mentioned in a -j/--section option, but not found in any input file  llvm-objdump: warning: section &apos;.boot.preserved.data&apos; mentioned in a -j/--section option, but not found in any input file  llvm-objdump: warning: section &apos;.boot.data&apos; mentioned in a -j/--section option, but not found in any input fileThe warning is a little misleading, as these sections do exist in theinput files. It is really pointing out that llvm-objdump does not matchGNU objdump&apos;s behavior of respecting &apos;-j&apos; / &apos;--section&apos; in combinationwith &apos;-t&apos; / &apos;--syms&apos;:  $ s390x-linux-gnu-objdump -t -j .boot.data vmlinux.full  vmlinux.full:     file format elf64-s390  SYMBOL TABLE:  0000000001951000 l     O .boot.data     0000000000003000 sclp_info_sccb  00000000019550e0 l     O .boot.data     0000000000000001 sclp_info_sccb_valid  00000000019550e2 g     O .boot.data     0000000000001000 early_command_line  ...  $ llvm-objdump -t -j .boot.data vmlinux.full  vmlinux.full:   file format elf64-s390  SYMBOL TABLE:  0000000000100040 l     O .text  0000000000000010 dw_psw  0000000000000000 l    df *ABS*  0000000000000000 main.c  00000000001001b0 l     F .text  00000000000000c6 trace_event_raw_event_initcall_level  0000000000100280 l     F .text  0000000000000100 perf_trace_initcall_level  ...It may be possible to change llvm-objdump&apos;s behavior to match GNUobjdump&apos;s behavior but the difficulty of that task has not yet beenexplored. The combination of &apos;$(OBJDUMP) -t -j&apos; is not common in thekernel tree on a whole, so workaround this tool difference by greppingfor the sections in the full symbol table output in a similar manner tothe sed invocation. This results in no visible change for GNU objdumpusers while fixing the warnings for OBJDUMP=llvm-objdump, furtherenabling use of LLVM=1 for ARCH=s390 with versions of LLVM that havesupport for s390 in ld.lld and llvm-objcopy.Reported-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Closes: https://lore.kernel.org/20240219113248.16287-C-hca@linux.ibm.com/Link: https://github.com/ClangBuiltLinux/linux/issues/859Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://lore.kernel.org/r/20240220-s390-work-around-llvm-objdump-t-j-v1-1-47bb0366a831@kernel.orgSigned-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Tue, 20 Feb 2024 20:44:48 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>778666df - s390: compile relocatable kernel without -fPIE</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#778666df</link>
        <description>s390: compile relocatable kernel without -fPIEOn s390, currently kernel uses the &apos;-fPIE&apos; compiler flag for compilingvmlinux.  This has a few problems:  - It uses dynamic symbols (.dynsym), for which the linker refuses to    allow more than 64k sections.  This can break features which use    &apos;-ffunction-sections&apos; and &apos;-fdata-sections&apos;, including kpatch-build    [1] and Function Granular KASLR.  - It unnecessarily uses GOT relocations, adding an extra layer of    indirection for many memory accesses.Instead of using &apos;-fPIE&apos;, resolve all the relocations at link time andthen manually adjust any absolute relocations (R_390_64) during boot.This is done by first telling the linker to preserve all relocationsduring the vmlinux link.  (Note this is harmless: they are laterstripped in the vmlinux.bin link.)Then use the &apos;relocs&apos; tool to find all absolute relocations (R_390_64)which apply to allocatable sections.  The offsets of those relocationsare saved in a special section which is then used to adjust therelocations during boot.(Note: For some reason, Clang occasionally creates a GOT reference, evenwithout &apos;-fPIE&apos;.  So Clang-compiled kernels have a GOT, which needs tobe adjusted.)On my mostly-defconfig kernel, this reduces kernel text size by ~1.3%.[1] https://github.com/dynup/kpatch/issues/1284[2] https://gcc.gnu.org/pipermail/gcc-patches/2023-June/622872.html[3] https://gcc.gnu.org/pipermail/gcc-patches/2023-August/625986.htmlCompiler consideration:Gcc recently implemented an optimization [2] for loading symbols withoutexplicit alignment, aligning with the IBM Z ELF ABI. This ABI mandatessymbols to reside on a 2-byte boundary, enabling the use of the larlinstruction. However, kernel linker scripts may still generate unalignedsymbols. To address this, a new -munaligned-symbols option has beenintroduced [3] in recent gcc versions. This option has to be used withfuture gcc versions.Older Clang lacks support for handling unaligned symbols generatedby kernel linker scripts when the kernel is built without -fPIE. However,future versions of Clang will include support for the -munaligned-symbolsoption. When the support is unavailable, compile the kernel with -fPIEto maintain the existing behavior.In addition to it:move vmlinux.relocs to safe relocationWhen the kernel is built with CONFIG_KERNEL_UNCOMPRESSED, the entireuncompressed vmlinux.bin is positioned in the bzImage decompressorimage at the default kernel LMA of 0x100000, enabling it to be executedin-place. However, the size of .vmlinux.relocs could be large enough tocause an overlap with the uncompressed kernel at the address 0x100000.To address this issue, .vmlinux.relocs is positioned after the.rodata.compressed in the bzImage. Nevertheless, in this configuration,vmlinux.relocs will overlap with the .bss section of vmlinux.bin. Toovercome that, move vmlinux.relocs to a safe location before clearing.bss and handling relocs.Compile warning fix from Sumanth Korikkar:When kernel is built with CONFIG_LD_ORPHAN_WARN and -fno-PIE, there areseveral warnings:ld: warning: orphan section `.rela.iplt&apos; from`arch/s390/kernel/head64.o&apos; being placed in section `.rela.dyn&apos;ld: warning: orphan section `.rela.head.text&apos; from`arch/s390/kernel/head64.o&apos; being placed in section `.rela.dyn&apos;ld: warning: orphan section `.rela.init.text&apos; from`arch/s390/kernel/head64.o&apos; being placed in section `.rela.dyn&apos;ld: warning: orphan section `.rela.rodata.cst8&apos; from`arch/s390/kernel/head64.o&apos; being placed in section `.rela.dyn&apos;Orphan sections are sections that exist in an object file but don&apos;t havea corresponding output section in the final executable. ld raises awarning when it identifies such sections.Eliminate the warning by placing all .rela orphan sections in .rela.dynand raise an error when size of .rela.dyn is greater than zero. i.e.Dont just neglect orphan sections.This is similar to adjustment performed in x86, where kernel is builtwith -fno-PIE.commit 5354e84598f2 (&quot;x86/build: Add asserts for unwanted sections&quot;)[sumanthk@linux.ibm.com: rebased Josh Poimboeuf patches and move vmlinux.relocs to safe location][hca@linux.ibm.com: merged compile warning fix from Sumanth]Tested-by: Sumanth Korikkar &lt;sumanthk@linux.ibm.com&gt;Acked-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Signed-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Signed-off-by: Sumanth Korikkar &lt;sumanthk@linux.ibm.com&gt;Link: https://lore.kernel.org/r/20240219132734.22881-4-sumanthk@linux.ibm.comLink: https://lore.kernel.org/r/20240219132734.22881-5-sumanthk@linux.ibm.comSigned-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Mon, 19 Feb 2024 13:27:33 +0000</pubDate>
        <dc:creator>Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9ea30fd1 - s390/boot: add &apos;alloc&apos; to info.bin .vmlinux.info section flags</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#9ea30fd1</link>
        <description>s390/boot: add &apos;alloc&apos; to info.bin .vmlinux.info section flagsWhen attempting to boot a kernel compiled with OBJCOPY=llvm-objcopy,there is a crash right at boot:  Out of memory allocating 6d7800 bytes 8 aligned in range 0:20000000  Reserved memory ranges:  0000000000000000 a394c3c30d90cdaf DECOMPRESSOR  Usable online memory ranges (info source: sclp read info [3]):  0000000000000000 0000000020000000  Usable online memory total: 20000000 Reserved: a394c3c30d90cdaf Free: 0  Call Trace:  (sp:0000000000033e90 [&lt;0000000000012fbc&gt;] physmem_alloc_top_down+0x5c/0x104)   sp:0000000000033f00 [&lt;0000000000011d56&gt;] startup_kernel+0x3a6/0x77c   sp:0000000000033f60 [&lt;00000000000100f4&gt;] startup_normal+0xd4/0xd4GNU objcopy does not have any issues. Looking at differences between theobject files in each build reveals info.bin does not get properlypopulated with llvm-objcopy, which results in an empty .vmlinux.infosection.  $ file {gnu,llvm}-objcopy/arch/s390/boot/info.bin  gnu-objcopy/arch/s390/boot/info.bin:  data  llvm-objcopy/arch/s390/boot/info.bin: empty  $ llvm-readelf --section-headers {gnu,llvm}-objcopy/arch/s390/boot/vmlinux | rg &apos;File:|\.vmlinux\.info|\.decompressor\.syms&apos;  File: gnu-objcopy/arch/s390/boot/vmlinux    [12] .vmlinux.info     PROGBITS        0000000000034000 035000 000078 00  WA  0   0  1    [13] .decompressor.syms PROGBITS       0000000000034078 035078 000b00 00  WA  0   0  1  File: llvm-objcopy/arch/s390/boot/vmlinux    [12] .vmlinux.info     PROGBITS        0000000000034000 035000 000000 00  WA  0   0  1    [13] .decompressor.syms PROGBITS       0000000000034000 035000 000b00 00  WA  0   0  1Ulrich points out that llvm-objcopy only copies sections marked as allocwith a binary output target, whereas the .vmlinux.info section is onlymarked as load. Add &apos;alloc&apos; in addition to &apos;load&apos;, so that both objcopyimplementations work properly:  $ file {gnu,llvm}-objcopy/arch/s390/boot/info.bin  gnu-objcopy/arch/s390/boot/info.bin:  data  llvm-objcopy/arch/s390/boot/info.bin: data  $ llvm-readelf --section-headers {gnu,llvm}-objcopy/arch/s390/boot/vmlinux | rg &apos;File:|\.vmlinux\.info|\.decompressor\.syms&apos;  File: gnu-objcopy/arch/s390/boot/vmlinux    [12] .vmlinux.info     PROGBITS        0000000000034000 035000 000078 00  WA  0   0  1    [13] .decompressor.syms PROGBITS       0000000000034078 035078 000b00 00  WA  0   0  1  File: llvm-objcopy/arch/s390/boot/vmlinux    [12] .vmlinux.info     PROGBITS        0000000000034000 035000 000078 00  WA  0   0  1    [13] .decompressor.syms PROGBITS       0000000000034078 035078 000b00 00  WA  0   0  1Closes: https://github.com/ClangBuiltLinux/linux/issues/1996Link: https://github.com/llvm/llvm-project/commit/3c02cb7492fc78fb678264cebf57ff88e478e14fSuggested-by: Ulrich Weigand &lt;ulrich.weigand@de.ibm.com&gt;Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://lore.kernel.org/r/20240216-s390-fix-boot-with-llvm-objcopy-v1-1-0ac623daf42b@kernel.orgSigned-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Fri, 16 Feb 2024 19:55:53 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2151fd9a - s390/boot: add support for CONFIG_LD_ORPHAN_WARN</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#2151fd9a</link>
        <description>s390/boot: add support for CONFIG_LD_ORPHAN_WARNarch/s390/boot/vmlinux uses a different linker script and build rulesthan the main vmlinux, so the &apos;--orphan-handling&apos; flag is not applied toit. Add support for &apos;--orphan-handling&apos; so that all sections areproperly described in the linker script, which helps eliminate bugsbetween linker implementations having different orphan sectionheuristics.Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Tested-by: Justin Stitt &lt;justinstitt@google.com&gt;Link: https://lore.kernel.org/r/20240207-s390-lld-and-orphan-warn-v1-1-8a665b3346ab@kernel.orgSigned-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Thu, 08 Feb 2024 00:14:53 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8c37cb7d - s390/boot: rename mem_detect to physmem_info</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#8c37cb7d</link>
        <description>s390/boot: rename mem_detect to physmem_infoIn preparation to extending mem_detect with additional information likereserved ranges rename it to more generic physmem_info. This new namingalso help to avoid confusion by using more exact terms like &quot;physmemonline ranges&quot;, etc.Acked-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Reviewed-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 08 Feb 2023 17:11:25 +0000</pubDate>
        <dc:creator>Vasily Gorbik &lt;gor@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>9b5c37bb - s390/decompressor: add link map saving</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#9b5c37bb</link>
        <description>s390/decompressor: add link map savingProduce arch/s390/boot/vmlinux.map link map for the decompressor, whenCONFIG_VMLINUX_MAP option is enabled.Link map is quite useful during making kernel changes related to howthe decompressor is composed and debugging linker scripts.Acked-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 16 Sep 2020 11:00:18 +0000</pubDate>
        <dc:creator>Vasily Gorbik &lt;gor@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>bb1520d5 - s390/mm: start kernel with DAT enabled</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#bb1520d5</link>
        <description>s390/mm: start kernel with DAT enabledThe setup of the kernel virtual address space is spreadthroughout the sources, boot stages and config optionslike this:1. The available physical memory regions are queried   and stored as mem_detect information for later use   in the decompressor.2. Based on the physical memory availability the virtual   memory layout is established in the decompressor;3. If CONFIG_KASAN is disabled the kernel paging setup   code populates kernel pgtables and turns DAT mode on.   It uses the information stored at step [1].4. If CONFIG_KASAN is enabled the kernel early boot   kasan setup populates kernel pgtables and turns DAT   mode on. It uses the information stored at step [1].   The kasan setup creates early_pg_dir directory and   directly overwrites swapper_pg_dir entries to make   shadow memory pages available.Move the kernel virtual memory setup to the decompressorand start the kernel with DAT turned on right from thevery first istruction. That completely eliminates theboot phase when the kernel runs in DAT-off mode, simpliesthe overall design and consolidates pgtables setup.The identity mapping is created in the decompressor, whilekasan shadow mappings are still created by the early bootkernel code.Share with decompressor the existing kasan memory allocator.It decreases the size of a newly requested memory block frompgalloc_pos and ensures that kernel image is not overwritten.pgalloc_low and pgalloc_pos pointers are made preserved bootvariables for that.Use the bootdata infrastructure to setup swapper_pg_dirand invalid_pg_dir directories used by the kernel later.The interim early_pg_dir directory established by thekasan initialization code gets eliminated as result.As the kernel runs in DAT-on mode only the PSW_KERNEL_BITSdefine gets PSW_MASK_DAT bit by default. Additionally, thesetup_lowcore_dat_off() and setup_lowcore_dat_on() routinesget merged, since there is no DAT-off mode stage anymore.The memory mappings are created with RW+X protection thatallows the early boot code setting up all necessary dataand services for the kernel being booted. Just before thepaging is enabled the memory protection is changed toRO+X for text, RO+NX for read-only data and RW+NX forkernel data and the identity mapping.Reviewed-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Signed-off-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Tue, 13 Dec 2022 10:35:11 +0000</pubDate>
        <dc:creator>Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>80ddf5ce - s390: always build relocatable kernel</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#80ddf5ce</link>
        <description>s390: always build relocatable kernelNathan Chancellor reported several link errors on s390 withCONFIG_RELOCATABLE disabled, after binutils commit 906f69cf65da (&quot;IBMzSystems: Issue error for *DBL relocs on misaligned symbols&quot;). The binutilscommit reveals potential miscompiles that might have happened alreadybefore with linker script defined symbols at odd addresses.A similar bug was recently fixed in the kernel with commit c9305b6c1f52(&quot;s390: fix nospec table alignments&quot;).See https://github.com/ClangBuiltLinux/linux/issues/1747 for an analysisfrom Ulich Weigand.Therefore always build a relocatable kernel to avoid this problem. There ishardly any use-case for non-relocatable kernels, so this shouldn&apos;t becontroversial.Link: https://github.com/ClangBuiltLinux/linux/issues/1747Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Reported-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://lore.kernel.org/r/20221030182202.2062705-1-hca@linux.ibm.comSigned-off-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Sun, 30 Oct 2022 18:22:02 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>834979c2 - s390/boot: convert initial lowcore to C</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/s390/boot/Makefile#834979c2</link>
        <description>s390/boot: convert initial lowcore to CConvert initial lowcore to C and use proper defines and structures toinitialize it. This should make the z/VM ipl procedure a bit less magic.Acked-by: Peter Oberparleiter &lt;oberpar@linux.ibm.com&gt;Reviewed-by: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Signed-off-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;

            List of files:
            /linux-6.15/arch/s390/boot/Makefile</description>
        <pubDate>Wed, 27 Apr 2022 02:14:34 +0000</pubDate>
        <dc:creator>Heiko Carstens &lt;hca@linux.ibm.com&gt;</dc:creator>
    </item>
</channel>
</rss>
