<?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>108e5e68 - selftests/powerpc: make sub-folders buildable on their own</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#108e5e68</link>
        <description>selftests/powerpc: make sub-folders buildable on their ownBuild breaks when executing make with run_tests for sub-foldersunder powerpc. This is because, CFLAGS and GIT_VERSION macros aredefined in Makefile of toplevel powerpc folder.  make: Entering directory &apos;/home/maddy/linux/tools/testing/selftests/powerpc/mm&apos;  gcc     hugetlb_vs_thp_test.c ../harness.c ../utils.c  -o /home/maddy/selftest_output//hugetlb_vs_thp_test  hugetlb_vs_thp_test.c:6:10: fatal error: utils.h: No such file or directory      6 | #include &quot;utils.h&quot;        |          ^~~~~~~~~  compilation terminated.Fix this by adding the flags.mk in each sub-folder Makefile. Also removethe CFLAGS and GIT_VERSION macros from powerpc/ folder Makefile sincethe same is definied in flags.mkSigned-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20240229093711.581230-3-maddy@linux.ibm.com

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Thu, 29 Feb 2024 09:37:11 +0000</pubDate>
        <dc:creator>Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>37496845 - selftests/powerpc: Re-order *FLAGS to follow lib.mk</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#37496845</link>
        <description>selftests/powerpc: Re-order *FLAGS to follow lib.mkIn some powerpc/ sub-folder Makefiles, CFLAGS are defined before lib.mkinclude. Clean it up by re-ordering the flags to follow after the mkinclude. This is needed to support sub-folders in powerpc/ buildable onits own.Signed-off-by: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20240229093711.581230-1-maddy@linux.ibm.com

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Thu, 29 Feb 2024 09:37:09 +0000</pubDate>
        <dc:creator>Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>4f11410b - selftests/powerpc: Fix incorrect kernel headers search path</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#4f11410b</link>
        <description>selftests/powerpc: Fix incorrect kernel headers search pathUse $(KHDR_INCLUDES) as lookup path for kernel headers. This preventsbuilding against kernel headers from the build environment in scenarioswhere kernel headers are installed into a specific output directory(O=...).Cc: stable@vger.kernel.org # v5.18+Signed-off-by: Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;Acked-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20230127135755.79929-22-mathieu.desnoyers@efficios.com

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Fri, 27 Jan 2023 13:57:42 +0000</pubDate>
        <dc:creator>Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;</dc:creator>
    </item>
<item>
        <title>34f7f798 - selftests/powerpc: Add test of mitigation patching</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#34f7f798</link>
        <description>selftests/powerpc: Add test of mitigation patchingWe recently discovered some of our mitigation patching was not safeagainst other CPUs running concurrently.Add a test which enable/disables all mitigations in a tight loop whilealso running some stress load. On an unpatched system this almost alwaysleads to an oops and panic/reboot, but we also check if the kernelbecomes tainted in case we have a non-fatal oops.Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20210507064225.1556312-1-mpe@ellerman.id.au

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Fri, 07 May 2021 06:42:25 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>da650ada - selftests/powerpc: Add uaccess flush test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#da650ada</link>
        <description>selftests/powerpc: Add uaccess flush testAlso based on the RFI and entry flush tests, it counts the L1D missesby doing a syscall that does user access: uname, in this case.Signed-off-by: Thadeu Lima de Souza Cascardo &lt;cascardo@canonical.com&gt;[dja: forward port, rename function]Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20210225061949.1213404-1-dja@axtens.net

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Thu, 25 Feb 2021 06:19:49 +0000</pubDate>
        <dc:creator>Thadeu Lima de Souza Cascardo &lt;cascardo@canonical.com&gt;</dc:creator>
    </item>
<item>
        <title>0d239f3b - selftests/powerpc: refactor entry and rfi_flush tests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#0d239f3b</link>
        <description>selftests/powerpc: refactor entry and rfi_flush testsFor simplicity in backporting, the original entry_flush test containeda lot of duplicated code from the rfi_flush test. De-duplicate that code.Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Tue, 17 Nov 2020 05:59:15 +0000</pubDate>
        <dc:creator>Daniel Axtens &lt;dja@axtens.net&gt;</dc:creator>
    </item>
<item>
        <title>89a83a0c - selftests/powerpc: entry flush test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#89a83a0c</link>
        <description>selftests/powerpc: entry flush testAdd a test modelled on the RFI flush test which counts the numberof L1D misses doing a simple syscall with the entry flush on and off.For simplicity of backporting, this test duplicates a lot of code fromrfi_flush. We clean that up in the next patch.Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Tue, 17 Nov 2020 05:59:14 +0000</pubDate>
        <dc:creator>Daniel Axtens &lt;dja@axtens.net&gt;</dc:creator>
    </item>
