<?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>127b0e05 - vdso: Rename included Makefile</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#127b0e05</link>
        <description>vdso: Rename included MakefileAs the Makefile is included into other Makefiles it can not be used todefine objects to be built from the current source directory.However the generic datastore will introduce such a local source file.Rename the included Makefile so it is clear how it is to be used and tomake room for a regular Makefile in lib/vdso/.Signed-off-by: Thomas Wei&#223;schuh &lt;thomas.weissschuh@linutronix.de&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-4-13a4669dfc8c@linutronix.de

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 04 Feb 2025 12:05:36 +0000</pubDate>
        <dc:creator>Thomas Wei&#223;schuh &lt;thomas.weissschuh@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>7f7f6f7a - Makefile: remove redundant tool coverage variables</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#7f7f6f7a</link>
        <description>Makefile: remove redundant tool coverage variablesNow Kbuild provides reasonable defaults for objtool, sanitizers, andprofilers.Remove redundant variables.Note:This commit changes the coverage for some objects:  - include arch/mips/vdso/vdso-image.o into UBSAN, GCOV, KCOV  - include arch/sparc/vdso/vdso-image-*.o into UBSAN  - include arch/sparc/vdso/vma.o into UBSAN  - include arch/x86/entry/vdso/extable.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vdso-image-*.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vdso32-setup.o into KASAN, KCSAN, UBSAN, GCOV, KCOV  - include arch/x86/entry/vdso/vma.o into GCOV, KCOV  - include arch/x86/um/vdso/vma.o into KASAN, GCOV, KCOVI believe these are positive effects because all of them are kernelspace objects.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Tested-by: Roberto Sassu &lt;roberto.sassu@huawei.com&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Mon, 06 May 2024 13:35:43 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b1992c37 - kbuild: use $(src) instead of $(srctree)/$(src) for source directory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#b1992c37</link>
        <description>kbuild: use $(src) instead of $(srctree)/$(src) for source directoryKbuild conventionally uses $(obj)/ for generated files, and $(src)/ forchecked-in source files. It is merely a convention without any functionaldifference. In fact, $(obj) and $(src) are exactly the same, as definedin scripts/Makefile.build:    src := $(obj)When the kernel is built in a separate output directory, $(src) doesnot accurately reflect the source directory location. While Kbuildresolves this discrepancy by specifying VPATH=$(srctree) to search forsource files, it does not cover all cases. For example, when adding aheader search path for local headers, -I$(srctree)/$(src) is typicallypassed to the compiler.This introduces inconsistency between upstream and downstream Makefilesbecause $(src) is used instead of $(srctree)/$(src) for the latter.To address this inconsistency, this commit changes the semantics of$(src) so that it always points to the directory in the source tree.Going forward, the variables used in Makefiles will have the followingmeanings:  $(obj)     - directory in the object tree  $(src)     - directory in the source tree  (changed by this commit)  $(objtree) - the top of the kernel object tree  $(srctree) - the top of the kernel source treeConsequently, $(srctree)/$(src) in upstream Makefiles need to be replacedwith $(src).Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Sat, 27 Apr 2024 14:55:02 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>aff69273 - vdso: Improve cmd_vdso_check to check all dynamic relocations</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#aff69273</link>
        <description>vdso: Improve cmd_vdso_check to check all dynamic relocationsThe actual intention is that no dynamic relocation exists in the VDSO. Forthis the VDSO build validates that the resulting .so file does not have anyrelocations which are specified via $(ARCH_REL_TYPE_ABS) per architecture,which is fragile as e.g. ARM64 lacks an entry for R_AARCH64_RELATIVE. Asideof that ARCH_REL_TYPE_ABS is a misnomer as it checks for relativerelocations too.However, some GNU ld ports produce unneeded R_*_NONE relocation entries. Ifa port fails to determine the exact .rel[a].dyn size, the trailing zerosbecome R_*_NONE relocations. E.g. ld&apos;s powerpc port recently fixedhttps://sourceware.org/bugzilla/show_bug.cgi?id=29540). R_*_NONE aregenerally a no-op in the dynamic loaders. So just ignore them.Remove the ARCH_REL_TYPE_ABS defines and just validate that the resulting.so file does not contain any R_* relocation entries except R_*_NONE.Signed-off-by: Fangrui Song &lt;maskray@google.com&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Tested-by: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt; # for aarch64Reviewed-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Reviewed-by: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt; # for vDSO, aarch64Acked-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt; (powerpc)Link: https://lore.kernel.org/r/20230310190750.3323802-1-maskray@google.com

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Fri, 10 Mar 2023 19:07:50 +0000</pubDate>
        <dc:creator>Fangrui Song &lt;maskray@google.com&gt;</dc:creator>
    </item>
