<?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>7a9b709e - selftest/x86/bugs: Add selftests for ITS</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/x86/bugs/Makefile#7a9b709e</link>
        <description>selftest/x86/bugs: Add selftests for ITSBelow are the tests added for Indirect Target Selection (ITS):- its_sysfs.py - Check if sysfs reflects the correct mitigation status for  the mitigation selected via the kernel cmdline.- its_permutations.py - tests mitigation selection with cmdline  permutations with other bugs like spectre_v2 and retbleed.- its_indirect_alignment.py - verifies that for addresses in  .retpoline_sites section that belong to lower half of cacheline are  patched to ITS-safe thunk. Typical output looks like below:  Site 49: function symbol: __x64_sys_restart_syscall+0x1f &lt;0xffffffffbb1509af&gt;  #     vmlinux: 0xffffffff813509af:    jmp     0xffffffff81f5a8e0  #     kcore:   0xffffffffbb1509af:    jmpq    *%rax  #     ITS thunk NOT expected for site 49  #     PASSED: Found *%rax  #  Site 50: function symbol: __resched_curr+0xb0 &lt;0xffffffffbb181910&gt;  #     vmlinux: 0xffffffff81381910:    jmp     0xffffffff81f5a8e0  #     kcore:   0xffffffffbb181910:    jmp     0xffffffffc02000fc  #     ITS thunk expected for site 50  #     PASSED: Found 0xffffffffc02000fc -&gt; jmpq *%rax &lt;scattered-thunk?&gt;- its_ret_alignment.py - verifies that for addresses in .return_sites  section that belong to lower half of cacheline are patched to  its_return_thunk. Typical output looks like below:  Site 97: function symbol: collect_event+0x48 &lt;0xffffffffbb007f18&gt;  #     vmlinux: 0xffffffff81207f18:    jmp     0xffffffff81f5b500  #     kcore:   0xffffffffbb007f18:    jmp     0xffffffffbbd5b560  #     PASSED: Found jmp 0xffffffffbbd5b560 &lt;its_return_thunk&gt;  #  Site 98: function symbol: collect_event+0xa4 &lt;0xffffffffbb007f74&gt;  #     vmlinux: 0xffffffff81207f74:    jmp     0xffffffff81f5b500  #     kcore:   0xffffffffbb007f74:    retq  #     PASSED: Found retqSome of these tests have dependency on tools like virtme-ng[1] and drgn[2].When the dependencies are not met, the test will be skipped.[1] https://github.com/arighi/virtme-ng[2] https://github.com/osandov/drgnCo-developed-by: Tao Zhang &lt;tao1.zhang@linux.intel.com&gt;Signed-off-by: Tao Zhang &lt;tao1.zhang@linux.intel.com&gt;Signed-off-by: Pawan Gupta &lt;pawan.kumar.gupta@linux.intel.com&gt;Signed-off-by: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/x86/bugs/Makefile</description>
        <pubDate>Wed, 25 Dec 2024 00:09:28 +0000</pubDate>
        <dc:creator>Pawan Gupta &lt;pawan.kumar.gupta@linux.intel.com&gt;</dc:creator>
    </item>
</channel>
</rss>