<item>
        <title>bf9c95e2 - selftests/powerpc: spectre_v2 test must be built 64-bit</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#bf9c95e2</link>
        <description>selftests/powerpc: spectre_v2 test must be built 64-bitThe spectre_v2 test must be built 64-bit, it includes hand-written asmthat is 64-bit only, and segfaults if built 32-bit.Fixes: c790c3d2b0ec (&quot;selftests/powerpc: Add a test of spectre_v2 mitigations&quot;)Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20191120023924.13130-1-mpe@ellerman.id.au

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Wed, 20 Nov 2019 02:37:23 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>c790c3d2 - selftests/powerpc: Add a test of spectre_v2 mitigations</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#c790c3d2</link>
        <description>selftests/powerpc: Add a test of spectre_v2 mitigationsThis test uses the PMU to count branch prediction hits/misses for aknown loop, and compare the result to the reported spectre v2mitigation.This gives us a way of sanity checking that the reported mitigation isactually in effect.Sample output for some cases, eg:  Power9:    sysfs reports: &apos;Vulnerable&apos;     PM_BR_PRED_CCACHE: result        368 running/enabled 5792777124    PM_BR_MPRED_CCACHE: result        319 running/enabled 5792775546     PM_BR_PRED_PCACHE: result 2147483281 running/enabled 5792773128    PM_BR_MPRED_PCACHE: result  213604201 running/enabled 5792771640    Miss percent 9 %    OK - Measured branch prediction rates match reported spectre v2 mitigation.    sysfs reports: &apos;Mitigation: Indirect branch serialisation (kernel only)&apos;     PM_BR_PRED_CCACHE: result        895 running/enabled 5780320920    PM_BR_MPRED_CCACHE: result        822 running/enabled 5780312414     PM_BR_PRED_PCACHE: result 2147482754 running/enabled 5780308836    PM_BR_MPRED_PCACHE: result  213639731 running/enabled 5780307912    Miss percent 9 %    OK - Measured branch prediction rates match reported spectre v2 mitigation.    sysfs reports: &apos;Mitigation: Indirect branch cache disabled&apos;     PM_BR_PRED_CCACHE: result 2147483649 running/enabled 20540186160    PM_BR_MPRED_CCACHE: result 2147483649 running/enabled 20540180056     PM_BR_PRED_PCACHE: result          0 running/enabled 20540176090    PM_BR_MPRED_PCACHE: result          0 running/enabled 20540174182    Miss percent 100 %    OK - Measured branch prediction rates match reported spectre v2 mitigation.  Power8:    sysfs reports: &apos;Vulnerable&apos;     PM_BR_PRED_CCACHE: result 2147483649 running/enabled 3505888142    PM_BR_MPRED_CCACHE: result          9 running/enabled 3505882788    Miss percent 0 %    OK - Measured branch prediction rates match reported spectre v2 mitigation.    sysfs reports: &apos;Mitigation: Indirect branch cache disabled&apos;     PM_BR_PRED_CCACHE: result 2147483649 running/enabled 16931421988    PM_BR_MPRED_CCACHE: result 2147483649 running/enabled 16931416478    Miss percent 100 %    OK - Measured branch prediction rates match reported spectre v2 mitigation.    success: spectre_v2Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20190520105520.22274-1-mpe@ellerman.id.au

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Mon, 20 May 2019 10:55:20 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>a0aebae0 - selftests: powerpc: Fix warning for security subdir</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#a0aebae0</link>
        <description>selftests: powerpc: Fix warning for security subdirtyping &apos;make&apos; inside tools/testing/selftests/powerpc gave a buildwarning:BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security allmake[1]: Entering directory &apos;tools/testing/selftests/powerpc/security&apos;../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directorymake[1]: *** No rule to make target &apos;../../../../scripts/subarch.include&apos;.make[1]: Failed to remake makefile &apos;../../../../scripts/subarch.include&apos;.The build is one level deeper than lib.mk thinks it is. Set top_srcdirto set things straight.Note that the test program is still built.Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Mon, 22 Oct 2018 12:09:26 +0000</pubDate>
        <dc:creator>Joel Stanley &lt;joel@jms.id.au&gt;</dc:creator>
    </item>
<item>
        <title>d2bf7932 - selftests/powerpc: Add test to verify rfi flush across a system call</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/powerpc/security/Makefile#d2bf7932</link>
        <description>selftests/powerpc: Add test to verify rfi flush across a system callThis adds a test to verify proper functioning of the rfi flushcapability implemented to mitigate meltdown. The test works bymeasuring the number of L1d cache misses encountered while loadingdata from memory. Across a system call, since the L1d cache is flushedwhen rfi_flush is enabled, the number of cache misses is expected tobe relative to the number of cachelines corresponding to the databeing loaded.The current system setting is reflected via powerpc/rfi_flush underdebugfs (assumed to be /sys/kernel/debug/). This test verifies theexpected result with rfi_flush enabled as well as when it is disabled.Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Signed-off-by: Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;[mpe: Add SPDX tags, clang format, skip if the debugfs is missing, use __u64 and SANE_USERSPACE_TYPES to avoid printf() build errors.]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/powerpc/security/Makefile</description>
        <pubDate>Mon, 21 May 2018 15:13:57 +0000</pubDate>
        <dc:creator>Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
</channel>
</rss>