<item>
        <title>f048158c - MIPS: remove CONFIG_MIPS_LD_CAN_LINK_VDSO</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#f048158c</link>
        <description>MIPS: remove CONFIG_MIPS_LD_CAN_LINK_VDSOGiven commit e4412739472b (&quot;Documentation: raise minimum supportedversion of binutils to 2.25&quot;), CONFIG_MIPS_LD_CAN_LINK_VDSO is always&apos;y&apos;.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Philippe Mathieu-Daud&#233; &lt;philmd@linaro.org&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Fri, 20 Jan 2023 06:33:51 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d42f0c6a - MIPS: Use &quot;grep -E&quot; instead of &quot;egrep&quot;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#d42f0c6a</link>
        <description>MIPS: Use &quot;grep -E&quot; instead of &quot;egrep&quot;The latest version of grep claims the egrep is now obsolete so the buildnow contains warnings that look like:	egrep: warning: egrep is obsolescent; using grep -Efix this up by moving the related file to use &quot;grep -E&quot; instead.Here are the steps to install the latest grep:  wget http://ftp.gnu.org/gnu/grep/grep-3.8.tar.gz  tar xf grep-3.8.tar.gz  cd grep-3.8 &amp;&amp; ./configure &amp;&amp; make  sudo make install  export PATH=/usr/local/bin:$PATHSigned-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Fri, 18 Nov 2022 08:28:11 +0000</pubDate>
        <dc:creator>Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>e0a8b93e - mips: Enable KCSAN</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#e0a8b93e</link>
        <description>mips: Enable KCSANThis patch enables KCSAN for the 64-bit version. Updated rulesfor the incompatible compilation units (vdso, boot/compressed).Signed-off-by: Nemanja Rakovic &lt;nemanja.rakovic@syrmia.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Mon, 31 Jan 2022 10:17:09 +0000</pubDate>
        <dc:creator>Nemanja Rakovic &lt;nemanja.rakovic@syrmia.com&gt;</dc:creator>
    </item>
<item>
        <title>bdbf2038 - MIPS: VDSO: remove -nostdlib compiler flag</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#bdbf2038</link>
        <description>MIPS: VDSO: remove -nostdlib compiler flagThe -nostdlib option requests the compiler to not use the standardsystem startup files or libraries when linking. It is effective onlywhen $(CC) is used as a linker driver.Since commit 2ff906994b6c (&quot;MIPS: VDSO: Use $(LD) instead of $(CC) tolink VDSO&quot;), $(LD) is directly used, hence -nostdlib is unneeded.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Sun, 07 Nov 2021 16:19:38 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>1b6bc35a - MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#1b6bc35a</link>
        <description>MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACEThis patch replaces the &quot;open-coded&quot; -pg compile flag with a CC_FLAGS_FTRACEmakefile variable which architectures can override if a different optionshould be used for code generation.Signed-off-by: zhaoxiao &lt;zhaoxiao@uniontech.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 20 Apr 2021 07:00:52 +0000</pubDate>
        <dc:creator>zhaoxiao &lt;zhaoxiao@uniontech.com&gt;</dc:creator>
    </item>
