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
-
Miscellaneous fixes: These are fixes and improvements that don’t fit into a particular category but are important to ClangBuiltLinux.
-
Warning fixes: These are patches to fix various warnings that appear with LLVM (or in the case of the first one, with GCC as the result of a patch series for ClangBuiltLinux). 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…ARM: Reduce __thumb2__ definition to crypto files that require it(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 1/2] kbuild: move -Werror from KBUILD_CFLAGS to KBUILD_CPPFLAGSRe: [PATCH 2/2] kbuild: add -Wundef to KBUILD_CPPFLAGS for W=1 buildsRe: [PATCH] kbuild: add test-{ge,gt,le,lt} macrosRe: [PATCH] kbuild: ensure Make >= 3.82 is usedRe: [PATCH] ARM: disallow pre-ARMv5 builds with ld.lldRe: [PATCH] drm/tests: reduce drm_mm_test stack usageMIPS: emit .module and .nan directives only for first functionRe: [PATCH v1] driver core: Silence 'unused-but-set variable' warningRe: [PATCH linux-next] lib: Dhrystone: initialize ret valueRe: [PATCH v2 2/2] kbuild: make W=1 warn files that are tracked but ignored by gitRe: [PATCH] kbuild: add a missing line for help messageRe: [RFC PATCH] mm/thp: check and bail out if page in deferred queue alreadyRe: [PATCH] kbuild: Fix running modpost with musl libcRe: [PATCH] kbuild: rpm-pkg: add libelf-devel as alternative for BuildRequiresRe: [PATCH v2] kbuild: sort single-targets alphabetically againRe: [PATCH 5.15 000/731] 5.15.86-rc1 reviewRe: [PATCH] btrfs: handle -Wmaybe-uninitialized with clang
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 printk v5 03/40] printk: Prepare for SRCU console list protectionRe: [mm] f35b5d7d67: will-it-scale.per_process_ops -95.5% regressionCFI failure in efi_call_rts() after ecff303cbcbbRe: ld.lld: error: undefined symbol: __udivdi3Re: [PATCH 6.0 000/157] 6.0.13-rc1 reviewobjtool memory usage regression in -tip tree after call depth trackingpmac32_defconfig boot failure after LLVM commit 1bd0b82e508d049efdb07f4f8a342f35818df341error: unknown target CPU '405'Re: [PATCH v10 8/9] powerpc/code-patching: Use temporary mm for Radix MMUMIPS: fix build from IR files, nan2008 and FpAbiRe: Linux-stable-rc/ queue_5.10Re: [TCWG CI] Failure after llvmorg-16-init-14942-g6adeec881a83: [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`: allow extra invertible uses of hand-to-invertRe: [PATCH 3/3 v6] virtio: vdpa: new SolidNET DPU driver.[NFC][DAGCombiner] `visitFREEZE()`: use early returnRe: [PATCH 8/8] btrfs: turn on -Wmaybe-uninitializedRe: [PATCH 3/7] udf: Handle error when adding extent to a fileRe: [peterz-queue:core/wip-u128 14/14] arch/arm/include/asm/cmpxchg.h:254:1: error: instruction requires: !armv*mRe: [PATCH] fbdev: make offb driver tristateInquiry around 'b4 send' individual patch Cc'sRe: [linux-stable-rc:linux-5.10.y 9077/9999] ld.lld: error: arch/riscv/kernel/vdso/rt_sigreturn.o:(.riscv.attributes): rv32i2p1_m2p0_a2p1_c2p0: unsupported version number 2.1 for extension 'i'
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.
boot-qemu.py: Use tuples for Linux and QEMU versionsboot-qemu.py: Add support for booting arm64 and x86_64 guests under UEFIAdd "Check clang version" badge to README- Python linting improvement
patches: android13-5.10: Add upstream series for pahole 1.24 compatabilityAdd support for mounting a shared folder between the host and guest via virtiofsgenerator.yml: Disable x86_64 allyesconfig builds on -tipAdd x86 vDSO patch for tip of tree ld.lld default changeboot-qemu.py: Simplify can_use_kvm()Enable x86_64 KCSAN build with LLVM ToT on mainlineUpdate stable anchor to 6.1boot-utils: Update to latest mainboot-qemu.py: Check gdb_bin earlierAdjust mainline patches (December 15th, 2022)tc-build: Stop building the gold pluginbuild-llvm.py: Fix using relative paths for foldersFixes for building on Alpine LinuxTwo small miscellaneous improvementsAdjust x86_64 allyesconfig buildspatches: Remove 45be2ad007a9c6bea patch from 5.15docker: clang-android: Update to r475365b (16.0.2)android14-6.1patches: Drop android14-5.15, chromeos-5.15, and android-mainlineDrop mainline patches (December 21st, 2022)Add fixes to linux-next during breakpatches: next: Update for next-20221226Fix build failures after OpenSUSE config update to 6.2-rc1Rewrite all shell scripts in Python
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 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.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.