<?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 Kbuild</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>e2082e32 - rqspinlock: Add entry to Makefile, MAINTAINERS</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#e2082e32</link>
        <description>rqspinlock: Add entry to Makefile, MAINTAINERSEnsure that the rqspinlock code is only built when the BPF subsystem iscompiled in. Depending on queued spinlock support, we may or may not endup building the queued spinlock slowpath, and instead fallback to thetest-and-set implementation. Also add entries to MAINTAINERS file.Signed-off-by: Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;Link: https://lore.kernel.org/r/20250316040541.108729-18-memxor@gmail.comSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Sun, 16 Mar 2025 04:05:33 +0000</pubDate>
        <dc:creator>Kumar Kartikeya Dwivedi &lt;memxor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>5f60d5f6 - move asm/unaligned.h to linux/unaligned.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#5f60d5f6</link>
        <description>move asm/unaligned.h to linux/unaligned.hasm/unaligned.h is always an include of asm-generic/unaligned.h;might as well move that thing to linux/unaligned.h and includethat - there&apos;s nothing arch-specific in that header.auto-generated by the following:for i in `git grep -l -w asm/unaligned.h`; do	sed -i -e &quot;s/asm\/unaligned.h/linux\/unaligned.h/&quot; $idonefor i in `git grep -l -w asm-generic/unaligned.h`; do	sed -i -e &quot;s/asm-generic\/unaligned.h/linux\/unaligned.h/&quot; $idonegit mv include/asm-generic/unaligned.h include/linux/unaligned.hgit mv tools/include/asm-generic/unaligned.h tools/include/linux/unaligned.hsed -i -e &quot;/unaligned.h/d&quot; include/asm-generic/Kbuildsed -i -e &quot;s/__ASM_GENERIC/__LINUX/&quot; include/linux/unaligned.h tools/include/linux/unaligned.h

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 01 Oct 2024 19:35:57 +0000</pubDate>
        <dc:creator>Al Viro &lt;viro@zeniv.linux.org.uk&gt;</dc:creator>
    </item>
<item>
        <title>b70f12e9 - kbuild: verify asm-generic header list</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#b70f12e9</link>
        <description>kbuild: verify asm-generic header listIn order to integrate the system call header generation with generatingthe asm-generic wrappers, restrict the generated headers to those thatactually exist in include/asm-generic/.The path is already known, so add these as a dependency.The asm-generic/bugs.h header was removed in commit 61235b24b9cb (&quot;init:Remove check_bugs() leftovers&quot;), which now causes a build failure, sodrop it from the list.Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Fri, 26 Apr 2024 06:44:51 +0000</pubDate>
        <dc:creator>Arnd Bergmann &lt;arnd@arndb.de&gt;</dc:creator>
    </item>