<item>
        <title>76d7fff2 - MIPS: VDSO: Use CLANG_FLAGS instead of filtering out &apos;--target=&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#76d7fff2</link>
        <description>MIPS: VDSO: Use CLANG_FLAGS instead of filtering out &apos;--target=&apos;Commit ee67855ecd9d (&quot;MIPS: vdso: Allow clang&apos;s --target flag in VDSOcflags&quot;) allowed the &apos;--target=&apos; flag from the main Makefile to filterthrough to the vDSO. However, it did not bring any of the other clangspecific flags for controlling the integrated assembler and the GNUtools locations (--prefix=, --gcc-toolchain=, and -no-integrated-as).Without these, we will get a warning (visible with tinyconfig):arch/mips/vdso/elf.S:14:1: warning: DWARF2 only supports one section percompilation unit.pushsection .note.Linux, &quot;a&quot;,@note ; .balign 4 ; .long 2f - 1f ; .long4484f - 3f ; .long 0 ; 1:.asciz &quot;Linux&quot; ; 2:.balign 4 ; 3:^arch/mips/vdso/elf.S:34:2: warning: DWARF2 only supports one section percompilation unit .section .mips_abiflags, &quot;a&quot; ^All of these flags are bundled up under CLANG_FLAGS in the main Makefileand exported so that they can be added to Makefiles that set their ownCFLAGS. Use this value instead of filtering out &apos;--target=&apos; so there isno warning and all of the tools are properly used.Cc: stable@vger.kernel.orgFixes: ee67855ecd9d (&quot;MIPS: vdso: Allow clang&apos;s --target flag in VDSO cflags&quot;)Link: https://github.com/ClangBuiltLinux/linux/issues/1256Reported-by: Anders Roxell &lt;anders.roxell@linaro.org&gt;Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Tested-by: Anders Roxell &lt;anders.roxell@linaro.org&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Fri, 15 Jan 2021 19:26:22 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;natechancellor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a9684337 - kbuild: explicitly specify the build id style</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#a9684337</link>
        <description>kbuild: explicitly specify the build id styleld&apos;s --build-id defaults to &quot;sha1&quot; style, while lld defaults to &quot;fast&quot;.The build IDs are very different between the two, which may confuseprograms that reference them.Signed-off-by: Bill Wendling &lt;morbo@google.com&gt;Acked-by: David S. Miller &lt;davem@davemloft.net&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 22 Sep 2020 23:21:40 +0000</pubDate>
        <dc:creator>Bill Wendling &lt;morbo@google.com&gt;</dc:creator>
    </item>
