<?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>62597edf - selftests: livepatch: test livepatching a kprobed function</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#62597edf</link>
        <description>selftests: livepatch: test livepatching a kprobed functionThe test proves that a function that is being kprobed and uses apost_handler cannot be livepatched.Only one ftrace_ops with FTRACE_OPS_FL_IPMODIFY set may be registeredto any given function at a time.Note that the conflicting kprobe could not be created using thetracefs interface, see Documentation/trace/kprobetrace.rst.This interface uses only the pre_handler(), see alloc_trace_kprobe().But FTRACE_OPS_FL_IPMODIFY is used only when the kprobe is using apost_handler, see arm_kprobe_ftrace().Signed-off-by: Michael Vetter &lt;mvetter@suse.com&gt;Reviewed-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Tested-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Reviewed-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Tested-by: Petr Mladek &lt;pmladek@suse.com&gt;Link: https://lore.kernel.org/r/20241017200132.21946-4-mvetter@suse.comSigned-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Thu, 17 Oct 2024 20:01:32 +0000</pubDate>
        <dc:creator>Michael Vetter &lt;mvetter@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>6a717704 - selftests: livepatch: Test livepatching a heavily called syscall</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#6a717704</link>
        <description>selftests: livepatch: Test livepatching a heavily called syscallThe test proves that a syscall can be livepatched. It is interestingbecause syscalls are called a tricky way. Also the process getslivepatched either when sleeping in the userspace or when enteringor leaving the kernel space.The livepatch is a bit tricky:  1. The syscall function name is architecture specific. Also     ARCH_HAS_SYSCALL_WRAPPER must be taken in account.  2. The syscall must stay working the same way for other processes     on the system. It is solved by decrementing a counter only     for PIDs of the test processes. It means that the test processes     has to call the livepatched syscall at least once.The test creates one userspace process per online cpu. The processesare calling getpid in a busy loop. The intention is to create randomlocations when the livepatch gets enabled. Nothing is guarantted.The magic is in the randomness.Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Signed-off-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Fri, 12 Jan 2024 17:43:52 +0000</pubDate>
        <dc:creator>Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>c4bbe83d - livepatch: Move tests from lib/livepatch to selftests/livepatch</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#c4bbe83d</link>
        <description>livepatch: Move tests from lib/livepatch to selftests/livepatchThe modules are being moved from lib/livepatch totools/testing/selftests/livepatch/test_modules.This code moving will allow writing more complex tests, like for example anuserspace C code that will call a livepatched kernel function.The modules are now built as out-of-treemodules, but being part of the kernel source means they will be maintained.Another advantage of the code moving is to be able to easily change,debug and rebuild the tests by running make on the selftests/livepatchdirectory, which is not currently possible since the modules onlib/livepatch are build and installed using the &quot;modules&quot; target.The current approach also keeps the ability to execute the tests manuallyby executing the scripts inside selftests/livepatch directory, as it&apos;scurrently supported. If the modules are modified, they needed to berebuilt before running the scripts though.The modules are built before running the selftests when using thekselftest invocations:	make kselftest TARGETS=livepatchor	make -C tools/testing/selftests/livepatch run_testsHaving the modules being built as out-of-modules requires changing thecurrently used &apos;modprobe&apos; by &apos;insmod&apos; and adapt the test scripts thatcheck for the kernel message buffer.Now it is possible to only compile the modules by running:	make -C tools/testing/selftests/livepatch/This way the test modules and other test program can be built in orderto be packaged if so desired.As there aren&apos;t any modules being built on lib/livepatch, remove theTEST_LIVEPATCH Kconfig and it&apos;s references.Note: &quot;make gen_tar&quot; packages the pre-built binaries into the tarball.       It means that it will store the test modules pre-built for       the kernel running on the build host.       Note that these modules need not binary compatible with       the kernel built from the same sources. But the same       is true for other packaged selftest binaries.       The entire kernel sources are needed for rebuilding       the selftests on another system.Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Signed-off-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Acked-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Fri, 12 Jan 2024 17:43:51 +0000</pubDate>
        <dc:creator>Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>ff1b80ec - selftests/livepatch: add sysfs test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#ff1b80ec</link>
        <description>selftests/livepatch: add sysfs testAdd a test for livepatch sysfs entries.Signed-off-by: Song Liu &lt;song@kernel.org&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;Link: https://lore.kernel.org/r/20220902205208.3117798-3-song@kernel.org

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Fri, 02 Sep 2022 20:52:08 +0000</pubDate>
        <dc:creator>Song Liu &lt;song@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b9167c80 - selftests: Install settings files to fix TIMEOUT failures</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#b9167c80</link>
        <description>selftests: Install settings files to fix TIMEOUT failuresCommit 852c8cbf34d3 (&quot;selftests/kselftest/runner.sh: Add 45 secondtimeout per test&quot;) added a 45 second timeout for tests, and also addeda way for tests to customise the timeout via a settings file.For example the ftrace tests take multiple minutes to run, so theywere given longer in commit b43e78f65b1d (&quot;tracing/selftests: Turn offtimeout setting&quot;).This works when the tests are run from the source tree. However if thetests are installed with &quot;make -C tools/testing/selftests install&quot;,the settings files are not copied into the install directory. When thetests are then run from the install directory the longer timeouts arenot applied and the tests timeout incorrectly.So add the settings files to TEST_FILES of the appropriate Makefilesto cause the settings files to be installed using the existing installlogic.Fixes: 852c8cbf34d3 (&quot;selftests/kselftest/runner.sh: Add 45 second timeout per test&quot;)Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Thu, 20 Feb 2020 04:42:41 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>8c666d2a - selftests/livepatch: Test interaction with ftrace_enabled</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#8c666d2a</link>
        <description>selftests/livepatch: Test interaction with ftrace_enabledSince livepatching depends upon ftrace handlers to implement &quot;patched&quot;code functionality, verify that the ftrace_enabled sysctl valueinteracts with livepatch registration as expected.  At the same time,ensure that ftrace_enabled is set and part of the test environmentconfiguration that is saved and restored when running the selftests.Link: http://lkml.kernel.org/r/20191016113316.13415-4-mbenes@suse.czSigned-off-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Wed, 16 Oct 2019 11:33:15 +0000</pubDate>
        <dc:creator>Joe Lawrence &lt;joe.lawrence@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>ecd25094 - livepatch: Selftests of the API for tracking system state changes</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#ecd25094</link>
        <description>livepatch: Selftests of the API for tracking system state changesFour selftests for the new API.Link: http://lkml.kernel.org/r/20191030154313.13263-6-pmladek@suse.comTo: Jiri Kosina &lt;jikos@kernel.org&gt;Cc: Kamalesh Babulal &lt;kamalesh@linux.vnet.ibm.com&gt;Cc: Nicolai Stange &lt;nstange@suse.de&gt;Cc: live-patching@vger.kernel.orgCc: linux-kernel@vger.kernel.orgAcked-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Acked-by: Josh Poimboeuf &lt;jpoimboe@redhat.com&gt;Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Wed, 30 Oct 2019 15:43:13 +0000</pubDate>
        <dc:creator>Petr Mladek &lt;pmladek@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>802c2471 - selftests/livepatch: Add functions.sh to TEST_PROGS_EXTENDED</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#802c2471</link>
        <description>selftests/livepatch: Add functions.sh to TEST_PROGS_EXTENDEDAdd functions.sh to TEST_PROGS_EXTENDED so that it is installed alongwith the rest of the selftests and they can be run.Originally-by: Shuah Khan &lt;shuah@kernel.org&gt;Signed-off-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Fri, 12 Apr 2019 13:37:37 +0000</pubDate>
        <dc:creator>Miroslav Benes &lt;mbenes@suse.cz&gt;</dc:creator>
    </item>
