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.
ARM: Fix ARM_VECTORS with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION(v1)
-
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…
LLVM patches
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] kbuild: clang: Support building UM with SUBARCH=i386Re: [PATCH] hardening: Enable i386 FORTIFY_SOURCE on Clang 16+Re: [PATCH] kunit/stackinit: Use fill byte different from Clang i386 patternRe: [PATCH v2 1/2] x86/build: Remove -ffreestanding on i386 with GCCRe: [PATCH v2 2/2] hardening: Enable i386 FORTIFY_SOURCE on Clang 16+Re: [PATCH] kbuild: deb-pkg: remove "version" variable in mkdebianRe: [PATCH] kbuild: deb-pkg: fix versioning for -rc releasesRe: [PATCH] kbuild: pacman-pkg: hardcode module installation pathRe: [PATCH v2] kbuild: make all file references relative to source rootRe: [tip: x86/core] x86/ibt: Implement FineIBT-BHI mitigationRe: [PATCH] platform: cznic: fix function parameter namesRe: [GIT PULL] asm-generic changes for 6.15
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.
objtool warning in drivers/bluetooth/hci_vhci.o around vhci_coredump_hdr()Re: [PATCH 6.13 070/157] objtool: Remove annotate_{,un}reachable()Re: [PATCH] hardening: Enable i386 FORTIFY_SOURCE on Clang 16+Re: [PATCH V2 2/2] ASoC: codecs: Add aw88166 amplifier driver__read_overflow not eliminated in lib/fortify_kunit.c after 47f4af43e7c0cf702d6a6321542f0c0d9c4216e3Re: [thomas-weissschuh:b4/module-hashes 9/9] llvm-objcopy: error: '.tmp_module_hashes.o': The file was not recognized as a valid object fileRe: [PATCH v7 1/1] watchdog: aspeed: Update bootstatus handlingRe: [PATCH V8 2/6] perf: attach/detach PMU specific dataRe: [PATCH v2 0/6] btrfs: prepare for larger folios supportRe: [PATCH v2 05/14] ASoC: amd: acp: Refactor acp machine selectRe: [PATCH] kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR()Re: [PATCH 5/6] mips: drop GENERIC_IOMAP wrapper__read_overflow in drivers/net/wireless/intel/iwlwifi/mld/d3.c with UBSAN_BOUNDS__write_overflow_field in arch/x86/kernel/apic/io_apic.c with UBSAN_INTEGER_WRAPRe: [PATCH v4 net-next 2/2] udp_tunnel: use static call for GRO hooks when possibleRe: [PATCH v2 11/13] arch, mm: streamline HIGHMEM freeingRe: [PATCH v4 3/3] iommu: Drop sw_msi from iommu_domainRe: [PATCH] rwonce: handle KCSAN like KASAN in read_word_at_a_time()Compilation failure with flag -mlvi-cfiRe: [tip:objtool/urgent 9/23] vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock: unexpected end of section .text.cdns_mrvl_xspi_setup_clock
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.
Adjust Alpine Linux configuration URLsUpdate stable anchor to 6.14patches: Drop android15-6.6 (March 27, 2025)Update PGO kernel to 6.14 and bump known good revision
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, two Intel-based desktops, 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.
-
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.