<item>
        <title>893ab004 - kbuild: remove cc-option test of -fno-stack-protector</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#893ab004</link>
        <description>kbuild: remove cc-option test of -fno-stack-protectorSome Makefiles already pass -fno-stack-protector unconditionally.For example, arch/arm64/kernel/vdso/Makefile, arch/x86/xen/Makefile.No problem report so far about hard-coding this option. So, we canassume all supported compilers know -fno-stack-protector.GCC 4.8 and Clang support this option (https://godbolt.org/z/_HDGzN)Get rid of cc-option from -fno-stack-protector.Remove CONFIG_CC_HAS_STACKPROTECTOR_NONE, which is always &apos;y&apos;.Note:arch/mips/vdso/Makefile adds -fno-stack-protector twice, firstunconditionally, and second conditionally. I removed the second one.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Fri, 26 Jun 2020 18:59:12 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>2ff90699 - MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#2ff90699</link>
        <description>MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSOCurrently, the VDSO is being linked through $(CC). This does not matchhow the rest of the kernel links objects, which is through the $(LD)variable.When clang is built in a default configuration, it first attempts to usethe target triple&apos;s default linker then the system&apos;s default linker,unless told otherwise through -fuse-ld=... We do not use -fuse-ld=because it can be brittle and we have support for invoking $(LD)directly. See commit fe00e50b2db8c (&quot;ARM: 8858/1: vdso: use $(LD)instead of $(CC) to link VDSO&quot;) and commit 691efbedc60d2 (&quot;arm64: vdso:use $(LD) instead of $(CC) to link VDSO&quot;) for examples of doing this inthe VDSO.Do the same thing here. Replace the custom linking logic with $(cmd_ld)and ldflags-y so that $(LD) is respected. We need to explicitly add twoflags to the linker that were implicitly passed by the compiler:-G 0 (which comes from ccflags-vdso) and --eh-frame-hdr.Before this patch (generated by adding &apos;-v&apos; to VDSO_LDFLAGS):&lt;gcc_prefix&gt;/libexec/gcc/mips64-linux/9.3.0/collect2 \-plugin &lt;gcc_prefix&gt;/libexec/gcc/mips64-linux/9.3.0/liblto_plugin.so \-plugin-opt=&lt;gcc_prefix&gt;/libexec/gcc/mips64-linux/9.3.0/lto-wrapper \-plugin-opt=-fresolution=/tmp/ccGEi5Ka.res \--eh-frame-hdr \-G 0 \-EB \-mips64r2 \-shared \-melf64btsmip \-o arch/mips/vdso/vdso.so.dbg.raw \-L&lt;gcc_prefix&gt;/lib/gcc/mips64-linux/9.3.0/64 \-L&lt;gcc_prefix&gt;/lib/gcc/mips64-linux/9.3.0 \-L&lt;gcc_prefix&gt;/lib/gcc/mips64-linux/9.3.0/../../../../mips64-linux/lib \-Bsymbolic \--no-undefined \-soname=linux-vdso.so.1 \-EB \--hash-style=sysv \--build-id \-T arch/mips/vdso/vdso.lds \arch/mips/vdso/elf.o \arch/mips/vdso/vgettimeofday.o \arch/mips/vdso/sigreturn.oAfter this patch:&lt;gcc_prefix&gt;/bin/mips64-linux-ld \-m elf64btsmip \-Bsymbolic \--no-undefined \-soname=linux-vdso.so.1 \-EB \-nostdlib \-shared \-G 0 \--eh-frame-hdr \--hash-style=sysv \--build-id \-T  arch/mips/vdso/vdso.lds \arch/mips/vdso/elf.o \arch/mips/vdso/vgettimeofday.oarch/mips/vdso/sigreturn.o \-o arch/mips/vdso/vdso.so.dbg.rawNote that we leave behind -mips64r2. Turns out that ld ignores it (seeget_emulation in ld/ldmain.c). This is true of current trunk and 2.23,which is the minimum supported version for the kernel:https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=ld/ldmain.c;hb=aa4209e7b679afd74a3860ce25659e71cc4847d5#l593https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=ld/ldmain.c;hb=a55e30b51bc6227d8d41f707654d0a5620978dcf#l641Before this patch, LD=ld.lld did nothing:$ llvm-readelf -p.comment arch/mips/vdso/vdso.so.dbg | sed &apos;s/(.*//&apos;String dump of section &apos;.comment&apos;:[     0] ClangBuiltLinux clang version 11.0.0After this patch, it does:$ llvm-readelf -p.comment arch/mips/vdso/vdso.so.dbg | sed &apos;s/(.*//&apos;String dump of section &apos;.comment&apos;:[     0] Linker: LLD 11.0.0[    62] ClangBuiltLinux clang version 11.0.0Link: https://github.com/ClangBuiltLinux/linux/issues/785Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 28 Apr 2020 22:14:18 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;natechancellor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>e91946d6 - MIPS: VDSO: Move disabling the VDSO logic to Kconfig</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#e91946d6</link>
        <description>MIPS: VDSO: Move disabling the VDSO logic to KconfigAfter commit 9553d16fa671 (&quot;init/kconfig: Add LD_VERSION Kconfig&quot;), wehave access to GNU ld&apos;s version at configuration time. As a result, wecan make it clearer under what configuration circumstances the MIPS VDSOneeds to be disabled.This is a prerequisite for getting rid of the MIPS VDSO binutilswarning and linking the VDSO when LD is ld.lld. Wrapping the call told-ifversion with CONFIG_LD_IS_LLD does not work because the configvalues are wiped away during &apos;make clean&apos;.Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 28 Apr 2020 22:14:16 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;natechancellor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>72cf3b3d - MIPS: vdso: Wrap -mexplicit-relocs in cc-option</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#72cf3b3d</link>
        <description>MIPS: vdso: Wrap -mexplicit-relocs in cc-optionClang does not support this option and errors out:clang-11: error: unknown argument: &apos;-mexplicit-relocs&apos;Clang does not appear to need this flag like GCC does because the jalrcheck that was added in commit 976c23af3ee5 (&quot;mips: vdso: add buildtime check that no &apos;jalr t9&apos; calls left&quot;) passes just fine with$ make ARCH=mips CC=clang CROSS_COMPILE=mipsel-linux-gnu- malta_defconfig arch/mips/vdso/even before commit d3f703c4359f (&quot;mips: vdso: fix &apos;jalr t9&apos; crash invdso code&quot;).-mrelax-pic-calls has been supported since clang 9, which is theearliest version that could build a working MIPS kernel, and it is thedefault for clang so just leave it be.Fixes: d3f703c4359f (&quot;mips: vdso: fix &apos;jalr t9&apos; crash in vdso code&quot;)Link: https://github.com/ClangBuiltLinux/linux/issues/890Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Signed-off-by: Paul Burton &lt;paulburton@kernel.org&gt;Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;Cc: linux-mips@vger.kernel.orgCc: linux-kernel@vger.kernel.orgCc: clang-built-linux@googlegroups.com

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Mon, 17 Feb 2020 21:11:49 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;natechancellor@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>976c23af - mips: vdso: add build time check that no &apos;jalr t9&apos; calls left</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#976c23af</link>
        <description>mips: vdso: add build time check that no &apos;jalr t9&apos; calls leftvdso shared object cannot have GOT based PIC &apos;jalr t9&apos; callsbecause nobody set GOT table in vdso. Contributing into vdso.o files are compiled in PIC mode and as result for internalstatic functions calls compiler will generate &apos;jalr t9&apos;instructions. Those are supposed to be converted into PCrelative &apos;bal&apos; calls by linker when relocation are processed.Mips global GOT entries do have dynamic relocations and theywill be caught by cmd_vdso_check Makefile rule. Static PICcalls go through mips local GOT entries that do not havedynamic relocations. For those &apos;jalr t9&apos; calls could be presentbut without dynamic relocations and they need to be convertedto &apos;bal&apos; calls by linker.Add additional build time check to make sure that no &apos;jalr t9&apos;slip through because of some toolchain misconfiguration thatprevents &apos;jalr t9&apos; to &apos;bal&apos; conversion.Signed-off-by: Victor Kamensky &lt;kamensky@cisco.com&gt;Signed-off-by: Paul Burton &lt;paulburton@kernel.org&gt;Cc: linux-mips@vger.kernel.orgCc: Ralf Baechle &lt;ralf@linux-mips.org&gt;Cc: James Hogan &lt;jhogan@kernel.org&gt;Cc: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt;Cc: bruce.ashfield@gmail.comCc: richard.purdie@linuxfoundation.org

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 11 Feb 2020 19:24:34 +0000</pubDate>
        <dc:creator>Victor Kamensky &lt;kamensky@cisco.com&gt;</dc:creator>
    </item>
<item>
        <title>07015d7a - MIPS: Disable VDSO time functionality on microMIPS</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#07015d7a</link>
        <description>MIPS: Disable VDSO time functionality on microMIPSA check we&apos;re about to add to pick up on function calls that depend onbogus use of the GOT in the VDSO picked up on instances of such functioncalls in microMIPS builds. Since the code appears genuinely problematic,and given the relatively small amount of use &amp; testing that microMIPSsees, go ahead &amp; disable the VDSO for microMIPS builds.Signed-off-by: Paul Burton &lt;paulburton@kernel.org&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Sat, 15 Feb 2020 20:38:36 +0000</pubDate>
        <dc:creator>Paul Burton &lt;paulburton@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d3f703c4 - mips: vdso: fix &apos;jalr t9&apos; crash in vdso code</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#d3f703c4</link>
        <description>mips: vdso: fix &apos;jalr t9&apos; crash in vdso codeObserved that when kernel is built with Yocto mips64-poky-linux-gcc,and mips64-poky-linux-gnun32-gcc toolchain, resulting vdso contains&apos;jalr t9&apos; instructions in its code and since in vdso case nobodysets GOT table code crashes when instruction reached. On other handobserved that when kernel is built mips-poky-linux-gcc toolchain, thesame &apos;jalr t9&apos; instruction are replaced with PC relative functioncalls using &apos;bal&apos; instructions.The difference boils down to -mrelax-pic-calls and -mexplicit-relocsgcc options that gets different default values depending on gcctarget triplets and corresponding binutils. -mrelax-pic-calls gotenabled by default only in mips-poky-linux-gcc case. MIPS binutilsld relies on R_MIPS_JALR relocation to convert &apos;jalr t9&apos; into &apos;bal&apos;and such relocation is generated only if -mrelax-pic-calls optionis on.Please note &apos;jalr t9&apos; conversion to &apos;bal&apos; can happen only to staticfunctions. These static PIC calls use mips local GOT entries thatare supposed to be filled with start of DSO value by run-time linker(missing in VDSO case) and they do not have dynamic relocations.Global mips GOT entries must have dynamic relocations and they shouldbe prevented by cmd_vdso_check Makefile rule.Solution call out -mrelax-pic-calls and -mexplicit-relocs optionsexplicitly while compiling MIPS vdso code. That would get correctand consistent between different toolchains behaviour.Reported-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;Signed-off-by: Victor Kamensky &lt;kamensky@cisco.com&gt;Signed-off-by: Paul Burton &lt;paulburton@kernel.org&gt;Cc: linux-mips@vger.kernel.orgCc: Ralf Baechle &lt;ralf@linux-mips.org&gt;Cc: James Hogan &lt;jhogan@kernel.org&gt;Cc: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt;Cc: richard.purdie@linuxfoundation.org

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Tue, 11 Feb 2020 19:24:33 +0000</pubDate>
        <dc:creator>Victor Kamensky &lt;kamensky@cisco.com&gt;</dc:creator>
    </item>
<item>
        <title>5f2fb52f - kbuild: rename hostprogs-y/always to hostprogs/always-y</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#5f2fb52f</link>
        <description>kbuild: rename hostprogs-y/always to hostprogs/always-yIn old days, the &quot;host-progs&quot; syntax was used for specifying hostprograms. It was renamed to the current &quot;hostprogs-y&quot; in 2004.It is typically useful in scripts/Makefile because it allows Kbuild toselectively compile host programs based on the kernel configuration.This commit renames like follows:  always       -&gt;  always-y  hostprogs-y  -&gt;  hostprogsSo, scripts/Makefile will look like this:  always-$(CONFIG_BUILD_BIN2C) += ...  always-$(CONFIG_KALLSYMS)    += ...      ...  hostprogs := $(always-y) $(always-m)I think this makes more sense because a host program is always a hostprogram, irrespective of the kernel configuration. We want to specifywhich ones to compile by CONFIG options, so always-y will be handier.The &quot;always&quot;, &quot;hostprogs-y&quot;, &quot;hostprogs-m&quot; will be kept for backwardcompatibility for a while.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Sat, 01 Feb 2020 16:49:24 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>99570c3d - MIPS: vdso: Define BUILD_VDSO32 when building a 32bit kernel</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/vdso/Makefile#99570c3d</link>
        <description>MIPS: vdso: Define BUILD_VDSO32 when building a 32bit kernelThe confinement of the 32bit specific VDSO functions missed to defineBUILD_VDSO32 when building a 32bit MIPS kernel:arch/mips/vdso/vgettimeofday.c: In function __vdso_clock_gettime:arch/mips/vdso/vgettimeofday.c:17:9: error: implicit declaration of function __cvdso_clock_gettime32arch/mips/vdso/vgettimeofday.c: In function __vdso_clock_getres:arch/mips/vdso/vgettimeofday.c:39:9: error: implicit declaration of function __cvdso_clock_getres_time32Force the define for 32bit builds in the VDSO Makefile.Fixes: bf279849ad59 (&quot;lib/vdso: Build 32 bit specific functions in the right context&quot;)Reported-by: kbuild test robot &lt;lkp@intel.com&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Acked-by: Paul Burton &lt;paulburton@kernel.org&gt;Link: https://lore.kernel.org/r/87d0bjfaqa.fsf@nanos.tec.linutronix.de

            List of files:
            /linux-6.15/arch/mips/vdso/Makefile</description>
        <pubDate>Thu, 16 Jan 2020 19:43:41 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
</channel>
</rss>