<item>
        <title>abfe3c45 - selftests/livepatch: use TEST_PROGS for test scripts</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#abfe3c45</link>
        <description>selftests/livepatch: use TEST_PROGS for test scriptsAdrian reports that &apos;make -C tools clean&apos; results in removal of thelivepatch selftest shell scripts.As per the selftest lib.mk file, TEST_PROGS are for test shell scripts,not TEST_GEN_PROGS.  Adjust the livepatch selftest Makefile accordingly.Reported-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Signed-off-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Tested-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Tue, 26 Mar 2019 15:26:01 +0000</pubDate>
        <dc:creator>Joe Lawrence &lt;joe.lawrence@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>a2818ee4 - selftests/livepatch: introduce tests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/livepatch/Makefile#a2818ee4</link>
        <description>selftests/livepatch: introduce testsAdd a few livepatch modules and simple target modules that the includedregression suite can run tests against:  - basic livepatching (multiple patches, atomic replace)  - pre/post (un)patch callbacks  - shadow variable APISigned-off-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;Tested-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Tested-by: Alice Ferrazzi &lt;alice.ferrazzi@gmail.com&gt;Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Acked-by: Josh Poimboeuf &lt;jpoimboe@redhat.com&gt;Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/livepatch/Makefile</description>
        <pubDate>Wed, 09 Jan 2019 12:43:29 +0000</pubDate>
        <dc:creator>Joe Lawrence &lt;joe.lawrence@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
