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 :)
net: qede: Initialize qede_ll_ops with designated initializer(v1)
-
Miscellaneous fixes and improvements: These are fixes and improvements that don’t fit into a particular category but are important to ClangBuiltLinux.
genirq: Ensure flags in lock guard is consistently initialized(v1)
-
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…
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.
[C] Allow __attribute__((nonstring)) on multidimensional arraysRe: [PATCH 2/3] randstruct: Force full rebuild when seed changesRe: [PATCH] arm64/cpufeature: annotate arm64_use_ng_mappings with ro_after_init to prevent wrong idmap generationRe: [PATCH] extrawarn: Use cc-disable-warning for shift-negative-valueRe: [PATCH] Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOVRe: Patch "x86/relocs: Handle R_X86_64_REX_GOTPCRELX relocations" has been added to the 6.14-stable treeRe: [PATCH] scripts: add zboot support to extract-vmlinuxRe: [PATCH] kbuild: replace deprecated T option with --thin for $(AR)Re: [PATCH] ubsan: integer-overflow: depend on BROKEN to keep this out of CIRe: [PATCH] arm64: Disable LLD linker ASSERT()s for the time beingRISC-V boot warnings and crash after LLVM commit bb03cdcb441fd68da9d1ebb7d5f39f73667cd39c
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.
arm64 Linux kernel boot failure after b326cb6792b3951881d63d5a02ea163921da18d9Re: error: arch/x86/include/asm/mshyperv.h:108:2: ran out of registers during register allocation in function 'hyperv_flush_guest_mapping'Re: [linux-next:master 3551/8679] arch/riscv/kernel/compat_signal.c:220:28: error: use of undeclared identifier 'compat__vdso_rt_sigreturn_offset'Re: [linux-next:master 5904/8679] <instantiation>:7:11: error: expected an immediateRe: [ardb:for-kernelci 15/18] arch/x86/boot/startup/sev-startup.c:141:15: error: '__section__' attribute only applies to functions, global variables, Objective-C methods, and Objective-C propertiesRISC-V boot warnings and crash after LLVM commit bb03cdcb441fd68da9d1ebb7d5f39f73667cd39cAssertion failed: "start of copy chain MUST be COPY" on RISC-V after using asm goto with outputsllvm-readelf "invalid PT_DYNAMIC size" for RISC-V after getrandom() vDSO implementationFailed assertion "Cannot export BSS symbol" with ld.lld
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 the base LLVM configurationInitial matrix reductionpatches: Drop 5.15, 5.10, and 5.4 (May 2, 2025)Update patches (May 19, 2025)Workaround known failures (May 24, 2025)patches: android-mainline: Drop patches present in 6.15 finalAddress more build failures (May 28, 2025)Update stable anchor to 6.15patches: mainline: Drop d8720235d5b5cad86c1f07f65117ef2a96f8bec7Various fixes for PGO with older LLVM versionspatches: 6.12: Drop -Wunterminated-string-initialization patchesUpdate PGO kernel to 6.15 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.