<item>
        <title>e7829855 - runtime constants: add default dummy infrastructure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#e7829855</link>
        <description>runtime constants: add default dummy infrastructureThis adds the initial dummy support for &apos;runtime constants&apos; for whenan architecture doesn&apos;t actually support an implementation of fixingup said runtime constants.This ends up being the fallback to just using the variables as regular__ro_after_init variables, and changes the dcache d_hash() function touse this model.Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 04 Jun 2024 19:30:02 +0000</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>2fd001cd - arch: Rename fbdev header and source files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#2fd001cd</link>
        <description>arch: Rename fbdev header and source filesThe per-architecture fbdev code has no dependencies on fbdev and canbe used for any video-related subsystem. Rename the files to &apos;video&apos;.Use video-sti.c on parisc as the source file depends on CONFIG_STI_CORE.On arc, arm, arm64, sh, and um the asm header file is an empty wrapperaround the file in asm-generic. Let Kbuild generate the file. The buildsystem does this automatically. Only um needs to generate video.hexplicitly, so that it overrides the host architecture&apos;s header. Thelatter would otherwise interfere with the build.Further update all includes statements, include guards, and Makefiles.Also update a few strings and comments to refer to video instead offbdev.v3:- arc, arm, arm64, sh: generate asm header via build system (Sam,Helge, Arnd)- um: rename fb.h to video.h- fix typo in commit message (Sam)Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;Cc: Vineet Gupta &lt;vgupta@kernel.org&gt;Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Huacai Chen &lt;chenhuacai@kernel.org&gt;Cc: WANG Xuerui &lt;kernel@xen0n.name&gt;Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Cc: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;Cc: &quot;James E.J. Bottomley&quot; &lt;James.Bottomley@HansenPartnership.com&gt;Cc: Helge Deller &lt;deller@gmx.de&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Nicholas Piggin &lt;npiggin@gmail.com&gt;Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;Cc: Rich Felker &lt;dalias@libc.org&gt;Cc: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;Cc: &quot;David S. Miller&quot; &lt;davem@davemloft.net&gt;Cc: Andreas Larsson &lt;andreas@gaisler.com&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;Cc: x86@kernel.orgCc: &quot;H. Peter Anvin&quot; &lt;hpa@zytor.com&gt;Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Fri, 29 Mar 2024 20:32:12 +0000</pubDate>
        <dc:creator>Thomas Zimmermann &lt;tzimmermann@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>43821596 - cfi: Flip headers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#43821596</link>
        <description>cfi: Flip headersNormal include order is that linux/foo.h should include asm/foo.h, CFI has itthe wrong way around.Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;Reviewed-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Link: https://lore.kernel.org/r/20231215092707.231038174@infradead.orgSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Fri, 15 Dec 2023 09:12:17 +0000</pubDate>
        <dc:creator>Peter Zijlstra &lt;peterz@infradead.org&gt;</dc:creator>
    </item>
<item>
        <title>f8206048 - asm-generic: Fix spelling of architecture</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#f8206048</link>
        <description>asm-generic: Fix spelling of architectureFix spelling of &quot;architecture&quot; in the Kbuild file.Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Mon, 24 Jul 2023 13:43:01 +0000</pubDate>
        <dc:creator>Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>a870544c - kernel: remove platform_has() infrastructure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#a870544c</link>
        <description>kernel: remove platform_has() infrastructureThe only use case of the platform_has() infrastructure has beenremoved again, so remove the whole feature.Signed-off-by: Juergen Gross &lt;jgross@suse.com&gt;Tested-by: Oleksandr Tyshchenko &lt;oleksandr_tyshchenko@epam.com&gt; # Arm64 guest using XenReviewed-by: Stefano Stabellini &lt;sstabellini@kernel.org&gt;Link: https://lore.kernel.org/r/20220622063838.8854-3-jgross@suse.comSigned-off-by: Juergen Gross &lt;jgross@suse.com&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Wed, 22 Jun 2022 06:38:37 +0000</pubDate>
        <dc:creator>Juergen Gross &lt;jgross@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>9592eef7 - random: remove CONFIG_ARCH_RANDOM</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#9592eef7</link>
        <description>random: remove CONFIG_ARCH_RANDOMWhen RDRAND was introduced, there was much discussion on whether itshould be trusted and how the kernel should handle that. Initially, twomechanisms cropped up, CONFIG_ARCH_RANDOM, a compile time switch, and&quot;nordrand&quot;, a boot-time switch.Later the thinking evolved. With a properly designed RNG, using RDRANDvalues alone won&apos;t harm anything, even if the outputs are malicious.Rather, the issue is whether those values are being *trusted* to be goodor not. And so a new set of options were introduced as the realones that people use -- CONFIG_RANDOM_TRUST_CPU and &quot;random.trust_cpu&quot;.With these options, RDRAND is used, but it&apos;s not always credited. So inthe worst case, it does nothing, and in the best case, maybe it helps.Along the way, CONFIG_ARCH_RANDOM&apos;s meaning got sort of pulled into thecenter and became something certain platforms force-select.The old options don&apos;t really help with much, and it&apos;s a bit odd to havespecial handling for these instructions when the kernel can deal finewith the existence or untrusted existence or broken existence ornon-existence of that CPU capability.Simplify the situation by removing CONFIG_ARCH_RANDOM and using theordinary asm-generic fallback pattern instead, keeping the two optionsthat are actually used. For now it leaves &quot;nordrand&quot; for now, as theremoval of that will take a different route.Acked-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;Acked-by: Borislav Petkov &lt;bp@suse.de&gt;Acked-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 05 Jul 2022 18:48:41 +0000</pubDate>
        <dc:creator>Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;</dc:creator>
    </item>
