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 :)
serial: 8250_mid: Add missing module namespace import for SERIAL_8250(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 handling, 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.
[Clang][Sema] Add fortify warnings for strlcatRe: [PATCH] kbuild: don't delete in-flight filechk temporaries in asm-headersRe: [PATCH 1/2] scripts: add TOML config to container toolRe: [PATCH] kconfig: fix extra output from savedefconfig on out-of-range defaultsRe: [PATCH 2/2] randstruct: report bad casts as warnings rather than notesRe: [PATCH v4 0/5] add kconfirmRe: [PATCH 4/4] kconfig: prevent out-of-bounds user input for numeric optionsRe: [PATCH] x86/mm/pat: skip RWX verification until kernel text is set to read onlyRe: [PATCH] once_lite: Simplify condition handling and fix context analysisRe: [PATCH 00/23] kbuild: significantly speed up kernel buildsRe: [PATCH] kbuild: fix grammar in output Makefile .gitignore generation commentRe: [PATCH v2] checkkconfigsymbols: resolve revisions before resetting the treeRe: [PATCH v3] tee: remove TZMEM_MODE_GENERICRe: [PATCH v2] docs: kconfig: fix shell function syntax in caveatsRe: [PATCH] kbuild: add header check facility as a manually run static analyzerRe: [PATCH v3 01/20] kbuild: do not allocate .modinfo in vmlinuxRe: [PATCH 0/3] kconfig: Introduce cc-option-strRe: [PATCH 1/4] kconfig: tests: Reset KCONFIG_WARN_CHANGED_INPUT by defaultRe: [PATCH] fortify: Disable colored diagnostics in test_fortify.shRe: [PATCH] clang-tools: Import os for broken pipe handlingRe: [PATCH] clang-tools: Decode dollar escaping in compile commandsRe: [PATCH] kbuild: keep .modinfo when vmlinux is linked with --gc-sectionsRe: [PATCH] scripts: run-clang-tools: import os for broken pipe handlingRe: [PATCH] sched/core: Fix context analysis errors in non-preferred CPU pushRe: [PATCH] iio: temperature: ltc2983: avoid string comparison for leak detector
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 v2 0/8] Support Clang context analysis for ext2Re: [tip: x86/urgent] x86/mm/pat: Fix effective RW computation in lookup_address_in_pgd_attr()Re: [PATCH 1/5] riscv: smp: Move enum ipi_message_type to asm/smp.h-Wconstant-conversion in lib/base64.c-Wconstant-conversion in drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.cRe: lib/base64.c:58:18: warning: implicit conversion from 'int' to 's8' (aka 'signed char') changes value from 131 to -125RISC-V vDSO build error after LLVM commit 90cebef1411617fc3eedd359bdf00cb44b1c2439Re: linux-next: manual merge of the amdgpu tree with the drm-misc,drm-fixes treeRe: [PATCH v2] tpm: use DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr()Re: [PATCH v4 11/13] lib/crypto: sha2: Provide functions for zeroizing SHA2 hmac_sha* structuresRe: [PATCH v14 09/13] sched/debug: Add migration stats due to non preferred CPUsCodeGen: Compute LiveIntervals before TwoAddressInstructions
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.
Bump PGO kernel to 7.2 and bump known good revisionbuild-llvm.py: Drop ty call-top-callable suppressionboot-qemu.py: Add '--ephemeral-initrd'
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, four Intel-based devices, and two AMD-based devices. 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.
-
I continued working on the third generation of ClangBuiltLinux continuous integration.
-
I began working on optimizing my local testing framework for better utilization of my machines, allowing me to iterate as a maintainer and developer quicker.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.