Occasionally, I will forget to link something from the mailing list in this post. To see my full mailing list activity (patches, reviews, and reports), you can view it on lore.kernel.org.
-
Miscellaneous fixes and improvements: These are fixes and improvements that don’t fit into a particular category but are important to ClangBuiltLinux.
RISC-V: Disable DWARF5 with known broken LLVM versions
(v2
)
-
Stable backports and fixes: It is important to make sure that the stable trees are as free from issues as possible, as those are the trees that devices and users use; for example, Android and Chrome OS regularly merge from stable, so if there is a problem that will impact those trees that we fixed in mainline, it should be backported.
-
Warning fixes: These are patches to fix various warnings that appear with LLVM. I used to go into detail about the different warnings and what they mean, but the important takeaway for this section is that the kernel should build warning free, as all developers should be using
CONFIG_WERROR
, which will turn these all into failures. Maybe these should be in the build failures section…x86/tools: objdump_reformat.awk: Skip bad instructions from llvm-objdump
(v1
)A few fixes for transparent bridge support
(v1
)Enable -Wincompatible-function-pointer-types-strict under W=1
(v2
)kasan: Mark unpoison_slab_object() as static
(v1
)dmaengine: xilinx: xdma: Fix two clang warnings
(v1
)platform/x86/intel/pmc: Fix recent instances of -Wmissing-prototypes
(v1
)
Patch review and input
For the next sections, I link directly to my first response in the thread when possible but there are times where the link is to the main post. My responses can be seen inline by going to the bottom of the thread and clicking on my name.
Reviewing patches that are submitted is incredibly important, as it helps ensure good code quality due to catching mistakes before the patches get accepted and it can help get patches accepted faster, as some maintainers will blindly pick up patches that have been reviewed by someone that they trust.
Re: [RFC] drm: enable W=1 warnings by default across the subsystem
Re: [PATCH] x86/callthunks: Correct calculation of dest address in is_callthunk()
Re: [PATCH] gen_compile_commands.py: fix path resolve with symlinks in it
Re: [PATCH v2] gen_compile_commands.py: fix path resolve with symlinks in it
Re: [PATCH v2] rpm-pkg: simplify installkernel %post
Re: [PATCH] power: reset: at91: mark at91_wakeup_status non-__init
Re: [PATCH] docs: rust: remove `CC=clang` mentions
Re: [PATCH iwl-next] i40e: Avoid unnecessary use of comma operator
[Clang] Generate the GEP instead of adding AST nodes
Revert counted_by attribute feature
Re: [PATCH v4] rpm-pkg: simplify installkernel %post
Re: [PATCH] scripts/decode_stacktrace.sh: Support LLVM addr2line
[LoongArch] Support R_LARCH_{ADD,SUB}_ULEB128 for .uleb128 and force relocs when sym is not in section
CI Caching
Issue triage, input, and reporting
The unfortunate thing about working at the intersection of two projects is we will often find bugs that are not strictly related to the project, which require some triage and reporting back to the original author of the breakage so that they can be fixed and not impact our own testing. Some of these bugs fall into that category while others are issues strictly related to this project.
Re: [PATCH -tip v2 2/3] x86/callthunks: Handle %rip-relative relocations in call thunk template
Re: Patch "arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer" has been added to the 4.19-stable tree
Re: clang-nightly: vdso/compat_gettimeofday.h:152:15: error: instruction variant requires ARMv6 or later
Error when building Linux with latest LLVM (and CLang)
-Wframe-larger-than in fs/namespace.c
Re: [PATCH 5.4 63/94] btrfs: add dmesg output for first mount and last unmount of a filesystem
RISC-V boot failure after LLVM commit e87f33d9ce785668223c3bcc4e06956985cccda1
Re: [drm-xe:drm-xe-next 989/1016] drivers/gpu/drm/xe/xe_wait_user_fence.c:46:2: warning: variable 'passed' is used uninitialized whenever switch default is taken
Re: [PATCH net-next 20/24] net: intel: Use nested-BH locking for XDP redirect.
Re: [PATCH 15/50] kernel/numa.c: Move logging out of numa.h
[LoongArch] Allow delayed decision for ADD/SUB relocations
Re: [PATCH v5 37/40] netfs: Optimise away reads above the point at which there can be no data
Re: [PATCH v5 15/40] netfs: Add support for DIO buffering
Tooling improvements
These are changes to various tools that we use, such as our continuous integration setup, booting utilities, toolchain building scripts, or other closely related projects such as AOSP’s distribution of LLVM and TuxMake.
Behind the scenes
- Every day that there is a new linux-next release, I rebase and build a few different kernel trees then boot and runtime test them on several different machines, including a Raspberry Pi 4, a Raspberry Pi 3, a SolidRun Honeycomb LX2, an Ampere Altra Developer Platform, an Intel-based desktop, an AMD-based desktop, and an Intel-based laptop. This is not always visible because I do not report anything unless there is something broken but it can take up to a few hours each day, depending on the amount of churn and issues uncovered.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.