<?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 mksysmap</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>7a6c355b - scripts/mksysmap: Fix escape chars &apos;$&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#7a6c355b</link>
        <description>scripts/mksysmap: Fix escape chars &apos;$&apos;Commit b18b047002b7 (&quot;kbuild: change scripts/mksysmap into sed script&quot;)changed the invocation of the script, to call sed directly withoutshell.That means, the current extra escape that was added in:commit ec336aa83162 (&quot;scripts/mksysmap: Fix badly escaped &apos;$&apos;&quot;)for the shell is not correct any more, at the moment the stack tracesfor nvhe are corrupted:[   22.840904] kvm [190]:  [&lt;ffff80008116dd54&gt;] __kvm_nvhe_$x.220+0x58/0x9c[   22.842913] kvm [190]:  [&lt;ffff8000811709bc&gt;] __kvm_nvhe_$x.9+0x44/0x50[   22.844112] kvm [190]:  [&lt;ffff80008116f8fc&gt;] __kvm_nvhe___skip_pauth_save+0x4/0x4With this patch:[   25.793513] kvm [192]: nVHE call trace:[   25.794141] kvm [192]:  [&lt;ffff80008116dd54&gt;] __kvm_nvhe_hyp_panic+0xb0/0xf4[   25.796590] kvm [192]:  [&lt;ffff8000811709bc&gt;] __kvm_nvhe_handle_trap+0xe4/0x188[   25.797553] kvm [192]:  [&lt;ffff80008116f8fc&gt;] __kvm_nvhe___skip_pauth_save+0x4/0x4Fixes: b18b047002b7 (&quot;kbuild: change scripts/mksysmap into sed script&quot;)Signed-off-by: Mostafa Saleh &lt;smostafa@google.com&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 23 Dec 2024 12:44:53 +0000</pubDate>
        <dc:creator>Mostafa Saleh &lt;smostafa@google.com&gt;</dc:creator>
    </item>
<item>
        <title>b18b0470 - kbuild: change scripts/mksysmap into sed script</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#b18b0470</link>
        <description>kbuild: change scripts/mksysmap into sed scriptThe previous commit removed the subshell execution from scripts/mksysmap,which is now simple enough to become a sed script.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 20 May 2024 12:42:10 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>04b8cb09 - kbuild: avoid unneeded kallsyms step 3</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#04b8cb09</link>
        <description>kbuild: avoid unneeded kallsyms step 3Since commit 951bcae6c5a0 (&quot;kallsyms: Avoid weak references for kallsymssymbols&quot;), the kallsyms step 3 always occurs.You can compare the build logs.[Before 951bcae6c5a0]  $ git checkout 951bcae6c5a0^  $ make defconfig all       [ snip ]    LD      .tmp_vmlinux.kallsyms1    NM      .tmp_vmlinux.kallsyms1.syms    KSYMS   .tmp_vmlinux.kallsyms1.S    AS      .tmp_vmlinux.kallsyms1.S    LD      .tmp_vmlinux.kallsyms2    NM      .tmp_vmlinux.kallsyms2.syms    KSYMS   .tmp_vmlinux.kallsyms2.S    AS      .tmp_vmlinux.kallsyms2.S    LD      vmlinux[After 951bcae6c5a0]  $ git checkout 951bcae6c5a0  $ make defconfig all       [ snip ]    LD      .tmp_vmlinux.kallsyms1    NM      .tmp_vmlinux.kallsyms1.syms    KSYMS   .tmp_vmlinux.kallsyms1.S    AS      .tmp_vmlinux.kallsyms1.S    LD      .tmp_vmlinux.kallsyms2    NM      .tmp_vmlinux.kallsyms2.syms    KSYMS   .tmp_vmlinux.kallsyms2.S    AS      .tmp_vmlinux.kallsyms2.S    LD      .tmp_vmlinux.kallsyms3             # should not happen    NM      .tmp_vmlinux.kallsyms3.syms        # should not happen    KSYMS   .tmp_vmlinux.kallsyms3.S           # should not happen    AS      .tmp_vmlinux.kallsyms3.S           # should not happen    LD      vmlinuxThe resulting vmlinux is correct, but it always requires an additionallinking step.The symbols produced by kallsyms are excluded from kallsyms itselfbecause they were previously missing in step 1. With those symbolsexcluded, the symbol lists matched between step 1 and step 2,eliminating the need for step 3. Now, this has a negative effect.Since 951bcae6c5a0, the PROVIDE() directives provide the fallbackdefinitions, which are not trimmed from the sysbol list in step 1because ${kallsymso_prev} is empty at this point.In step 2, ${kallsymso_prev} is set, and the kallsyms_* symbols aretrimmed from the symbol list.Due to the table size difference between step 1 and step 2 (the formeris larger due to the presence of kallsyms_*), step 3 is triggered.Now that the kallsyms_* symbols are always linked, let&apos;s stop omittingthem from kallsyms. This avoids unnecessary step 3.Fixes: 951bcae6c5a0 (&quot;kallsyms: Avoid weak references for kallsyms symbols&quot;)Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 20 May 2024 12:42:09 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>a951884d - kallsyms: ignore ARMv4 thunks along with others</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#a951884d</link>
        <description>kallsyms: ignore ARMv4 thunks along with otherslld is now able to build ARMv4 and ARMv4T kernels, which means it cangenerate thunks for those (__ARMv4PILongThunk_*, __ARMv4PILongBXThunk_*)that can interfere with kallsyms table generation since they do not getignore like the corresponding ARMv5+ ones are:Inconsistent kallsyms dataTry &quot;make KALLSYMS_EXTRA_PASS=1&quot; as a workaroundReplace the hardcoded list of thunk symbols with a more general regex thatcovers this one along with future symbols that follow the same pattern.Fixes: 5eb6e280432d (&quot;ARM: 9289/1: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer&quot;)Fixes: efe6e3068067 (&quot;kallsyms: fix nonconverging kallsyms table with lld&quot;)Suggested-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Thu, 15 Feb 2024 08:32:08 +0000</pubDate>
        <dc:creator>Arnd Bergmann &lt;arnd@arndb.de&gt;</dc:creator>
    </item>
