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.

Linux kernel patches

  • Miscellaneous fixes and improvements: These are fixes and improvements that don’t fit into a particular category but are important to ClangBuiltLinux.

    • scripts/Makefile.extrawarn: Do not disable clang's -Wformat-zero-length (v1)
    • x86/build: Move '-mindirect-branch-cs-prefix' out of GCC-only block (v1)
  • Stable backport requests: 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…

    • MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 (v1)
    • usb: cdns3: Don't use priv_dev uninitialized in cdns3_gadget_ep_enable() (v1)
    • ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion (v1)
    • ASoC: codes: src4xxx: Avoid clang -Wsometimes-uninitialized in src4xxx_hw_params() (v1, v2)
    • mm: pagewalk: Restore err initialization in walk_hugetlb_range() (v1)
    • net/mlx5e: Do not use err uninitialized in mlx5e_rep_add_meta_tunnel_rule() (v1)
    • drm/msm/dsi: Remove use of device_node in dsi_host_parse_dt() (v1)
    • powerpc/papr_scm: Ensure rc is always initialized in papr_scm_pmu_register() (v1)
    • drm/amd/display: Reduce stack usage for clang (v1)
    • powerpc/math_emu/efp: Include module.h (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.

Issue triage, reporting, and input

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.

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 Windows Subsystem for Linux instance, a Raspberry Pi 3 and 4, an Intel-based desktop, an AMD-based desktop, an Intel-based laptop, and a SolidRun Honeycomb LX2. 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 to: