<?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 klp-post-link.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>cc4adab164b772a34b3340d644b7c4728498581e - Merge tag &apos;v6.19-rc1&apos; into msm-next</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#cc4adab164b772a34b3340d644b7c4728498581e</link>
        <description>Merge tag &apos;v6.19-rc1&apos; into msm-nextMerge Linux 6.19-rc1 in order to catch up with other changes (e.g. UBWCconfig database defining UBWC_6).Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Tue, 20 Jan 2026 22:06:55 +0000</pubDate>
        <dc:creator>Dmitry Baryshkov &lt;dmitry.baryshkov@oss.qualcomm.com&gt;</dc:creator>
    </item>
<item>
        <title>5add3c3c280a35f7e258e9cef7607db5a2e56fdc - Merge drm/drm-next into drm-xe-next</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#5add3c3c280a35f7e258e9cef7607db5a2e56fdc</link>
        <description>Merge drm/drm-next into drm-xe-nextBackmerging to bring in 6.19-rc1. An important upstream bugfix andto help unblock PTL CI.Signed-off-by: Thomas Hellstr&#246;m &lt;thomas.hellstrom@linux.intel.com&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Fri, 19 Dec 2025 10:51:22 +0000</pubDate>
        <dc:creator>Thomas Hellstr&#246;m &lt;thomas.hellstrom@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>b8304863a3990d0f18c38e5b94191830a63ee1af - Merge drm/drm-next into drm-intel-next</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#b8304863a3990d0f18c38e5b94191830a63ee1af</link>
        <description>Merge drm/drm-next into drm-intel-nextSync-up some display code needed for Async flips refactor.Signed-off-by: Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Mon, 15 Dec 2025 13:24:02 +0000</pubDate>
        <dc:creator>Rodrigo Vivi &lt;rodrigo.vivi@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>7f790dd21a931c61167f7bdc327aecf2cebad327 - Merge drm/drm-next into drm-misc-next</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#7f790dd21a931c61167f7bdc327aecf2cebad327</link>
        <description>Merge drm/drm-next into drm-misc-nextLet&apos;s kickstart the v6.20 (7.0?) release cycle.Signed-off-by: Maxime Ripard &lt;mripard@kernel.org&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Mon, 15 Dec 2025 08:27:39 +0000</pubDate>
        <dc:creator>Maxime Ripard &lt;mripard@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>24f171c7e145f43b9f187578e89b0982ce87e54c - Merge tag &apos;asoc-fix-v6.19-rc1&apos; of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#24f171c7e145f43b9f187578e89b0982ce87e54c</link>
        <description>Merge tag &apos;asoc-fix-v6.19-rc1&apos; of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linusASoC: Fixes for v6.19We&apos;ve been quite busy with fixes since the merge window, though not inany particularly exciting ways - the standout thing is the fix for _SXcontrols which were broken by a change to how we do clamping, otherwiseit&apos;s all fairly run of the mill fixes and quirks.

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Sun, 21 Dec 2025 10:11:11 +0000</pubDate>
        <dc:creator>Takashi Iwai &lt;tiwai@suse.de&gt;</dc:creator>
    </item>
<item>
        <title>84318277d6334c6981ab326d4acc87c6a6ddc9b8 - Merge remote-tracking branch &apos;drm/drm-fixes&apos; into drm-misc-fixes</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#84318277d6334c6981ab326d4acc87c6a6ddc9b8</link>
        <description>Merge remote-tracking branch &apos;drm/drm-fixes&apos; into drm-misc-fixesPull in rc1 to include all changes since the merge window closed,and grab all fixes and changes from drm/drm-next.Signed-off-by: Maarten Lankhorst &lt;dev@lankhorst.se&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Mon, 15 Dec 2025 11:53:27 +0000</pubDate>
        <dc:creator>Maarten Lankhorst &lt;dev@lankhorst.se&gt;</dc:creator>
    </item>
