<?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>eec37961 - powerpc64/ftrace: Move ftrace sequence out of line</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#eec37961</link>
        <description>powerpc64/ftrace: Move ftrace sequence out of lineFunction profile sequence on powerpc includes two instructions at thebeginning of each function:	mflr	r0	bl	ftrace_callerThe call to ftrace_caller() gets nop&apos;ed out during kernel boot and ispatched in when ftrace is enabled.Given the sequence, we cannot return from ftrace_caller with &apos;blr&apos; as weneed to keep LR and r0 intact. This results in link stack (returnaddress predictor) imbalance when ftrace is enabled. To address that, wewould like to use a three instruction sequence:	mflr	r0	bl	ftrace_caller	mtlr	r0Further more, to support DYNAMIC_FTRACE_WITH_CALL_OPS, we need toreserve two instruction slots before the function. This results in atotal of five instruction slots to be reserved for ftrace use on eachfunction that is traced.Move the function profile sequence out-of-line to minimize its impact.To do this, we reserve a single nop at function entry using-fpatchable-function-entry=1 and add a pass on vmlinux.o to determinethe total number of functions that can be traced. This is then used togenerate a .S file reserving the appropriate amount of space for use asftrace stubs, which is built and linked into vmlinux.On bootup, the stub space is split into separate stubs per function andpopulated with the proper instruction sequence. A pointer to theassociated stub is maintained in dyn_arch_ftrace.For modules, space for ftrace stubs is reserved from the generic modulestub space.This is restricted to and enabled by default only on 64-bit powerpc,though there are some changes to accommodate 32-bit powerpc. This isdone so that 32-bit powerpc could choose to opt into this based onfurther tests and benchmarks.As an example, after this patch, kernel functions will have a single nopat function entry:&lt;kernel_clone&gt;:	addis	r2,r12,467	addi	r2,r2,-16028	nop	mfocrf	r11,8	...When ftrace is enabled, the nop is converted to an unconditional branchto the stub associated with that function:&lt;kernel_clone&gt;:	addis	r2,r12,467	addi	r2,r2,-16028	b	ftrace_ool_stub_text_end+0x11b28	mfocrf	r11,8	...The associated stub:&lt;ftrace_ool_stub_text_end+0x11b28&gt;:	mflr	r0	bl	ftrace_caller	mtlr	r0	b	kernel_clone+0xc	...This change showed an improvement of ~10% in null_syscall benchmark on aPower 10 system with ftrace enabled.Signed-off-by: Naveen N Rao &lt;naveen@kernel.org&gt;Signed-off-by: Hari Bathini &lt;hbathini@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://patch.msgid.link/20241030070850.1361304-13-hbathini@linux.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Wed, 30 Oct 2024 07:08:45 +0000</pubDate>
        <dc:creator>Naveen N Rao &lt;naveen@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8884fc91 - powerpc: Fix fatal warnings flag for LLVM&apos;s integrated assembler</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#8884fc91</link>
        <description>powerpc: Fix fatal warnings flag for LLVM&apos;s integrated assemblerWhen building with LLVM_IAS=1, there is an error because&apos;-fatal-warnings&apos; is not recognized as a valid flag:  clang: error: unsupported argument &apos;-fatal-warnings&apos; to option &apos;-Wa,&apos;Use the double hyphen version of the flag, &apos;--fatal-warnings&apos;, whichworks with both the GNU assembler and LLVM&apos;s integrated assembler.Fixes: 608d4a5ca563 (&quot;powerpc: Error on assembly warnings&quot;)Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Justin Stitt &lt;justinstitt@google.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20240405-ppc-fix-wa-fatal-warnings-clang-v1-1-bdcd969f2ef0@kernel.org

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Fri, 05 Apr 2024 19:31:22 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>608d4a5c - powerpc: Error on assembly warnings</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#608d4a5c</link>
        <description>powerpc: Error on assembly warningsWe currently enable -Werror on the arch/powerpc subtree. However thisonly catches C warnings. Assembly warnings are logged, but the makeinvocation will still succeed. This can allow incorrect syntax such as  ori r3, r4, r5to be compiled without catching that the assembler is treating r5as the immediate value 5.To prevent this in assembly files and inline assembly, add the-fatal-warnings option to assembler invocations.Signed-off-by: Benjamin Gray &lt;bgray@linux.ibm.com&gt;Tested-by: Andrew Donnellan &lt;ajd@linux.ibm.com&gt;Reviewed-by: Andrew Donnellan &lt;ajd@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20240326044420.577031-1-bgray@linux.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Tue, 26 Mar 2024 04:44:20 +0000</pubDate>
        <dc:creator>Benjamin Gray &lt;bgray@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>8212f898 - kbuild: use more subdir- for visiting subdirectories while cleaning</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#8212f898</link>
        <description>kbuild: use more subdir- for visiting subdirectories while cleaningDocumentation/kbuild/makefiles.rst suggests to use &quot;archclean&quot; forcleaning arch/$(SRCARCH)/boot/, but it is not a hard requirement.Since commit d92cc4d51643 (&quot;kbuild: require all architectures to havearch/$(SRCARCH)/Kbuild&quot;), we can use the &quot;subdir- += boot&quot; trick forall architectures. This can take advantage of the parallel option (-j)for &quot;make clean&quot;.I also cleaned up the comments in arch/$(SRCARCH)/Makefile. The &quot;archdep&quot;target no longer exists.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Acked-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Acked-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt; (powerpc)

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Wed, 13 Oct 2021 06:36:22 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>793b08e2 - powerpc/kexec: Move kexec files into a dedicated subdir.</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#793b08e2</link>
        <description>powerpc/kexec: Move kexec files into a dedicated subdir.arch/powerpc/kernel/ contains 8 files dedicated to kexec.Move them into a dedicated subdirectory.Signed-off-by: Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;[mpe: Move to a/p/kexec, drop the &apos;machine&apos; naming and use &apos;core&apos; instead]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/afbef97ec6a978574a5cf91a4441000e0a9da42a.1572351221.git.christophe.leroy@c-s.fr

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Tue, 29 Oct 2019 12:13:58 +0000</pubDate>
        <dc:creator>Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;</dc:creator>
    </item>
