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 :)
regmap: Make reg_field's definition always visible(v1)
-
Kbuild / Kconfig fixes and improvements: These are changes that I have authored as part of maintaining Kbuild and Kconfig.
-
Miscellaneous fixes and improvements: These are fixes and improvements that don’t fit into a particular category but matter in some way to my other work.
-
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…sched/topology: Avoid unsequenced accesses to jiffies in sd_init()(v1,v2)blk-throttle: Avoid unsequenced accesses to jiffies in throtl_schedule_pending_timer()(v1)rcu/nocb: Avoid unsequenced accesses to jiffies in show_rcu_nocb_state()(v1)mptcp: Avoid unsequenced accesses to jiffies in mptcp_reset_tout_timer()(v1)lkdtm/bugs: Remove volatile from element_count(v1)lkdtm/usercopy: Avoid unsequenced accesses to cache_size in lkdtm_usercopy_init()(v1)net: microchip: encx24j600: Avoid unsequenced accesses to jiffies in encx24j600_tx()(v1)qca_spi: Avoid unsequenced accesses to jiffies in qcaspi_netdev_tx_timeout()(v1,v2)floppy: Avoid unsequenced accesses to jiffies in show_floppy()(v1)powerpc/xmon: Avoid unsequenced accesses to tsk in show_task()(v1)libceph: Avoid unsequenced accesses to jiffies in dump_linger_request()(v1)drm/amdgpu: Initialize data to NULL in imu_v13_0_program_rlc_ram()(v1)
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.
Re: [PATCH] clocksource/drivers/timer-mediatek: Fix "no-cfi indirect call" warningRe: [PATCH 1/2] arm64: csum: Add fused copy and Internet checksumRe: [PATCH 1/2] kbuild: Move testing of '-mfentry' back to Makefile from KconfigRe: resolve_btfids segmentation fault with CONFIG_DEBUG_INFO_BTF_INLINERe: [PATCH] lib/base64: fix -Wconstant-conversion warning in INIT_1()Re: [PATCH v3] scripts: check-function-names: propagate nm failuresRe: [PATCH v2] kconfig: fix use-after-free when a variable refers to itselfRe: [PATCH v2] kconfig: fix dangling check_top after an unexpected recursive dependencyRe: [PATCH] kconfig: wrap long expressions in menuconfigRe: [PATCH 1/2] scripts: add --registry option to container toolRe: [PATCH v2 0/2] kconfig: error on reverse rangeRe: [PATCH] kbuild: dtbinst: Create destination directories before installingRe: [PATCH v3] kbuild: Makefile.lib: fix offsets generation with debug infoRe: [PATCH] kbuild: AutoFDO: Enable -salvage-stale-profileRe: [PATCH] kbuild: depmod: fallback to /boot/System.map-KERNELRELEASERe: [PATCH v2 0/2] kbuild: deb-pkg: allow to set package name versionRe: [PATCH v2] elf-parse: avoid an undefined shift when checking the ELF typeRe: [PATCH] scripts/tags.sh: fix Kconfig indexing when using etags from emacs packageRe: [PATCH] kbuild: rust: pass AutoFDO flags to Clang with inline helpersRe: [PATCH 0/3] kbuild: don't print DESCEND messages from tools/ buildRe: [PATCH] scripts: checkkconfigsymbols: match complete numeric literalsRe: [PATCH] kbuild: detect module name collisions between '-' and '_'Re: [PATCH] kbuild: rust: support stabilized flag-Cprofile-sample-usefor Rust >= 1.100Re: [PATCH v2] kbuild: move gcc's -Wconstant-logical-operand to W=2Re: [PATCH] Input: apm-power - remove driverRe: [PATCH v1 00/10] tools: Introduce a kernel configuration checkerRe: [PATCH] run-clang-tools: Resolve the compilation database before changing directoryRe: [PATCH] scripts: syscall: require a complete ABI name matchRe: [PATCH v2] kbuild: AutoFDO: Disable Profi (-fno-sample-profile-use-profi)Re: [PATCH] check-uapi: avoid truncating the failure count in the exit statusRe: rant on Rust in kernelRe: [PATCH v2 01/20] coverage: move gcov and kcov under kernel/coverage/Re: [PATCH v7] scripts/config: honor $KBUILD_OUTPUT by defaultRe: [PATCH] power: supply: gpio-charger: mark gpio_charger_properties as __maybe_unusedRe: [PATCH v2] seq_buf: always inline seq_buf_terminate() and the helpers around itReapply "[clang][ThreadSafety] Do not read a C field's address as a pointer to memberRe: [PATCH 2/2] devicetable-offsets: Get struct cpu_feature from a device-id headerRe: [PATCH] kbuild: package: Install System.map to build tree onlyRe: [PATCH] firmware: qcom: Build the TrustZone memory allocator into qcom-scm[clang] Keep unevaluated builtin args in the CFGRe: [PATCH RFC] kbuild: deb-pkg: strip orphaned debug labels from LoongArch modulesRe: [PATCH 1/3] powerpc: Add support for 128-bit cmpxchgRe: [PATCH] kconfig: warn about malformed KCONFIG_SEED valuesRe: [PATCH 1/2] scripts/Makefile.lib: Capture decompressed size in ZSTD22 metadataRe: [PATCH] kallsyms: Omit unnamed local symbols from System.map and kallsyms[CodeGen] Visit bundled operands in LiveRegUnits::stepBackward and accumulatRe: [PATCH v4 0/7] kbuild: build the userspace tools in tools/ with the kernel
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.
RISC-V kCFI boot hang after LLVM commit 434e4e15f6a3Significant stack usage increase according to -Wframe-larger-than after commit 0d387de38562Re: [linux-next:master 5784/6673] WARNING: modpost: vmlinux: section mismatch in reference: seq_buf_terminate+0x2c (section: .text) -> bootup_event_buf (section: .init.data)Re: [tip: x86/urgent] x86/build: Do not allow X86_NATIVE_CPU to be enabled when compile testing[ConstraintElim] A signed sum of operands with opposite signs cannot wrapRe: hexagon: allmodconfig does not link with LLVM 17 and 18Re: v7.4-rc2 kernel build failure when using the upstream LLVM 24 with -Wunsequenced-volatileRe: [PATCH] firmware: qcom: scm: Hide QCOM_SCM instead of depending on ARCH_QCOM[clang] Suppress -Wuninitialized for unevaluated builtin argsRe: [PATCH v1 1/3] Revert "Bluetooth: btintel_pcie: sync mbox tlv parsing with GP0 alive interrupt"
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.
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 submitted the following pull requests.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.