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.
x86/kexec: Fix location of relocate_kernel with -ffunction-sections
(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…
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] mm: vmstat.h: Annotate operations between enums
Re: [PATCH 3/3] media: mediatek: vcodec: Workaround a compiler warning
Re: [PATCH 09/11] x86: rework CONFIG_GENERIC_CPU compiler flags
Re: [PATCH] interconnect: qcom: icc-rpm: Set the count member before accessing the flex array
Re: [PATCH] kbuild: suppress stdout from merge_config for silent builds
Re: [PATCHv3] gcc: disable '-Wstrignop-overread' universally for gcc-13+ and FORTIFY_SOURCE
Re: [PATCH v2] kbuild: suppress stdout from merge_config for silent builds
Re: [PATCH 2/2] Propeller: Remove the architecture specific config
Re: [PATCH v2 0/2] objtool: Add option to fail build on vmlinux warnings
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.
[SDAG] Don't allow implicit trunc in getConstant()
ANDROID: fix ABI-break in struct cgroup_root
Re: [PATCH 6.12 000/826] 6.12.2-rc1 review
Hitting AUTOIBRS WARN_ON_ONCE() in init_amd() booting 32-bit kernel under KVM
Re: [PATCH v3] mm/hugetlb: support FOLL_FORCE|FOLL_WRITE
Re: [PATCH 6.6 000/676] 6.6.64-rc1 review
Re: [paulmckrcu:dev 47/49] ERROR: modpost: "rcutorture_format_gp_seqs" [kernel/rcu/rcutorture.ko] undefined!
Kernel build: arch/x86/tools/insn_decoder_test: error: malformed line
Re: [PATCH v5 13/20] x86/kexec: Mark relocate_kernel page as ROX instead of RWX
Re: [PATCH v5 07/20] x86/kexec: Invoke copy of relocate_kernel() instead of the original
Re: next-20241216: drivers/crypto/qce/sha.c:365:3: error: cannot jump from this goto statement to its label
[Sema] Diagnose tautological bounds checks
Re: [PATCH v6 4/4] power: supply: core: add UAPI to discover currently used extensions
Re: [PATCH v6 9/9] drm/amd/display: Mark dc_fixpt_from_fraction() noinline
Re: [PATCH v3 6/6] arm64/mm: Drop configurable 48-bit physical address space limit
Re: vmlinux.o: warning: objtool: do_user_addr_fault+0x1052: __stack_chk_fail() is missing a __noreturn annotation
Re: [PATCH v4 0/7] x86: Rid .head.text of all abs references
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.
Enable sparc64 build on mainline
patches: mainline: Add patch to avoid tnt4882.ko modpost error
patches: arm64-fixes: Drop applied patches after 6.13-rc1 update
patches: arm64: Drop patches available in 6.13-rc2
patches: mainline: Drop merged gpib patch
Drop 4.19
patches: mainline: Drop Hexagon constant extender patch
Update patch metadata (December 20, 2024)
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.
-
As there was some workload slowdown because of the holidays on both the kernel and LLVM side, I took some time to do some maintenance on my personal workflow and environment files to make things easier to maintain over the long term and become more efficient when developing and solving issues.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.