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
-
Build errors: These are patches to fix various build errors that I found through testing different configurations with LLVM or were exposed by our continuous integration setup. The kernel needs to build in order to be run :)
-
Miscellaneous fixes and improvements: These are fixes and improvements that don’t fit into a particular category but matter in some way to my other work.
-
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…
Patch handling, 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: [PATCH 01/14] kbuild: Bump minimum version of LLVM for building the kernel to 17.0.1Re: [PATCH v3 1/2] slab: support for compiler-assisted type-based slab cache partitioningRe: [PATCH v5 00/15] add SPDX SBOM generation scriptRe: [PATCH] ASoC: tegra: tegra210-mixer: Use div_u64() for 64-bit divisionbuild-llvm.py: Fix DEFAULT_KERNEL_FOR_PGO version parsingbuild-llvm.py: Fix DEFAULT_KERNEL_FOR_PGO version parsingRe: [PATCH v8] kbuild: host: use single executable for rustc -C linkerRe: [PATCH] ARM: OMAP2+: Make OMAP4 finish_suspend callback CFI-safeRe: [PATCH v4 02/12] block/bdev: Annotate the blk_holder_ops callback functionsRe: [PATCH] kbuild: pacman-pkg: package unstripped vDSO librariesRe: [PATCH] sparc: Disable compat support with LLDRe: [PATCH] sparc: Avoid unsupported LLD branch relocationsRe: [PATCH] kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning schemeRe: [PATCH] kconfig: add kconfig-sym-check static checkerRe: [PATCH] kbuild: deb-pkg: propagate hook script failures in builddebRe: [PATCH v2] kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning schemeRe: [RFC PATCH v3 1/3] scripts: add kconfirmRe: [PATCH] HID: core: Fix size_t specifier in hid_report_raw_event()Re: [PATCH] memory: omap-gpmc: Silence clang kerneldoc warningsRe: [linux-next:master 5548/6445] kernel/dma/contiguous.c:139:13: warning: variable 'numa_cma_configured' set but not usedRe: [PATCH] tracing: Create output file from cmd_check_undefinedRe: [PATCH] kconfig: Fix repeated include selftest expectationRe: [PATCH v9 3/3] kbuild: distributed build support for Clang ThinLTORe: [PATCH v2] ARM: OMAP2+: Add CFI type for omap4_finish_suspend[RISCV] Add partial support for -fzero-call-used-regsRe: [PATCH v3 1/2] x86/kvm/vmx: Move IRQ/NMI dispatch from KVM into x86 coreRe: [PATCH] firmware: arm_ffa: Treat missing FF-A feature on a platform as a probe missRe: [PATCH] err.h: use __always_inline on all error pointer helpersRe: [PATCH v2 1/7] scripts: modpost: detect and report truncated buf_printf() outputRe: [PATCH v2] kconfig: add optional warnings for changed input valuesRe: [PATCH] kbuild: rpm-pkg: append %{?dist} macro to Release tagRe: [PATCH v10 3/3] kbuild: distributed build support for Clang ThinLTORe: [PATCH] .gitignore: ignore rustc long type txt filesRe: [PATCH v11 3/3] kbuild: distributed build support for Clang ThinLTORe: [PATCH v3 1/2] kconfig: Remove the architecture specific config for AutoFDORe: [PATCH v3 2/2] kconfig: Remove the architecture specific config for Propeller
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.
ld.lld hangs when building Linux kernel with full LTO after recent flatten change-Wframe-larger-than in drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31{,4}/display_mode_vba_31{,4}.cRe: [tip: locking/core] locking/rtmutex: Annotate API and implementationMIPS: non-default visibility warnings from tip of tree binutils around __memcpy / __memsetobjtool: bad .discard.annotate_insnbuild-rust.py failure in CI: "fs::read_to_string(toml_file_name) failed with No such file or directory"error: kernel-address sanitizer is not supported for this target when targeting 32-bit ARMRe: [PATCH 6.18 000/188] 6.18.32-rc1 reviewRe: linux-next: build failure in final buildRe: linux-next: manual merge of the kbuild tree with the origin treeRe: [GIT PULL for v7.1] vfs fixesRe: [PATCH v15 3/6] ASoC: es9356-sdca: Add ES9356 SDCA driverRe: [PATCH v3 1/2] x86/kvm/vmx: Move IRQ/NMI dispatch from KVM into x86 coreRe: [PATCH 2/4] firmware: arm_ffa: Register core as a platform driverAssociate documentation comments with macro definitionsRe: [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignoredRe: [PATCH v2] ARM: OMAP2+: Add CFI type for omap4_finish_suspend[AArch64] Fix definition of system register move instructions
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.
Update korg-clang-22 to 22.1.5Enable the integrated assembler for sparc64 with clang-23+Update korg-clang-22 to 22.1.6
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 SolidRun Honeycomb LX2, an Ampere Altra Developer Platform, four Intel-based devices, and two AMD-based devices. 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.
-
I continue to upload prebuilt, fast versions of LLVM for kernel developers and our continuous integration to use.
-
I submitted the following pull requests.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.