<?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.include</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>814d051e - tools/build: Use SYSTEM_BPFTOOL for system bpftool</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#814d051e</link>
        <description>tools/build: Use SYSTEM_BPFTOOL for system bpftoolThe feature test for system bpftool uses BPFTOOL as the variable to setits path, defaulting to just &quot;bpftool&quot; if not set by the user.This conflicts with selftests and a few other utilities, which expectBPFTOOL to be set to the in-tree bpftool path by default. For example,bpftool selftests fail to build:$ make -C tools/testing/selftests/bpf/make: Entering directory &apos;/home/tglozar/dev/linux/tools/testing/selftests/bpf&apos;make: *** No rule to make target &apos;bpftool&apos;, needed by &apos;/home/tglozar/dev/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h&apos;.  Stop.make: Leaving directory &apos;/home/tglozar/dev/linux/tools/testing/selftests/bpf&apos;Fix the problem by renaming the variable used for system bpftool fromBPFTOOL to SYSTEM_BPFTOOL, so that the new usage does not conflict withthe existing one of BPFTOOL.Cc: John Kacur &lt;jkacur@redhat.com&gt;Cc: Luis Goncalves &lt;lgoncalv@redhat.com&gt;Link: https://lore.kernel.org/20250326004018.248357-1-tglozar@redhat.comFixes: 8a635c3856dd (&quot;tools/build: Add bpftool-skeletons feature test&quot;)Closes: https://lore.kernel.org/linux-kernel/5df6968a-2e5f-468e-b457-fc201535dd4c@linux.ibm.com/Reported-by: Venkat Rao Bagalkote &lt;venkat88@linux.ibm.com&gt;Tested-by: Venkat Rao Bagalkote &lt;venkat88@linux.ibm.com&gt;Suggested-by: Quentin Monnet &lt;qmo@kernel.org&gt;Acked-by: Quentin Monnet &lt;qmo@kernel.org&gt;Signed-off-by: Tomas Glozar &lt;tglozar@redhat.com&gt;Signed-off-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Wed, 26 Mar 2025 00:40:18 +0000</pubDate>
        <dc:creator>Tomas Glozar &lt;tglozar@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>8a635c38 - tools/build: Add bpftool-skeletons feature test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#8a635c38</link>
        <description>tools/build: Add bpftool-skeletons feature testAdd bpftool-skeletons feature test, testing the presence of a bpftoolcapable of generating skeletons.This is to be used for tools that do not require building their ownbootstrap bpftool from the kernel source tree.Cc: John Kacur &lt;jkacur@redhat.com&gt;Cc: Luis Goncalves &lt;lgoncalv@redhat.com&gt;Cc: Gabriele Monaco &lt;gmonaco@redhat.com&gt;Cc: Clark Williams &lt;williams@redhat.com&gt;Link: https://lore.kernel.org/20250218145859.27762-3-tglozar@redhat.comSigned-off-by: Tomas Glozar &lt;tglozar@redhat.com&gt;Signed-off-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 18 Feb 2025 14:58:53 +0000</pubDate>
        <dc:creator>Tomas Glozar &lt;tglozar@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>293f324c - tools: Unify top-level quiet infrastructure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#293f324c</link>
        <description>tools: Unify top-level quiet infrastructureCommit f2868b1a66d4f40f (&quot;perf tools: Expose quiet/verbose variables inMakefile.perf&quot;) moved the quiet infrastructure out oftools/build/Makefile.build and into the top-level Makefile.perf file sothat the quiet infrastructure could be used throughout perf and not justin Makefile.build.Extract out the quiet infrastructure into Makefile.include so that itcan be leveraged outside of perf.Fixes: f2868b1a66d4f40f (&quot;perf tools: Expose quiet/verbose variables in Makefile.perf&quot;)Reviewed-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Signed-off-by: Charlie Jenkins &lt;charlie@rivosinc.com&gt;Acked-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Benjamin Tissoires &lt;bentiss@kernel.org&gt;Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Cc: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;Cc: Eduard Zingerman &lt;eddyz87@gmail.com&gt;Cc: Hao Luo &lt;haoluo@google.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Kosina &lt;jikos@kernel.org&gt;Cc: John Fastabend &lt;john.fastabend@gmail.com&gt;Cc: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Cc: KP Singh &lt;kpsingh@kernel.org&gt;Cc: Lukasz Luba &lt;lukasz.luba@arm.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Martin KaFai Lau &lt;martin.lau@linux.dev&gt;Cc: Mykola Lysenko &lt;mykolal@fb.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Quentin Monnet &lt;qmo@kernel.org&gt;Cc: Rafael J. Wysocki &lt;rafael@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Song Liu &lt;song@kernel.org&gt;Cc: Stanislav Fomichev &lt;sdf@google.com&gt;Cc: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;Cc: Yonghong Song &lt;yonghong.song@linux.dev&gt;Cc: Zhang Rui &lt;rui.zhang@intel.com&gt;Link: https://lore.kernel.org/r/20250213-quiet_tools-v3-1-07de4482a581@rivosinc.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Thu, 13 Feb 2025 21:06:21 +0000</pubDate>
        <dc:creator>Charlie Jenkins &lt;charlie@rivosinc.com&gt;</dc:creator>
    </item>
