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 and improvements: 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. 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…bcachefs: Fix format specifier in bch2_btree_key_cache_to_text()
(v1
)ARM: imx: Annotate imx7d_enet_init() as __init
(v1
)x86/resctrl: Annotate __get_mem_config_intel() as __init
(v1
)x86/cpu_entry_area: Annotate percpu_setup_exception_stacks() as __init
(v1
)drm/xe: Fix total initialization in xe_ggtt_print_holes()
(v1
)xfs: Fix format specifier for max_folio_size in xfs_fs_fill_super()
(v1
)hwmon: (oxp-sensors) Add missing breaks to fix -Wimplicit-fallthrough with clang
(v1
)xfrm: policy: Restore dir assignments in xfrm_hash_rebuild()
(v1
,v2
)
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] kbuild: add debug package to pacman PKGBUILD
Re: [PATCH] scripts: run-clang-tools: add file filtering option
Re: [PATCH v2 2/2] sparc/build: Add SPARC target flags for compiling with clang
Re: [PATCH v2 1/2] sparc/build: Remove all usage of -fcall-used* flags
Re: [PATCH v3 1/4] find: Switch from inline to __always_inline
Re: [PATCH 1/5] Compiler Attributes: update GCC and Clang's
counted_byURLs
Re: [PATCH] init/main.c: Initialize early LSMs after arch code
Re: [PATCH] kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES
Re: [PATCH] Documentation/llvm: turn make command for ccache into code block
Re: [PATCH] modpost: simplify modpost_log()
[HEXAGON] Utilize new mask instruction
Re: [PATCH V3] kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES
Re: [PATCH v2] modpost: simplify modpost_log()
Re: [PATCH 1/2] kbuild: pacman-pkg: move common commands to a separate function
Re: [PATCH 2/2] kbuild: pacman-pkg: do not override objtree
Re: [PATCH 1/1] Documentation: kbuild: explicitly document missing prompt
Re: [PATCH v2] Documentation: kbuild: explicitly document missing prompt
Re: [PATCH] kbuild: remove recent dependency on "truncate" program
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: [gustavoars:testing/wfamnae-next20240729-cbc-2 11/18] include/rdma/uverbs_ioctl.h:643:15: error: static assertion failed due to requirement '__builtin_offsetof(struct uverbs_attr_bundle, attrs) == sizeof(struct uverbs_attr_bundle_hdr)': struct member likely outside of struct_group_tagged()
Re: [PATCH v2] mm: increase totalram_pages on freeing to buddy system
[SDag][ARM][RISCV] Allow lowering CTPOP into a libcall
[DAG] Add legalization handling for ABDS/ABDU
[HEXAGON] Utilize new mask instruction
Re: lib/test_bitmap.c:1278:2: error: call to '__compiletime_assert_127' declared with 'error' attribute: BUILD_BUG_ON failed: !__builtin_constant_p(~var)
Re: [PATCH] btrfs: Annotate structs with __counted_by()
Re: /usr/bin/ld: ../lib/LLVMgold.so: cannot open shared object file: No such file or directory
Re: [PATCH v2 1/4] mm: Add optional close() to struct vm_special_mapping
Re: [PATCH 0/2] kmod /usr support
Apply dbaee836d60a8 to linux-5.10.y
Re: [PATCH v1 0/2] drm/i915/fence: A couple of build fixes
Re: [PATCH 6.6 230/341] change alloc_pages name in dma_map_ops to avoid name conflicts
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.
patches: Remove arm64-fixes (August 2, 2024)
build-binutils.py: Update to 2.43
Apply fix to android-mainline for UBSAN error
Add LLVM 19 builds
Update korg-clang-19 to 19.1.0-rc2
patches: Remove arm64 (August 13, 2024)
patches: Remove drm/radeon patch from stable trees
Update korg-clang-19 to 19.1.0-rc3
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, two Intel-based desktops, 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 continue to upload prebuilt, fast versions of LLVM for kernel developers and our continuous integration to use.
Special thanks
Special thanks to Google and the Linux Foundation for sponsoring my work.