<item>
        <title>71025b85 - scripts/mksysmap: Ignore prefixed KCFI symbols</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#71025b85</link>
        <description>scripts/mksysmap: Ignore prefixed KCFI symbolsThe (relatively) new KCFI feature in LLVM/Clang encodes type informationfor C functions by generating symbols named __kcfi_typeid_&lt;fname&gt;, whichcan then be referenced from assembly. However, some custom build rules(e.g. nVHE or early PIE on arm64) use objcopy to add a prefix to all thesymbols in their object files, making mksysmap&apos;s ignore filter missthose KCFI symbols.Therefore, explicitly list those twice-prefixed KCFI symbols as ignored.Alternatively, this could also be achieved in a less verbose way byignoring any symbol containing the string &quot;__kcfi_typeid_&quot;. However,listing the combined prefixes explicitly saves us from running the smallrisk of ignoring symbols that should be kept.Signed-off-by: Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;Reviewed-by: Sami Tolvanen &lt;samitolvanen@google.com&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 26 Jun 2023 12:29:46 +0000</pubDate>
        <dc:creator>Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>200dd957 - scripts/mksysmap: Ignore __pi_ local arm64 symbols</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#200dd957</link>
        <description>scripts/mksysmap: Ignore __pi_ local arm64 symbolsSimilarly to &quot;__kvm_nvhe_&quot;, filter out any local symbol that wasprefixed with &quot;__pi_&quot; (generated when CONFIG_RANDOMIZE_BASE=y) whencompiling System.map and in kallsyms.Signed-off-by: Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Tue, 06 Jun 2023 18:19:36 +0000</pubDate>
        <dc:creator>Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>ec336aa8 - scripts/mksysmap: Fix badly escaped &apos;$&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#ec336aa8</link>
        <description>scripts/mksysmap: Fix badly escaped &apos;$&apos;The backslash characters escaping &apos;$&apos; in the command to sed (intended toprevent it from interpreting &apos;$&apos; as &quot;end-of-line&quot;) are currently beingconsumed by the Shell (where they mean that sh should not evaluate whatfollows &apos;$&apos; as a variable name). This means that    sed -e &quot;/ \$/d&quot;executes the script    / $/dinstead of the intended    / \$/dSo escape twice in mksysmap any &apos;$&apos; that actually needs to reach sedescaped so that the backslash survives the Shell.Fixes: c4802044a0a7 (&quot;scripts/mksysmap: use sed with in-line comments&quot;)Fixes: 320e7c9d4494 (&quot;scripts/kallsyms: move compiler-generated symbol patterns to mksysmap&quot;)Signed-off-by: Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Tue, 06 Jun 2023 17:35:53 +0000</pubDate>
        <dc:creator>Pierre-Cl&#233;ment Tosi &lt;ptosi@google.com&gt;</dc:creator>
    </item>