<item>
        <title>63e6995005be8ceb8a1d56a18df1a1a40c28356d - Merge tag &apos;objtool-core-2025-12-01&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#63e6995005be8ceb8a1d56a18df1a1a40c28356d</link>
        <description>Merge tag &apos;objtool-core-2025-12-01&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipPull objtool updates from Ingo Molnar: - klp-build livepatch module generation (Josh Poimboeuf)   Introduce new objtool features and a klp-build script to generate   livepatch modules using a source .patch as input.   This builds on concepts from the longstanding out-of-tree kpatch   project which began in 2012 and has been used for many years to   generate livepatch modules for production kernels. However, this is a   complete rewrite which incorporates hard-earned lessons from 12+   years of maintaining kpatch.   Key improvements compared to kpatch-build:    - Integrated with objtool: Leverages objtool&apos;s existing control-flow      graph analysis to help detect changed functions.    - Works on vmlinux.o: Supports late-linked objects, making it      compatible with LTO, IBT, and similar.    - Simplified code base: ~3k fewer lines of code.    - Upstream: No more out-of-tree #ifdef hacks, far less cruft.    - Cleaner internals: Vastly simplified logic for      symbol/section/reloc inclusion and special section extraction.    - Robust __LINE__ macro handling: Avoids false positive binary diffs      caused by the __LINE__ macro by introducing a fix-patch-lines      script which injects #line directives into the source .patch to      preserve the original line numbers at compile time. - Disassemble code with libopcodes instead of running objdump   (Alexandre Chartre) - Disassemble support (-d option to objtool) by Alexandre Chartre,   which supports the decoding of various Linux kernel code generation   specials such as alternatives:      17ef:  sched_balance_find_dst_group+0x62f                 mov    0x34(%r9),%edx      17f3:  sched_balance_find_dst_group+0x633               | &lt;alternative.17f3&gt;             | X86_FEATURE_POPCNT      17f3:  sched_balance_find_dst_group+0x633               | call   0x17f8 &lt;__sw_hweight64&gt; | popcnt %rdi,%rax      17f8:  sched_balance_find_dst_group+0x638                 cmp    %eax,%edx   ... jump table alternatives:      1895:  sched_use_asym_prio+0x5                            test   $0x8,%ch      1898:  sched_use_asym_prio+0x8                            je     0x18a9 &lt;sched_use_asym_prio+0x19&gt;      189a:  sched_use_asym_prio+0xa                          | &lt;jump_table.189a&gt;                        | JUMP      189a:  sched_use_asym_prio+0xa                          | jmp    0x18ae &lt;sched_use_asym_prio+0x1e&gt; | nop2      189c:  sched_use_asym_prio+0xc                            mov    $0x1,%eax      18a1:  sched_use_asym_prio+0x11                           and    $0x80,%ecx   ... exception table alternatives:    native_read_msr:      5b80:  native_read_msr+0x0                                                     mov    %edi,%ecx      5b82:  native_read_msr+0x2                                                   | &lt;ex_table.5b82&gt; | EXCEPTION      5b82:  native_read_msr+0x2                                                   | rdmsr           | resume at 0x5b84 &lt;native_read_msr+0x4&gt;      5b84:  native_read_msr+0x4                                                     shl    $0x20,%rdx   .... x86 feature flag decoding (also see the X86_FEATURE_POPCNT        example in sched_balance_find_dst_group() above):      2faaf:  start_thread_common.constprop.0+0x1f                                    jne    0x2fba4 &lt;start_thread_common.constprop.0+0x114&gt;      2fab5:  start_thread_common.constprop.0+0x25                                  | &lt;alternative.2fab5&gt;                  | X86_FEATURE_ALWAYS                                  | X86_BUG_NULL_SEG      2fab5:  start_thread_common.constprop.0+0x25                                  | jmp    0x2faba &lt;.altinstr_aux+0x2f4&gt; | jmp    0x4b0 &lt;start_thread_common.constprop.0+0x3f&gt; | nop5      2faba:  start_thread_common.constprop.0+0x2a                                    mov    $0x2b,%eax   ... NOP sequence shortening:      1048e2:  snapshot_write_finalize+0xc2                                            je     0x104917 &lt;snapshot_write_finalize+0xf7&gt;      1048e4:  snapshot_write_finalize+0xc4                                            nop6      1048ea:  snapshot_write_finalize+0xca                                            nop11      1048f5:  snapshot_write_finalize+0xd5                                            nop11      104900:  snapshot_write_finalize+0xe0                                            mov    %rax,%rcx      104903:  snapshot_write_finalize+0xe3                                            mov    0x10(%rdx),%rax   ... and much more. - Function validation tracing support (Alexandre Chartre) - Various -ffunction-sections fixes (Josh Poimboeuf) - Clang AutoFDO (Automated Feedback-Directed Optimizations) support   (Josh Poimboeuf) - Misc fixes and cleanups (Borislav Petkov, Chen Ni, Dylan Hatch, Ingo   Molnar, John Wang, Josh Poimboeuf, Pankaj Raghav, Peter Zijlstra,   Thorsten Blum)* tag &apos;objtool-core-2025-12-01&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (129 commits)  objtool: Fix segfault on unknown alternatives  objtool: Build with disassembly can fail when including bdf.h  objtool: Trim trailing NOPs in alternative  objtool: Add wide output for disassembly  objtool: Compact output for alternatives with one instruction  objtool: Improve naming of group alternatives  objtool: Add Function to get the name of a CPU feature  objtool: Provide access to feature and flags of group alternatives  objtool: Fix address references in alternatives  objtool: Disassemble jump table alternatives  objtool: Disassemble exception table alternatives  objtool: Print addresses with alternative instructions  objtool: Disassemble group alternatives  objtool: Print headers for alternatives  objtool: Preserve alternatives order  objtool: Add the --disas=&lt;function-pattern&gt; action  objtool: Do not validate IBT for .return_sites and .call_sites  objtool: Improve tracing of alternative instructions  objtool: Add functions to better name alternatives  objtool: Identify the different types of alternatives  ...

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Tue, 02 Dec 2025 04:18:59 +0000</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>2ace52718376fdb56aca863da2eebe70d7e2ddb1 - Merge branch &apos;objtool/core&apos;</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#2ace52718376fdb56aca863da2eebe70d7e2ddb1</link>
        <description>Merge branch &apos;objtool/core&apos;Bring in the UDB and objtool data annotations to avoid conflicts while further extending the bug exceptions.Signed-off-by: Peter Zijlstra &lt;peterz@infradead.org&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Fri, 21 Nov 2025 10:21:20 +0000</pubDate>
        <dc:creator>Peter Zijlstra &lt;peterz@infradead.org&gt;</dc:creator>
    </item>
