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_CPPFLAGS
Re: [PATCH 2/2] kbuild: add -Wundef to KBUILD_CPPFLAGS for W=1 builds
Re: [PATCH] kbuild: add test-{ge,gt,le,lt} macros
Re: [PATCH] kbuild: ensure Make >= 3.82 is used
Re: [PATCH] ARM: disallow pre-ARMv5 builds with ld.lld
Re: [PATCH] drm/tests: reduce drm_mm_test stack usage
MIPS: emit .module and .nan directives only for first function
Re: [PATCH v1] driver core: Silence 'unused-but-set variable' warning
Re: [PATCH linux-next] lib: Dhrystone: initialize ret value
Re: [PATCH v2 2/2] kbuild: make W=1 warn files that are tracked but ignored by git
Re: [PATCH] kbuild: add a missing line for help message
Re: [RFC PATCH] mm/thp: check and bail out if page in deferred queue already
Re: [PATCH] kbuild: Fix running modpost with musl libc
Re: [PATCH] kbuild: rpm-pkg: add libelf-devel as alternative for BuildRequires
Re: [PATCH v2] kbuild: sort single-targets alphabetically again
Re: [PATCH 5.15 000/731] 5.15.86-rc1 review
Re: [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 protection
Re: [mm] f35b5d7d67: will-it-scale.per_process_ops -95.5% regression
CFI failure in efi_call_rts() after ecff303cbcbb
Re: ld.lld: error: undefined symbol: __udivdi3
Re: [PATCH 6.0 000/157] 6.0.13-rc1 review
objtool memory usage regression in -tip tree after call depth tracking
pmac32_defconfig boot failure after LLVM commit 1bd0b82e508d049efdb07f4f8a342f35818df341
error: unknown target CPU '405'
Re: [PATCH v10 8/9] powerpc/code-patching: Use temporary mm for Radix MMU
MIPS: fix build from IR files, nan2008 and FpAbi
Re: Linux-stable-rc/ queue_5.10
Re: [TCWG CI] Failure after llvmorg-16-init-14942-g6adeec881a83: [InstCombine] `sinkNotIntoOtherHandOfLogicalOp()`: allow extra invertible uses of hand-to-invert
Re: [PATCH 3/3 v6] virtio: vdpa: new SolidNET DPU driver.
[NFC][DAGCombiner] `visitFREEZE()`: use early return
Re: [PATCH 8/8] btrfs: turn on -Wmaybe-uninitialized
Re: [PATCH 3/7] udf: Handle error when adding extent to a file
Re: [peterz-queue:core/wip-u128 14/14] arch/arm/include/asm/cmpxchg.h:254:1: error: instruction requires: !armv*m
Re: [PATCH] fbdev: make offb driver tristate
Inquiry around 'b4 send' individual patch Cc's
Re: [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 versions
boot-qemu.py: Add support for booting arm64 and x86_64 guests under UEFI
Add "Check clang version" badge to README
- Python linting improvement
patches: android13-5.10: Add upstream series for pahole 1.24 compatability
Add support for mounting a shared folder between the host and guest via virtiofs
generator.yml: Disable x86_64 allyesconfig builds on -tip
Add x86 vDSO patch for tip of tree ld.lld default change
boot-qemu.py: Simplify can_use_kvm()
Enable x86_64 KCSAN build with LLVM ToT on mainline
Update stable anchor to 6.1
boot-utils: Update to latest main
boot-qemu.py: Check gdb_bin earlier
Adjust mainline patches (December 15th, 2022)
tc-build: Stop building the gold plugin
build-llvm.py: Fix using relative paths for folders
Fixes for building on Alpine Linux
Two small miscellaneous improvements
Adjust x86_64 allyesconfig builds
patches: Remove 45be2ad007a9c6bea patch from 5.15
docker: clang-android: Update to r475365b (16.0.2)
android14-6.1
patches: Drop android14-5.15, chromeos-5.15, and android-mainline
Drop mainline patches (December 21st, 2022)
Add fixes to linux-next during break
patches: next: Update for next-20221226
Fix build failures after OpenSUSE config update to 6.2-rc1
Rewrite 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.