<item>
        <title>2130a790 - kernel: add platform_has() infrastructure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#2130a790</link>
        <description>kernel: add platform_has() infrastructureAdd a simple infrastructure for setting, resetting and queryingplatform feature flags.Flags can be either global or architecture specific.Signed-off-by: Juergen Gross &lt;jgross@suse.com&gt;Reviewed-by: Oleksandr Tyshchenko &lt;oleksandr_tyshchenko@epam.com&gt;Tested-by: Oleksandr Tyshchenko &lt;oleksandr_tyshchenko@epam.com&gt; # Arm64 onlyReviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;Acked-by: Borislav Petkov &lt;bp@suse.de&gt;Signed-off-by: Juergen Gross &lt;jgross@suse.com&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Thu, 02 Jun 2022 13:05:26 +0000</pubDate>
        <dc:creator>Juergen Gross &lt;jgross@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>731ecea3 - mm: Remove arch_remap() and mm-arch-hooks.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#731ecea3</link>
        <description>mm: Remove arch_remap() and mm-arch-hooks.hpowerpc was the last provider of arch_remap() and the lastuser of mm-arch-hooks.h.Since commit 526a9c4a7234 (&quot;powerpc/vdso: Provide vdso_remap()&quot;),arch_remap() hence mm-arch-hooks.h are not used anymore.Remove them.Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Fri, 18 Dec 2020 14:07:58 +0000</pubDate>
        <dc:creator>Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;</dc:creator>
    </item>