<item>
        <title>00a155c691befdb10bea52c91d4c8c930bdaf73a - Merge branch &apos;objtool/core&apos; of https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linux</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#00a155c691befdb10bea52c91d4c8c930bdaf73a</link>
        <description>Merge branch &apos;objtool/core&apos; of https://git.kernel.org/pub/scm/linux/kernel/git/jpoimboe/linuxThis series introduces new objtool features and a klp-build script togenerate livepatch modules using a source .patch as input.This builds on concepts from the longstanding out-of-tree kpatch [1]project which began in 2012 and has been used for many years to generatelivepatch modules for production kernels.  However, this is a completerewrite which incorporates hard-earned lessons from 12+ years ofmaintaining kpatch.Key improvements compared to kpatch-build:  - Integrated with objtool: Leverages objtool&apos;s existing control-flow    graph analysis to help detect changed functions.  - Works on vmlinux.o: Supports late-linked objects, making it    compatible with LTO, IBT, and similar.  - Simplified code base: ~3k fewer lines of code.  - Upstream: No more out-of-tree #ifdef hacks, far less cruft.  - Cleaner internals: Vastly simplified logic for symbol/section/reloc    inclusion and special section extraction.  - Robust __LINE__ macro handling: Avoids false positive binary diffs    caused by the __LINE__ macro by introducing a fix-patch-lines script    which injects #line directives into the source .patch to preserve    the original line numbers at compile time.The primary user interface is the klp-build script which does thefollowing:  - Builds an original kernel with -function-sections and    -fdata-sections, plus objtool function checksumming.  - Applies the .patch file and rebuilds the kernel using the same    options.  - Runs &apos;objtool klp diff&apos; to detect changed functions and generate    intermediate binary diff objects.  - Builds a kernel module which links the diff objects with some    livepatch module init code (scripts/livepatch/init.c).  - Finalizes the livepatch module (aka work around linker wreckage)    using &apos;objtool klp post-link&apos;.I&apos;ve tested with a variety of patches on defconfig and Fedora-configkernels with both GCC and Clang.

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Thu, 16 Oct 2025 09:38:19 +0000</pubDate>
        <dc:creator>Peter Zijlstra &lt;peterz@infradead.org&gt;</dc:creator>
    </item>
<item>
        <title>ebe864b55304f74c4e1a8b6c899e34446b2be424 - objtool/klp: Add post-link subcommand to finalize livepatch modules</title>
        <link>http://opengrok.net:8080/history/linux/tools/objtool/klp-post-link.c#ebe864b55304f74c4e1a8b6c899e34446b2be424</link>
        <description>objtool/klp: Add post-link subcommand to finalize livepatch modulesLivepatch needs some ELF magic which linkers don&apos;t like:  - Two relocation sections (.rela*, .klp.rela*) for the same text    section.  - Use of SHN_LIVEPATCH to mark livepatch symbols.Unfortunately linkers tend to mangle such things.  To work around that,klp diff generates a linker-compliant intermediate binary which encodesthe relevant KLP section/reloc/symbol metadata.After module linking, the .ko then needs to be converted to an actuallivepatch module.  Introduce a new klp post-link subcommand to do so.Acked-by: Petr Mladek &lt;pmladek@suse.com&gt;Tested-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;

            List of files:
            /linux/tools/objtool/klp-post-link.c</description>
        <pubDate>Wed, 17 Sep 2025 16:04:01 +0000</pubDate>
        <dc:creator>Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
