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
-
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…clk: sp7021: Adjust width of _m in HWM_FIELD_PREP()
(v1
)drm/i915: Fix clang -Wimplicit-fallthrough in intel_async_flip_check_hw()
(v1
)drm/amdgpu: Fix return types of certain NBIOv7.9 callbacks
(v1
)x86/csum: Fix clang -Wuninitialized in csum_partial()
(v1
)drm/i915/gt: Fix recent kCFI violations
(v1
)drm/i915/pxp: Fix size_t format specifier in gsccs_send_message()
(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] Compiler Attributes: Add __counted_by macro
Re: [PATCH v1 1/1] scripts/tags.sh: Fix gtags generation for O= kernel builds
Re: [PATCH 1/4] powerpc/64: Force ELFv2 when building with LLVM linker
Re: [PATCH v2] Compiler Attributes: Add __counted_by macro
Re: [PATCH] drm/amdgpu: Mark mmhub_v1_8_mmea_err_status_reg as __maybe_unused
Re: [PATCH v4 3/4] perf/core: Remove pmu linear searching code
Re: [PATCH v2] drm/amd/display: enable more strict compile checks
Re: [PATCH] drm/amdkfd: remove unused function get_reserved_sdma_queues_bitmap
[Lex] Only warn on defining or undefining language-defined builtins
Re: [PATCH] s390/purgatory: Do not use fortified string functions
Re: [PATCH] kbuild: add $(CLANG_CFLAGS) to KBUILD_CPPFLAGS
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: [GIT PULL]: Generic phy updates for v6.4
[InstCombine] Improve bswap optimization
Re: [stable:linux-5.15.y 36/9999] arch/s390/kernel/vtime.c:132:2: error: expected absolute expression
Re: [PATCH v5 2/3] drm/panel: Add Samsung S6D7AA0 panel controller driver
clang-13 arm allmodconfig compiler crash: llvm::DataLayout::getStructLayout(llvm::StructType*) const
-Warray-bounds in drivers/scsi/aacraid/commsup.c
Re: [PATCH v4 3/4] perf/core: Remove pmu linear searching code
Re: [stable:linux-4.19.y 984/6017] ld.lld: error: drivers/usb/dwc2/platform.o: contains a compressed section, but zlib is not available
failed assertion in clang-14: @switch_mm_irqs_off
New instances of -Wbuiltin-macro-redefined after LLVM commit 0123deb3a6f0
-Wincompatible-library-redeclaration
__write_overflow_field in drivers/crypto/marvell/cesa/cipher.c
arm64 big endian broken in vDSO after LLVM commit d81ce04587c00
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.
Add PowerPC allmodconfig build for mainline with LLVM 15+
boot-qemu.py: Add ppc64 big endian ELFv2 file strings to file_rosetta
Update default PGO kernel to 6.3.0 and update known good revision
utils: Expand relative paths in get_full_kernel_path()
Move images to GitHub releases
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, 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.
-
I built and uploaded LLVM 16.0.4 to kernel.org.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.