<item>
        <title>db1cc7ae - softirq: Move do_softirq_own_stack() to generic asm header</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#db1cc7ae</link>
        <description>softirq: Move do_softirq_own_stack() to generic asm headerTo avoid include recursion hell move the do_softirq_own_stack() relatedcontent into a generic asm header and include it from all places in arch/which need the prototype.This allows architectures to provide an inline implementation ofdo_softirq_own_stack() without introducing a lot of #ifdeffery all over theplace.Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Link: https://lore.kernel.org/r/20210210002513.289960691@linutronix.de

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 09 Feb 2021 23:40:53 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>87dbc209 - local64.h: make &lt;asm/local64.h&gt; mandatory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#87dbc209</link>
        <description>local64.h: make &lt;asm/local64.h&gt; mandatoryMake &lt;asm-generic/local64.h&gt; mandatory in include/asm-generic/Kbuild andremove all arch/*/include/asm/local64.h arch-specific files since theyonly #include &lt;asm-generic/local64.h&gt;.This fixes build errors on arch/c6x/ and arch/nios2/ forblock/blk-iocost.c.Build-tested on 21 of 25 arch-es.  (tools problems on the others)Yes, we could even rename &lt;asm-generic/local64.h&gt; to&lt;linux/local64.h&gt; and change all #includes to use&lt;linux/local64.h&gt; instead.Link: https://lkml.kernel.org/r/20201227024446.17018-1-rdunlap@infradead.orgSigned-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Suggested-by: Christoph Hellwig &lt;hch@infradead.org&gt;Reviewed-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Cc: Jens Axboe &lt;axboe@kernel.dk&gt;Cc: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;Cc: Mark Salter &lt;msalter@redhat.com&gt;Cc: Aurelien Jacquiot &lt;jacquiot.aurelien@gmail.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 29 Dec 2020 23:14:49 +0000</pubDate>
        <dc:creator>Randy Dunlap &lt;rdunlap@infradead.org&gt;</dc:creator>
    </item>
<item>
        <title>d7029e45 - highmem: Get rid of kmap_types.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#d7029e45</link>
        <description>highmem: Get rid of kmap_types.hThe header is not longer used and on alpha, ia64, openrisc, parisc and umit was completely unused anyway as these architectures have no highmemsupport.Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Christoph Hellwig &lt;hch@lst.de&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: https://lore.kernel.org/r/20201103095858.422094352@linutronix.de

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 03 Nov 2020 09:27:30 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>4f8b96cd - asm-generic: Provide kmap_size.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#4f8b96cd</link>
        <description>asm-generic: Provide kmap_size.hkmap_types.h is a misnomer because the old atomic MAP based array does notexist anymore and the whole indirection of architectures includingkmap_types.h is inconinstent and does not allow to provide guard pagedebugging for this misfeature.Add a common header file which defines the mapping stack size for allarchitectures. Will be used when converting architectures over to ageneric kmap_local/atomic implementation.The array size is chosen with the following constraints in mind:    - The deepest nest level in one context is 3 according to code      inspection.    - The worst case nesting for the upcoming reemptible version would be:      2 maps in task context and a fault inside      2 maps in the fault handler      3 maps in softirq      2 maps in interruptSo a total of 16 is sufficient and probably overestimated.Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Link: https://lore.kernel.org/r/20201103095857.078043987@linutronix.de

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 03 Nov 2020 09:27:17 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>5db5d930 - dma-mapping: remove &lt;asm/dma-contiguous.h&gt;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#5db5d930</link>
        <description>dma-mapping: remove &lt;asm/dma-contiguous.h&gt;Just provide a weak default definition of dma_contiguous_early_fixup andlet arm override it.Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Fri, 11 Sep 2020 09:04:43 +0000</pubDate>
        <dc:creator>Christoph Hellwig &lt;hch@lst.de&gt;</dc:creator>
    </item>
<item>
        <title>596b0474 - kbuild: preprocess module linker script</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#596b0474</link>
        <description>kbuild: preprocess module linker scriptThere was a request to preprocess the module linker script like wedo for the vmlinux one. (https://lkml.org/lkml/2020/8/21/512)The difference between vmlinux.lds and module.lds is that the latteris needed for external module builds, thus must be cleaned up by&apos;make mrproper&apos; instead of &apos;make clean&apos;. Also, it must be createdby &apos;make modules_prepare&apos;.You cannot put it in arch/$(SRCARCH)/kernel/, which is cleaned up by&apos;make clean&apos;. I moved arch/$(SRCARCH)/kernel/module.lds toarch/$(SRCARCH)/include/asm/module.lds.h, which is included fromscripts/module.lds.S.scripts/module.lds is fine because &apos;make clean&apos; keeps all thebuild artifacts under scripts/.You can add arch-specific sections in &lt;asm/module.lds.h&gt;.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Tested-by: Jessica Yu &lt;jeyu@kernel.org&gt;Acked-by: Will Deacon &lt;will@kernel.org&gt;Acked-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Acked-by: Palmer Dabbelt &lt;palmerdabbelt@google.com&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Acked-by: Jessica Yu &lt;jeyu@kernel.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 08 Sep 2020 04:27:08 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>e506ea45 - compiler.h: Split {READ,WRITE}_ONCE definitions out into rwonce.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#e506ea45</link>
        <description>compiler.h: Split {READ,WRITE}_ONCE definitions out into rwonce.hIn preparation for allowing architectures to define their ownimplementation of the READ_ONCE() macro, move the generic{READ,WRITE}_ONCE() definitions out of the unwieldy &apos;linux/compiler.h&apos;file and into a new &apos;rwonce.h&apos; header under &apos;asm-generic&apos;.Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;Acked-by: Paul E. McKenney &lt;paulmck@kernel.org&gt;Signed-off-by: Will Deacon &lt;will@kernel.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 15 Oct 2019 23:29:32 +0000</pubDate>
        <dc:creator>Will Deacon &lt;will@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>62d0fd59 - arch: split MODULE_ARCH_VERMAGIC definitions out to &lt;asm/vermagic.h&gt;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#62d0fd59</link>
        <description>arch: split MODULE_ARCH_VERMAGIC definitions out to &lt;asm/vermagic.h&gt;As the bug report [1] pointed out, &lt;linux/vermagic.h&gt; must be includedafter &lt;linux/module.h&gt;.I believe we should not impose any include order restriction. We oftensort include directives alphabetically, but it is just coding styleconvention. Technically, we can include header files in any order bymaking every header self-contained.Currently, arch-specific MODULE_ARCH_VERMAGIC is defined in&lt;asm/module.h&gt;, which is not included from &lt;linux/vermagic.h&gt;.Hence, the straight-forward fix-up would be as follows:|--- a/include/linux/vermagic.h|+++ b/include/linux/vermagic.h|@@ -1,5 +1,6 @@| /* SPDX-License-Identifier: GPL-2.0 */| #include &lt;generated/utsrelease.h&gt;|+#include &lt;linux/module.h&gt;|| /* Simply sanity version stamp for modules. */| #ifdef CONFIG_SMPThis works enough, but for further cleanups, I split MODULE_ARCH_VERMAGICdefinitions into &lt;asm/vermagic.h&gt;.With this, &lt;linux/module.h&gt; and &lt;linux/vermagic.h&gt; will be orthogonal,and the location of MODULE_ARCH_VERMAGIC definitions will be consistent.For arc and ia64, MODULE_PROC_FAMILY is only used for definingMODULE_ARCH_VERMAGIC. I squashed it.For hexagon, nds32, and xtensa, I removed &lt;asm/modules.h&gt; entirelybecause they contained nothing but MODULE_ARCH_VERMAGIC definition.Kbuild will automatically generate &lt;asm/modules.h&gt; at build-time,wrapping &lt;asm-generic/module.h&gt;.[1] https://lore.kernel.org/lkml/20200411155623.GA22175@zn.tnicReported-by: Borislav Petkov &lt;bp@suse.de&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Acked-by: Jessica Yu &lt;jeyu@kernel.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Tue, 21 Apr 2020 16:13:55 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>630f289b - asm-generic: make more kernel-space headers mandatory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/include/asm-generic/Kbuild#630f289b</link>
        <description>asm-generic: make more kernel-space headers mandatoryChange a header to mandatory-y if both of the following are met:[1] At least one architecture (except um) specifies it as generic-y in    arch/*/include/asm/Kbuild[2] Every architecture (except um) either has its own implementation    (arch/*/include/asm/*.h) or specifies it as generic-y in    arch/*/include/asm/KbuildThis commit was generated by the following shell script.-----------------------------------&gt;8-----------------------------------arches=$(cd arch; ls -1 | sed -e &apos;/Kconfig/d&apos; -e &apos;/um/d&apos;)tmpfile=$(mktemp)grep &quot;^mandatory-y +=&quot; include/asm-generic/Kbuild &gt; $tmpfilefind arch -path &apos;arch/*/include/asm/Kbuild&apos; |	xargs sed -n &apos;s/^generic-y += \(.*\)/\1/p&apos; | sort -u |while read headerdo	mandatory=yes	for arch in $arches	do		if ! grep -q &quot;generic-y += $header&quot; arch/$arch/include/asm/Kbuild &amp;&amp;			! [ -f arch/$arch/include/asm/$header ]; then			mandatory=no			break		fi	done	if [ &quot;$mandatory&quot; = yes ]; then		echo &quot;mandatory-y += $header&quot; &gt;&gt; $tmpfile		for arch in $arches		do			sed -i &quot;/generic-y += $header/d&quot; arch/$arch/include/asm/Kbuild		done	fidonesed -i &apos;/^mandatory-y +=/d&apos; include/asm-generic/KbuildLANG=C sort $tmpfile &gt;&gt; include/asm-generic/Kbuild-----------------------------------&gt;8-----------------------------------One obvious benefit is the diff stat: 25 files changed, 52 insertions(+), 557 deletions(-)It is tedious to list generic-y for each arch that needs it.So, mandatory-y works like a fallback default (by just wrappingasm-generic one) when arch does not have a specific headerimplementation.See the following commits:def3f7cefe4e81c296090e1722a76551142c227ca1b39bae16a62ce4aae02d958224f19316d98b24It is tedious to convert headers one by one, so I processed by a shellscript.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;Cc: Christoph Hellwig &lt;hch@lst.de&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Link: http://lkml.kernel.org/r/20200210175452.5030-1-masahiroy@kernel.orgSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/include/asm-generic/Kbuild</description>
        <pubDate>Thu, 02 Apr 2020 04:03:12 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