<item>
        <title>c2bd08ba - treewide: remove meaningless assignments in Makefiles</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#c2bd08ba</link>
        <description>treewide: remove meaningless assignments in MakefilesIn Makefiles, $(error ), $(warning ), and $(info ) expand to the emptystring, as explained in the GNU Make manual [1]: &quot;The result of the expansion of this function is the empty string.&quot;Therefore, they are no-op except for logging purposes.$(shell ...) expands to the output of the command. It expands to theempty string when the command does not print anything to stdout.Hence, $(shell mkdir ...) is no-op except for creating the directory.Remove meaningless assignments.[1]: https://www.gnu.org/software/make/manual/make.html#Make-Control-FunctionsSigned-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Reviewed-by: Ian Rogers &lt;irogers@google.com&gt;Link: https://lore.kernel.org/r/20240221134201.2656908-1-masahiroy@kernel.orgSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Arnaldo Carvalho de Melo &lt;acme@kernel.org&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: linux-kbuild@vger.kernel.orgCc: linux-kernel@vger.kernel.orgCc: linux-perf-users@vger.kernel.org

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Wed, 21 Feb 2024 13:42:01 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b5c532e9 - tools/build: Fix -s detection code in tools/scripts/Makefile.include</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#b5c532e9</link>
        <description>tools/build: Fix -s detection code in tools/scripts/Makefile.includeAs Dmitry described in [1] changelog the current way of detecting-s option is broken for new make.Changing the tools/build -s option detection the same way as it wasfixed for root Makefile in [1].[1] 4bf73588165b (&quot;kbuild: Port silent mode detection to future gnu make.&quot;)Cc: Dmitry Goncharov &lt;dgoncharov@users.sf.net&gt;Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;Cc: KP Singh &lt;kpsingh@chromium.org&gt;Cc: Martin KaFai Lau &lt;kafai@fb.com&gt;Cc: Song Liu &lt;songliubraving@fb.com&gt;Cc: Yonghong Song &lt;yhs@fb.com&gt;Cc: John Fastabend &lt;john.fastabend@gmail.com&gt;Cc: Hao Luo &lt;haoluo@google.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Stanislav Fomichev &lt;sdf@google.com&gt;Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Cc: Quentin Monnet &lt;quentin@isovalent.com&gt;Cc: Arnaldo Carvalho de Melo &lt;acme@kernel.org&gt;Cc: Andrii Nakryiko &lt;andrii@kernel.org&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@kernel.org&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: bpf@vger.kernel.orgCc: linux-perf-users@vger.kernel.orgLink: https://lore.kernel.org/r/20231008212251.236023-3-jolsa@kernel.orgSigned-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Sun, 08 Oct 2023 21:22:51 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b539a287 - selftests/bpf: Fix cross compilation with CLANG_CROSS_FLAGS</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#b539a287</link>
        <description>selftests/bpf: Fix cross compilation with CLANG_CROSS_FLAGSI cross-compile my BPF selftests with the following command:CLANG_CROSS_FLAGS=&quot;--target=aarch64-linux-gnu --sysroot=/sysroot/&quot; \  make LLVM=1 CC=clang CROSS_COMPILE=aarch64-linux-gnu- SRCARCH=arm64(Note the use of CLANG_CROSS_FLAGS to specify a custom sysroot insteadof letting clang use gcc&apos;s default sysroot)However, CLANG_CROSS_FLAGS gets propagated to host tools builds (libbpfand bpftool) and because they reference it directly in their Makefiles,they end up cross-compiling host objects which results in linkingerrors.This patch ensures that CLANG_CROSS_FLAGS is reset if CROSS_COMPILEisn&apos;t set (for example when reaching a BPF host tool build).Signed-off-by: Florent Revest &lt;revest@chromium.org&gt;Link: https://lore.kernel.org/r/20230217151832.27784-1-revest@chromium.orgSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Fri, 17 Feb 2023 15:18:32 +0000</pubDate>
        <dc:creator>Florent Revest &lt;revest@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>e9c28192 - kbuild: Make $(LLVM) more flexible</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#e9c28192</link>
        <description>kbuild: Make $(LLVM) more flexibleThe LLVM make variable allows a developer to quickly switch between theGNU and LLVM tools. However, it does not handle versioned binaries, suchas the ones shipped by Debian, as LLVM=1 just defines the tool variableswith the unversioned binaries.There was some discussion during the review of the patch that introducesLLVM=1 around versioned binaries, ultimately coming to the conclusionthat developers can just add the folder that contains the unversionedbinaries to their PATH, as Debian&apos;s versioned suffixed binaries arereally just symlinks to the unversioned binaries in /usr/lib/llvm-#/bin:$ realpath /usr/bin/clang-14/usr/lib/llvm-14/bin/clang$ PATH=/usr/lib/llvm-14/bin:$PATH make ... LLVM=1However, that can be cumbersome to developers who are constantly testingseries with different toolchains and versions. It is simple enough tosupport these versioned binaries directly in the Kbuild system byallowing the developer to specify the version suffix with LLVM=, whichis shorter than the above suggestion:$ make ... LLVM=-14It does not change the meaning of LLVM=1 (which will continue to useunversioned binaries) and it does not add too much additional complexityto the existing $(LLVM) code, while allowing developers to quickly testtheir series with different versions of the whole LLVM suite of tools.Some developers may build LLVM from source but not add the binaries totheir PATH, as they may not want to use that toolchain systemwide.Support those developers by allowing them to supply the directory thatthe LLVM tools are available in, as it is no more complex to supportthan the version suffix change above.$ make ... LLVM=/path/to/llvm/Update and reorder the documentation to reflect these new additions.At the same time, notate that LLVM=0 is not the same as just omitting italtogether, which has confused people in the past.Link: https://lore.kernel.org/r/20200317215515.226917-1-ndesaulniers@google.com/Link: https://lore.kernel.org/r/20220224151322.072632223@infradead.org/Suggested-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Suggested-by: Peter Zijlstra &lt;peterz@infradead.org&gt;Signed-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Fri, 04 Mar 2022 17:08:14 +0000</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>7fd9fd46 - tools: Fix unavoidable GCC call in Clang builds</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#7fd9fd46</link>
        <description>tools: Fix unavoidable GCC call in Clang buildsIn ChromeOS and Gentoo we catch any unwanted mixed Clang/LLVMand GCC/binutils usage via toolchain wrappers which fail builds.This has revealed that GCC is called unconditionally in Clangconfigured builds to populate GCC_TOOLCHAIN_DIR.Allow the user to override CLANG_CROSS_FLAGS to avoid the GCCcall - in our case we set the var directly in the ebuild recipe.In theory Clang could be able to autodetect these settings sothis logic could be removed entirely, but in practice as thecommit cebdb7374577 (&quot;tools: Help cross-building with clang&quot;)mentions, this does not always work, so giving distributionsmore control to specify their flags &amp; sysroot is beneficial.Suggested-by: Manoj Gupta &lt;manojgupta@chromium.com&gt;Suggested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Signed-off-by: Adrian Ratiu &lt;adrian.ratiu@collabora.com&gt;Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Acked-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Cc: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Link: https://lore.kernel.org/lkml/87czjk4osi.fsf@ryzen9.i-did-not-set--mail-host-address--so-tickle-meLink: https://lore.kernel.org/bpf/20220308121428.81735-1-adrian.ratiu@collabora.com

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 08 Mar 2022 12:14:28 +0000</pubDate>
        <dc:creator>Adrian Ratiu &lt;adrian.ratiu@collabora.com&gt;</dc:creator>
    </item>
