<?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 check-fpatchable-function-entry.sh</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>73cdf24e81e4eba52a40a6b10c6cf285d0ac23fd - powerpc64: make clang cross-build friendly</title>
        <link>http://opengrok.net:8080/history/linux/arch/powerpc/tools/check-fpatchable-function-entry.sh#73cdf24e81e4eba52a40a6b10c6cf285d0ac23fd</link>
        <description>powerpc64: make clang cross-build friendlyARCH_USING_PATCHABLE_FUNCTION_ENTRY depends on toolchain support for-fpatchable-function-entry option. The current script that checksfor this support only handles GCC. Rename the script and extend itto detect support for -fpatchable-function-entry with Clang as well,allowing clean cross-compilation with Clang toolchains.Signed-off-by: Hari Bathini &lt;hbathini@linux.ibm.com&gt;Tested-by: Venkat Rao Bagalkote &lt;venkat88@linux.ibm.com&gt;Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Link: https://patch.msgid.link/20260127084926.34497-2-hbathini@linux.ibm.com

            List of files:
            /linux/arch/powerpc/tools/check-fpatchable-function-entry.sh</description>
        <pubDate>Tue, 27 Jan 2026 08:49:24 +0000</pubDate>
        <dc:creator>Hari Bathini &lt;hbathini@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>f1164534ad62f0cc247d99650b07bd59ad2a49fd - powerpc/tools: drop `-o pipefail` in gcc check scripts</title>
        <link>http://opengrok.net:8080/history/linux/arch/powerpc/tools/check-fpatchable-function-entry.sh#f1164534ad62f0cc247d99650b07bd59ad2a49fd</link>
        <description>powerpc/tools: drop `-o pipefail` in gcc check scriptsFixes: 0f71dcfb4aef (&quot;powerpc/ftrace: Add support for -fpatchable-function-entry&quot;)Fixes: b71c9ffb1405 (&quot;powerpc: Add arch/powerpc/tools directory&quot;)Reported-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Jan Stancek &lt;jstancek@redhat.com&gt;Fixes: 8c50b72a3b4f (&quot;powerpc/ftrace: Add Kconfig &amp; Make glue for mprofile-kernel&quot;)Fixes: abba759796f9 (&quot;powerpc/kbuild: move -mprofile-kernel check to Kconfig&quot;)Tested-by: Justin M. Forbes &lt;jforbes@fedoraproject.org&gt;Reviewed-by: Naveen N Rao (AMD) &lt;naveen@kernel.org&gt;Reviewed-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Link: https://patch.msgid.link/cc6cdd116c3ad9d990df21f13c6d8e8a83815bbd.1758641374.git.jstancek@redhat.com

            List of files:
            /linux/arch/powerpc/tools/check-fpatchable-function-entry.sh</description>
        <pubDate>Tue, 23 Sep 2025 15:32:16 +0000</pubDate>
        <dc:creator>Jan Stancek &lt;jstancek@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>0f71dcfb4aef6043da6cc509e7a7f6a3ae87c12d - powerpc/ftrace: Add support for -fpatchable-function-entry</title>
        <link>http://opengrok.net:8080/history/linux/arch/powerpc/tools/check-fpatchable-function-entry.sh#0f71dcfb4aef6043da6cc509e7a7f6a3ae87c12d</link>
        <description>powerpc/ftrace: Add support for -fpatchable-function-entryGCC v13.1 updated support for -fpatchable-function-entry on ppc64le toemit nops after the local entry point, rather than before it. Thisallows us to use this in the kernel for ftrace purposes. A new script isadded under arch/powerpc/tools/ to help detect if nops are emitted afterthe function local entry point, or before the global entry point.With -fpatchable-function-entry, we no longer have the profilinginstructions generated at function entry, so we only need to validatethe presence of two nops at the ftrace location in ftrace_init_nop(). Wepatch the preceding instruction with &apos;mflr r0&apos; to match the-mprofile-kernel ABI for subsequent ftrace use.This changes the profiling instructions used on ppc32. The default -pgoption emits an additional &apos;stw&apos; instruction after &apos;mflr r0&apos; and beforethe branch to _mcount &apos;bl _mcount&apos;. This is very similar to the original-mprofile-kernel implementation on ppc64le, where an additional &apos;std&apos;instruction was used to save LR to its save location in the caller&apos;sstackframe. Subsequently, this additional store was removed in latercompiler versions for performance reasons. The same reasons apply forppc32 so we only patch in a &apos;mflr r0&apos;.Signed-off-by: Naveen N Rao &lt;naveen@kernel.org&gt;Reviewed-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/68586d22981a2c3bb45f27a2b621173d10a7d092.1687166935.git.naveen@kernel.org

            List of files:
            /linux/arch/powerpc/tools/check-fpatchable-function-entry.sh</description>
        <pubDate>Mon, 19 Jun 2023 09:47:34 +0000</pubDate>
        <dc:creator>Naveen N Rao &lt;naveen@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
