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 are important to ClangBuiltLinux.
-
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.
[PATCH 5.4 0/6] Fix build due to clang -Qunused-arguments change
kbuild: userprogs: use correct linker when mixing clang and GNU ld
(6.6
,6.1
,5.15
,5.10
,5.4 comment
)
-
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 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 v3 0/8] cleanup: Introduce ACQUIRE(), a guard() for conditional locks
Re: [PATCH] kbuild: Re-enable -Wunterminated-string-initialization
Re: [PATCH v2] kbuild: Re-enable -Wunterminated-string-initialization
Re: [PATCH 6.1.y] KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning
Re: [PATCH 5.15.y] KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning
Re: [PATCH] Makefile: mrproper deletes signing_key.x509
Re: [PATCH] ALSA: hda/ca0132: Fix compile error with CLASS() after label
Re: [PATCH 0/6] kbuild: uapi: various fixes
Re: [PATCH v2] .gitignore: ignore compile_commands.json globally
Re: [RFC][PATCH] x86,ibt: Use UDB instead of 0xEA
Re: [PATCH 1/2] sparc/module: Add R_SPARC_UA64 relocation handling
Re: [PATCH 0/2] kbuild: userprogs: also inherit byte order and ABI from kernel
Re: [PATCH 0/2] Fix objtool warnings if LTO is enabled for LoongArch
Re: [PATCH v2 6/6] kbuild: enable -Werror for hostprogs
Re: [PATCH] kconfig: qconf/xconfig: show the OptionsMode radio button setting at startup
Re: [PATCH v6 4/9] scsi: Always define blogic_pci_tbl structure
Re: [PATCH] scripts/misc-check: update export checks for EXPORT_SYMBOL_FOR_MODULES()
Re: [PATCH v2 2/4] PCI/MSI: Add startup/shutdown for per device domains
Re: [PATCH 5/5] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI
Re: [PATCH 1/5] compiler_types.h: Move __nocfi out of compiler-specific header
Re: [PATCH 3/5] x86/cfi: Add option for cfi=debug bootparam
Re: [PATCH 2/2] kbuild: userprogs: also inherit byte order and ABI from kernel
Re: [PATCH] extract-vmlinux: Output used decompression method
Re: [PATCH v2 0/4] Enable measuring the kernel's Source-based Code Coverage and MC/DC with Clang
Re: [PATCH v2 00/12] Bump minimum supported version of LLVM for building the kernel to 15.0.0
Re: [PATCH] dmaengine: ti: edma: Fix memory allocation size for queue_priority_map
Re: [PATCH] .gitignore: ignore temporary files from 'bear'
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.
Reland "RegisterCoalescer: Add implicit-def of super register when coalescing SUBREG_TO_REG"
Re: Add AT_* constants from Linux 6.12
Failed assertion in writeSectionData after LLVM commit faa931b717c02d57f0814caa9133219040e6a85b
Re: next-20250804: clang-nightly hardening.config boot failed on arm64 rock-pi-4b
Re: ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values: 'i32 3' from vmlinux.a(init.o at 861458), and 'i32 1' from vmlinux.a(net-traces.o at 1004198)
[ELF] -r: Synthesize R_RISCV_ALIGN at input section start
Re: [BUG] Objtool warning from -next and mainline
[Clang] improve -Wstring-concatenation to warn on every missing comma in initializer lists
[BOLT] Instrumented aarch64 clang-21 crashes with illegal instruction
[BOLT] Instrumented aarch64 clang-21 hangs indefinitely
Re: [GIT PULL] tracing: Fixes for v6.17
Re: [linux-next:master 3139/4234] error: <unknown>:0:0: ran out of registers during register allocation in function 'hv_call_get_vp_registers'
Re: [akpm-mm:mm-new 216/233] arch/riscv/include/asm/pgtable.h:951:36: error: too few arguments to function call, expected 3, have 2
Re: [PATCH v2 2/4] PCI/MSI: Add startup/shutdown for per device domains
Re: [linux-next:master 4166/4221] vmlinux.o: warning: objtool: dev_pm_opp_find_level_exact+0x47: no-cfi indirect call!
[X86][APX] Remove redundant TEST*ri instructions
Re: [PATCH 2/5] ASoC: Intel: avs: Cleanup duplicate members
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 stable anchor to 6.16 and update patches
patches: android14-5.15: Use 6.1 version of KVM patch
build-llvm.py: Update DEFAULT_KERNEL_FOR_PGO to 6.16
Visualize and adjust builds
Add support for LLVM 21
Reset CONFIG_EFI_SBAT_FILE for Fedora configurations
patches: Drop KCSAN dummy variable patch
scripts/check-logs.py: Treat empty string values as 'n' for config check
ci: Regenerate clang-21 GitHub Actions workflow and TuxSuite files
Drop patches released in the most recent LTS updates (August 28, 2025)
Drop support for LLVM 13 and 14 from -next
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, two Intel-based desktops, and an AMD-based desktop. 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.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.