<item>
        <title>b7892f7d - tools: Ignore errors from `which&apos; when searching a GCC toolchain</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#b7892f7d</link>
        <description>tools: Ignore errors from `which&apos; when searching a GCC toolchainWhen cross-building tools with clang, we run `which $(CROSS_COMPILE)gcc`to detect whether a GCC toolchain provides the standard libraries. It isonly a helper because some distros put libraries where LLVM does notautomatically find them. On other systems, LLVM detects the libcautomatically and does not need this. There, it is completely fine notto have a GCC at all, but some versions of `which&apos; display an error whenthe command is not found:  which: no aarch64-linux-gnu-gcc in ($PATH)Since the error can safely be ignored, throw it to /dev/null.Fixes: cebdb7374577 (&quot;tools: Help cross-building with clang&quot;)Reported-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Signed-off-by: Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Tested-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Link: https://lore.kernel.org/bpf/20220201093119.1713207-1-jean-philippe@linaro.org

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 01 Feb 2022 09:31:20 +0000</pubDate>
        <dc:creator>Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>cebdb737 - tools: Help cross-building with clang</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#cebdb737</link>
        <description>tools: Help cross-building with clangCross-compilation with clang uses the -target parameter rather than atoolchain prefix. Just like the kernel Makefile, add that parameter toCFLAGS when CROSS_COMPILE is set.Unlike the kernel Makefile, we use the --sysroot and --gcc-toolchainoptions because unlike the kernel, tools require standard libraries.Commit c91d4e47e10e (&quot;Makefile: Remove &apos;--gcc-toolchain&apos; flag&quot;) providessome background about --gcc-toolchain. Normally clang finds on its ownthe additional utilities and libraries that it needs (for example GNU ldor glibc). On some systems however, this autodetection doesn&apos;t work.There, our only recourse is asking GCC directly, and pass the result to--sysroot and --gcc-toolchain. Of course that only works when a crossGCC is available.Autodetection worked fine on Debian, but to use the aarch64-linux-gnutoolchain from Archlinux I needed both --sysroot (for crt1.o) and--gcc-toolchain (for crtbegin.o, -lgcc). The --prefix parameter wasn&apos;tneeded there, but it might be useful on other distributions.Use the CLANG_CROSS_FLAGS variable instead of CLANG_FLAGS because itallows tools such as bpftool, that need to build both host and targetbinaries, to easily filter out the cross-build flags from CFLAGS.Signed-off-by: Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Quentin Monnet &lt;quentin@isovalent.com&gt;Acked-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Link: https://lore.kernel.org/bpf/20211216163842.829836-2-jean-philippe@linaro.org

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Thu, 16 Dec 2021 16:38:38 +0000</pubDate>
        <dc:creator>Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>c6de37dd - tools build: Fix quiet cmd indentation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#c6de37dd</link>
        <description>tools build: Fix quiet cmd indentationThe tools quiet cmd output has mismatched indentation (and extra spacecharacter between cmd name and target name) compared to the rest ofkbuild out:  HOSTCC  scripts/insert-sys-cert  LD       /srv/code/tools/objtool/arch/x86/objtool-in.o  LD       /srv/code/tools/objtool/libsubcmd-in.o  AR       /srv/code/tools/objtool/libsubcmd.a  HOSTLD  scripts/genksyms/genksyms  CC      scripts/mod/empty.o  HOSTCC  scripts/mod/mk_elfconfig  CC      scripts/mod/devicetable-offsets.s  MKELF   scripts/mod/elfconfig.h  HOSTCC  scripts/mod/modpost.o  HOSTCC  scripts/mod/file2alias.o  HOSTCC  scripts/mod/sumversion.o  LD       /srv/code/tools/objtool/objtool-in.o  LINK     /srv/code/tools/objtool/objtool  HOSTLD  scripts/mod/modpost  CC      kernel/bounds.sAdjust to match the rest of kbuild.Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Wed, 21 Apr 2021 18:58:48 +0000</pubDate>
        <dc:creator>Kees Cook &lt;keescook@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>d1d1a2cd - tools: disable -Wno-type-limits</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#d1d1a2cd</link>
        <description>tools: disable -Wno-type-limitsPatch series &quot;lib/find_bit: fast path for small bitmaps&quot;, v6.Bitmap operations are much simpler and faster in case of small bitmapswhich fit into a single word.  In linux/bitmap.c we have a machinery thatallows compiler to replace actual function call with a few instructions ifbitmaps passed into the function are small and their size is known atcompile time.find_*_bit() API lacks this functionality; but users will benefit from ita lot.  One important example is cpumask subsystem when NR_CPUS &lt;=BITS_PER_LONG.This patch (of 12):GENMASK(h, l) may be passed with unsigned types.  In such case,type-limits warning is generated for example in case of GENMASK(h, 0).Link: https://lkml.kernel.org/r/20210401003153.97325-1-yury.norov@gmail.comLink: https://lkml.kernel.org/r/20210401003153.97325-2-yury.norov@gmail.comSigned-off-by: Yury Norov &lt;yury.norov@gmail.com&gt;Acked-by: Rasmus Villemoes &lt;linux@rasmusvillemoes.dk&gt;Cc: Alexey Klimov &lt;aklimov@redhat.com&gt;Cc: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: David Sterba &lt;dsterba@suse.com&gt;Cc: Dennis Zhou &lt;dennis@kernel.org&gt;Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Cc: Jianpeng Ma &lt;jianpeng.ma@intel.com&gt;Cc: Joe Perches &lt;joe@perches.com&gt;Cc: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;Cc: Josh Poimboeuf &lt;jpoimboe@redhat.com&gt;Cc: Rich Felker &lt;dalias@libc.org&gt;Cc: Stefano Brivio &lt;sbrivio@redhat.com&gt;Cc: Wei Yang &lt;richard.weiyang@linux.alibaba.com&gt;Cc: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;Cc: Yoshinori Sato &lt;ysato@users.osdn.me&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Fri, 07 May 2021 01:02:42 +0000</pubDate>
        <dc:creator>Yury Norov &lt;yury.norov@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f62700ce - tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#f62700ce</link>
        <description>tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.includeselftests/bpf/Makefile includes tools/scripts/Makefile.include.With the following command  make -j60 LLVM=1 LLVM_IAS=1  &lt;=== compile kernel  make -j60 -C tools/testing/selftests/bpf LLVM=1 LLVM_IAS=1 V=1some files are still compiled with gcc. This patchfixed the case if CC/AR/LD/CXX/STRIP is allowed to beoverridden, it will be written to clang/llvm-ar/..., instead ofgcc binaries. The definition of CC_NO_CLANG is also relocatedto the place after the above CC is defined.Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;Link: https://lore.kernel.org/bpf/20210413153419.3028165-1-yhs@fb.com

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 13 Apr 2021 15:34:19 +0000</pubDate>
        <dc:creator>Yonghong Song &lt;yhs@fb.com&gt;</dc:creator>
    </item>
<item>
        <title>c9491aad - Documentation: Replace more lkml.org links with lore</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#c9491aad</link>
        <description>Documentation: Replace more lkml.org links with loreAs started by commit 05a5f51ca566 (&quot;Documentation: Replace lkml.orglinks with lore&quot;), replace a few more scattered lkml.org links withlore to better use a single source that&apos;s more likely to stay availablelong-term.Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;Link: https://lore.kernel.org/r/20210210234005.2236201-1-keescook@chromium.orgSigned-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Wed, 10 Feb 2021 23:40:05 +0000</pubDate>
        <dc:creator>Kees Cook &lt;keescook@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>211a741c - tools: Factor Clang, LLC and LLVM utils definitions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#211a741c</link>
        <description>tools: Factor Clang, LLC and LLVM utils definitionsWhen dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool.While looking into the source code I found duplicate assignments in misc toolsfor the LLVM eco system, e.g. clang and llvm-objcopy.Move the Clang, LLC and/or LLVM utils definitions to tools/scripts/Makefile.includefile and add missing includes where needed. Honestly, I was inspired by the commitc8a950d0d3b9 (&quot;tools: Factor HOSTCC, HOSTLD, HOSTAR definitions&quot;).I tested with bpftool and perf on Debian/testing AMD64 and LLVM/Clang v11.1.0-rc1.Build instructions:[ make and make-options ]MAKE=&quot;make V=1&quot;MAKE_OPTS=&quot;HOSTCC=clang HOSTCXX=clang++ HOSTLD=ld.lld CC=clang LD=ld.lld LLVM=1 LLVM_IAS=1&quot;MAKE_OPTS=&quot;$MAKE_OPTS PAHOLE=/opt/pahole/bin/pahole&quot;[ clean-up ]$MAKE $MAKE_OPTS -C tools/ clean[ bpftool ]$MAKE $MAKE_OPTS -C tools/bpf/bpftool/[ perf ]PYTHON=python3 $MAKE $MAKE_OPTS -C tools/perf/I was careful with respecting the user&apos;s wish to override custom compiler, linker,GNU/binutils and/or LLVM utils settings.Signed-off-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Acked-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt; # tools/build and tools/perfLink: https://lore.kernel.org/bpf/20210128015117.20515-1-sedat.dilek@gmail.com

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Thu, 28 Jan 2021 01:50:58 +0000</pubDate>
        <dc:creator>Sedat Dilek &lt;sedat.dilek@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>fbcdaa19 - perf build: Support build BPF skeletons with perf</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#fbcdaa19</link>
        <description>perf build: Support build BPF skeletons with perfBPF programs are useful in perf to profile BPF programs.BPF skeleton is by far the easiest way to write BPF tools. Enablebuilding BPF skeletons in util/bpf_skel. A dummy bpf skeleton is added.More bpf skeletons will be added for different use cases.Signed-off-by: Song Liu &lt;songliubraving@fb.com&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Acked-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: kernel-team@fb.comLink: http://lore.kernel.org/lkml/20201229214214.3413833-3-songliubraving@fb.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 29 Dec 2020 21:42:13 +0000</pubDate>
        <dc:creator>Song Liu &lt;songliubraving@fb.com&gt;</dc:creator>
    </item>
<item>
        <title>c8a950d0 - tools: Factor HOSTCC, HOSTLD, HOSTAR definitions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#c8a950d0</link>
        <description>tools: Factor HOSTCC, HOSTLD, HOSTAR definitionsSeveral Makefiles in tools/ need to define the host toolchain variables.Move their definition to tools/scripts/Makefile.includeSigned-off-by: Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Acked-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;Link: https://lore.kernel.org/bpf/20201110164310.2600671-2-jean-philippe@linaro.org

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Tue, 10 Nov 2020 16:43:05 +0000</pubDate>
        <dc:creator>Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>47c09d6a - bpftool: Introduce &quot;prog profile&quot; command</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#47c09d6a</link>
        <description>bpftool: Introduce &quot;prog profile&quot; commandWith fentry/fexit programs, it is possible to profile BPF program withhardware counters. Introduce bpftool &quot;prog profile&quot;, which measures keymetrics of a BPF program.bpftool prog profile command creates per-cpu perf events. Then it attachesfentry/fexit programs to the target BPF program. The fentry program savesperf event value to a map. The fexit program reads the perf event again,and calculates the difference, which is the instructions/cycles used bythe target program.Example input and output:  ./bpftool prog profile id 337 duration 3 cycles instructions llc_misses        4228 run_cnt     3403698 cycles                                              (84.08%)     3525294 instructions   #  1.04 insn per cycle               (84.05%)          13 llc_misses     #  3.69 LLC misses per million isns  (83.50%)This command measures cycles and instructions for BPF program with id337 for 3 seconds. The program has triggered 4228 times. The rest of theoutput is similar to perf-stat. In this example, the counters were onlycounting ~84% of the time because of time multiplexing of perf counters.Note that, this approach measures cycles and instructions in very smallincrements. So the fentry/fexit programs introduce noticeable errors tothe measurement results.The fentry/fexit programs are generated with BPF skeletons. Therefore, webuild bpftool twice. The first time _bpftool is built without skeletons.Then, _bpftool is used to generate the skeletons. The second time, bpftoolis built with skeletons.Signed-off-by: Song Liu &lt;songliubraving@fb.com&gt;Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Reviewed-by: Quentin Monnet &lt;quentin@isovalent.com&gt;Acked-by: Yonghong Song &lt;yhs@fb.com&gt;Link: https://lore.kernel.org/bpf/20200309173218.2739965-2-songliubraving@fb.com

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Mon, 09 Mar 2020 17:32:15 +0000</pubDate>
        <dc:creator>Song Liu &lt;songliubraving@fb.com&gt;</dc:creator>
    </item>
<item>
        <title>be40920f - tools: Let O= makes handle a relative path with -C option</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#be40920f</link>
        <description>tools: Let O= makes handle a relative path with -C optionWhen I tried to compile tools/perf from the top directory with the -Coption, the O= option didn&apos;t work correctly if I passed a relative path:  $ make O=BUILD -C tools/perf/  make: Entering directory &apos;/home/mhiramat/ksrc/linux/tools/perf&apos;    BUILD:   Doing &apos;make -j8&apos; parallel build  ../scripts/Makefile.include:4: *** O=/home/mhiramat/ksrc/linux/tools/perf/BUILD does not exist.  Stop.  make: *** [Makefile:70: all] Error 2  make: Leaving directory &apos;/home/mhiramat/ksrc/linux/tools/perf&apos;The O= directory existence check failed because the check script ran inthe build target directory instead of the directory where I ran the makecommand.To fix that, once change directory to $(PWD) and check O= directory,since the PWD is set to where the make command runs.Fixes: c883122acc0d (&quot;perf tools: Let O= makes handle relative paths&quot;)Reported-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;Cc: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Cc: Michal Marek &lt;michal.lkml@markovi.net&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Sasha Levin &lt;sashal@kernel.org&gt;Cc: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;Cc: stable@vger.kernel.orgLink: http://lore.kernel.org/lkml/158351957799.3363.15269768530697526765.stgit@devnote2Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Fri, 06 Mar 2020 18:32:58 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>39e7317e - perf build: Do not use -Wshadow on gcc &lt; 4.8</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/scripts/Makefile.include#39e7317e</link>
        <description>perf build: Do not use -Wshadow on gcc &lt; 4.8As it is too strict, see https://lkml.org/lkml/2006/11/28/253 andhttps://gcc.gnu.org/gcc-4.8/changes.html, that takes into accountLinus&apos;s comments (search for Wshadow) for the reasoning about -Wshadownot being interesting before gcc 4.8.Acked-by: Andrii Nakryiko &lt;andrii.nakryiko@gmail.com&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Link: https://lkml.kernel.org/r/20190719183417.GQ3624@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/scripts/Makefile.include</description>
        <pubDate>Fri, 19 Jul 2019 18:34:30 +0000</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