<item>
        <title>320e7c9d - scripts/kallsyms: move compiler-generated symbol patterns to mksysmap</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#320e7c9d</link>
        <description>scripts/kallsyms: move compiler-generated symbol patterns to mksysmapscripts/kallsyms.c maintains compiler-generated symbols, but we end upwith something similar in scripts/mksysmap to avoid the &quot;Inconsistentkallsyms data&quot; error. For example, commit c17a2538704f (&quot;mksysmap: Fixthe mismatch of &apos;L0&apos; symbols in System.map&quot;).They were separately maintained prior to commit 94ff2f63d6a3 (&quot;kbuild:reuse mksysmap output for kallsyms&quot;).Now that scripts/kallsyms.c parses the output of scripts/mksysmap,it makes more sense to collect all the ignored patterns to mksysmap.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Wed, 08 Mar 2023 11:52:40 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ca09bf48 - scripts/kallsyms: exclude symbols generated by itself dynamically</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#ca09bf48</link>
        <description>scripts/kallsyms: exclude symbols generated by itself dynamicallyDrop the symbols generated by scripts/kallsyms itself automaticallyinstead of maintaining the symbol list manually.Pass the kallsyms object from the previous kallsyms step (if it exists)as the third parameter of scripts/mksysmap, which will weed out thegenerated symbols from the input to the next kallsyms step.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Wed, 08 Mar 2023 11:52:39 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c4802044 - scripts/mksysmap: use sed with in-line comments</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#c4802044</link>
        <description>scripts/mksysmap: use sed with in-line commentsIt is not feasible to insert comments in a multi-line shell command.Use sed, and move comments close to the code.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Wed, 08 Mar 2023 11:52:38 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>e9f76363 - scripts/mksysmap: remove comments described in nm(1)</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#e9f76363</link>
        <description>scripts/mksysmap: remove comments described in nm(1)I do not think we need to repeat what is written in &apos;man nm&apos;.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Wed, 08 Mar 2023 11:52:37 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d32b55f4 - kallsyms: ignore __kstrtab_* and __kstrtabns_* symbols</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#d32b55f4</link>
        <description>kallsyms: ignore __kstrtab_* and __kstrtabns_* symbolsEvery EXPORT_SYMBOL creates __kstrtab_* and __kstrtabns_*, whichconsumes 15-20% of the kallsyms entries.For example, on the system built from the x86_64 defconfig,  $ cat /proc/kallsyms | wc     129527    388581   5685465  $ cat /proc/kallsyms | grep __kstrtab | wc      23489     70467   1187932We already ignore __crc_* symbols populated by EXPORT_SYMBOL, so itshould be fine to ignore __kstrtab_* and __kstrtabns_* as well.This makes vmlinux a bit smaller.  $ size vmlinux.before vmlinux.after     text    data     bss     dec     hex filename  22785374        8559694 1413328 32758396        1f3da7c vmlinux.before  22785374        8137806 1413328 32336508        1ed6a7c vmlinux.afterSigned-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 26 Sep 2022 09:02:29 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>a2833d1b - kallsyms: drop duplicated ignore patterns from kallsyms.c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#a2833d1b</link>
        <description>kallsyms: drop duplicated ignore patterns from kallsyms.cNow that kallsyms.c parses the output from mksysmap, some symbols havealready been dropped.Move comments to scripts/mksysmap. Also, make the grep command readable.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 26 Sep 2022 09:02:27 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c1346169 - mksysmap: update comment about __crc_*</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#c1346169</link>
        <description>mksysmap: update comment about __crc_*Since commit 7b4537199a4a (&quot;kbuild: link symbol CRCs at final link,removing CONFIG_MODULE_REL_CRCS&quot;), __crc_* symbols never becomeabsolute.Keep ignoring __crc_*, but update the comment.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 26 Sep 2022 09:02:25 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c17a2538 - mksysmap: Fix the mismatch of &apos;L0&apos; symbols in System.map</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#c17a2538</link>
        <description>mksysmap: Fix the mismatch of &apos;L0&apos; symbols in System.mapWhen System.map was generated, the kernel used mksysmap to filter thekernel symbols, we need to filter &quot;L0&quot; symbols in LoongArch architecture.$ cat System.map | grep L09000000000221540 t L0The L0 symbol exists in System.map, but not in .tmp_System.map. When&quot;cmp -s System.map .tmp_System.map&quot; will show &quot;Inconsistent kallsymsdata&quot; error message in link-vmlinux.sh script.Signed-off-by: Youling Tang &lt;tangyouling@loongson.cn&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Thu, 01 Sep 2022 11:10:59 +0000</pubDate>
        <dc:creator>Youling Tang &lt;tangyouling@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>72d24acc - mksysmap: Fix the mismatch of &apos;.L&apos; symbols in System.map</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#72d24acc</link>
        <description>mksysmap: Fix the mismatch of &apos;.L&apos; symbols in System.mapWhen System.map was generated, the kernel used mksysmap tofilter the kernel symbols, but all the symbols with thesecond letter &apos;L&apos; in the kernel were filtered out, not justthe symbols starting with &apos;dot + L&apos;.For example:ashimida@ubuntu:~/linux$ cat System.map |grep &apos; .L&apos;ashimida@ubuntu:~/linux$ nm -n vmlinux |grep &apos; .L&apos;ffff0000088028e0 t bLength_show......ffff0000092e0408 b PLLP_OUTC_lockffff0000092e0410 b PLLP_OUTA_lockThe original intent should be to filter out all local symbolsstarting with &apos;.L&apos;, so the dot should be escaped.Fixes: 00902e984732 (&quot;mksysmap: Add h8300 local symbol pattern&quot;)Signed-off-by: ashimida &lt;ashimida@linux.alibaba.com&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Tue, 02 Jun 2020 07:45:17 +0000</pubDate>
        <dc:creator>ashimida &lt;ashimida@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>00902e98 - mksysmap: Add h8300 local symbol pattern</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#00902e98</link>
        <description>mksysmap: Add h8300 local symbol patternh8300&apos;s nm output have a lot of local symbols.ex)00000000 N .Lframe000000013 N .LLST100000026 N .LLST200000039 N .LLST30000004c N .LLST4Added new pattern &quot; .L&quot; to filter rule.Signed-off-by: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Mon, 09 Mar 2015 06:30:48 +0000</pubDate>
        <dc:creator>Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;</dc:creator>
    </item>
<item>
        <title>06ed5c2b - kbuild: Make scripts executable</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#06ed5c2b</link>
        <description>kbuild: Make scripts executableThe Makefiles call the respective interpreter explicitly, but this makesit easier to use the scripts manually.Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Wed, 20 Aug 2014 14:02:59 +0000</pubDate>
        <dc:creator>Michal Marek &lt;mmarek@suse.cz&gt;</dc:creator>
    </item>
<item>
        <title>7eb6e340 - kbuild: trivial - remove trailing empty lines</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#7eb6e340</link>
        <description>kbuild: trivial - remove trailing empty linesSigned-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Thu, 29 May 2014 05:12:29 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;</dc:creator>
    </item>
<item>
        <title>4fec5420 - trivial: typo in comment in mksysmap</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/scripts/mksysmap#4fec5420</link>
        <description>trivial: typo in comment in mksysmapSigned-off-by: Masatake YAMATO &lt;yamato@redhat.com&gt;Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;

            List of files:
            /linux-6.15/scripts/mksysmap</description>
        <pubDate>Fri, 13 Jul 2012 16:38:57 +0000</pubDate>
        <dc:creator>Masatake YAMATO &lt;yamato@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
