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: 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…drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml2
(v1
,v2
)tcp: Fix -Wc23-extensions in tcp_options_write()
(v1
,v2
,v3
)mmc: sdhci-of-dwcmshc: Use logical OR instead of bitwise OR in dwcmshc_probe()
(v1
)power: reset: at91: Drop '__init' from at91_wakeup_status()
(v1
)hexagon: Fix up instances of -Wmissing-prototypes
(v1
)s390: A couple of fixes for -Wmissing-prototypes
(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.
Re: [PATCH] rpm-pkg: simplify installkernel %post
Re: [PATCH] linux/export: clean up the IA-64 KSYM_FUNC macro
Re: [PATCH 1/3] kunit: Add a macro to wrap a deferred action function
Re: [PATCH v2 1/1] ARM: kprobes: Explicitly reserve r7 for local variables
Re: [PATCH] LoongArch: Record pc instead of offset in la-abs relocation
Re: [PATCH] kbuild: support W=c and W=e shorthands for Kconfig
Re: [PATCH 1/3] modpost: move __attribute__((format(printf, 2, 3))) to modpost.h
Re: [PATCH 2/3] modpost: remove unreachable code after fatal()
Re: [PATCH 3/3] modpost: move exit(1) for fatal() to modpost.h
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.
Re: [PATCH 6/6] bcachefs: rebalance_work
Re: [Linaro-TCWG-CI] v6.6-rc1-17-g1c6fdbd8f246: Failure on arm
Re: [pci:controller/xilinx-xdma] BUILD REGRESSION 8d786149d78c7784144c7179e25134b6530b714b
LoongArch build failure after LLVM commit 1a2e77cf9e11dbf56b5720c607313a566eebb16e
Reland [SimplifyCFG] Delete the unnecessary range check for small mask operation
Re: [PATCH v5] kconfig: avoid an infinite loop in oldconfig/syncconfig
Re: [PATCH 02/22] fb: atmel_lcdfb: Stop using platform_driver_probe()
[IR] Mark lshr and ashr constant expressions as undesirable
Error when building Linux with latest LLVM (and CLang) (LLVM issue #72026)
[CodeGen] Revamp counted_by calculations
Re: [PATCH v4 1/5] firmware: xilinx: Update firmware call interface to support additional args
RISC-V configs with CONFIG_DEBUG_INFO_DWARF5=y broken after LLVM commit 1df5ea29b4369
Re: [PATCH v7 net-next 4/5] net-device: reorganize net_device fast path variables
Assertion failure and infinite loop after bc09ec696209b3aea74d49767b15c2f34e363933
[ConstraintElim] Treat ConstantPointerNull as constant offset 0.
Re: linux-next: manual merge of the vfs-brauner tree with the btrfs tree
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.
Add fix for -Wc23-extensions in net/ipv4/tcp_output.c
Update mainline and stable patches (November 2, 2023)
Update default PGO kernel to 6.6.0 and update known good revision
Copy mainline patches to tip (Nov 6, 2023)
utils.py: Handle virtconfig
patches: mainline: Drop AMDGPU -Wframe-larger-than bump patch
A couple of ci.sh updates
tc_build: llvm: Move use of build_targets out of ninja_cmd
tc_build: llvm: Update BOLT flags
Update patches (November 10, 2023)
Drop current -tip patches (November 13, 2023)
build-llvm.py: Fix PGO using LLVM as training data without '--full-toolchain'
Delay LLVM tip of tree builds until November 28th
Update patches (November 28, 2023)
build-binutils.py: Fix error with x86-64-v{2,3,4} as value to '-m'
patches: Drop SRSO patches from android13-5.10
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, an Intel-based desktop, 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 stable LLVM releases to kernel.org to ensure kernel developers have easy access to LLVM for reproducing and fixing issues that they introduce.
-
I attended Linux Plumbers Conference in Richmond, Virginia to keep in touch and interact with the greater kernel community.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.