<item>
        <title>96ac6d43 - treewide: Add SPDX license identifier - Kbuild</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#96ac6d43</link>
        <description>treewide: Add SPDX license identifier - KbuildAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is:      GPL-2.0Reported-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Thu, 30 May 2019 12:03:44 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>23ad1a27 - powerpc: Add -Werror at arch/powerpc level</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#23ad1a27</link>
        <description>powerpc: Add -Werror at arch/powerpc levelBack when I added -Werror in commit ba55bd74360e (&quot;powerpc: Addconfigurable -Werror for arch/powerpc&quot;) I did it by adding it to mostof the arch Makefiles.At the time we excluded math-emu, because apparently it didn&apos;t buildcleanly. But that seems to have been fixed somewhere in the interim.So move the -Werror addition to the top-level of the arch, this savesus from repeating it in every Makefile and means we won&apos;t forget toadd it to any new sub-dirs.Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Wed, 10 Oct 2018 05:13:06 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>c47ca98d - powerpc: Move core kernel logic into arch/powerpc/Kbuild</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/Kbuild#c47ca98d</link>
        <description>powerpc: Move core kernel logic into arch/powerpc/KbuildThis is a nice cleanup, arch/powerpc/Makefile is long and messy somoving this out helps a little.It also allows us to do:  $ make arch/powerpcWhich can be helpful if you just want to compile test some changes toarch code and not link everything.Finally it also gives us a single place to do subdir-cc-flagsassignments which affect the whole of arch/powerpc, which we will doin a future patch.Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/arch/powerpc/Kbuild</description>
        <pubDate>Wed, 10 Oct 2018 05:13:05 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
</channel>
</rss>
