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
-
Boot fixes: These patches fix boot failures that we have seen in testing. In this case, it is a User Mode Linux fix, which we are looking to enable in our continuous integration setup, as it is useful for quick testing.
um: Fix filtering '-mno-global-merge'
(v1
)
-
Build failures: 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 :)
-
crypto: virtio - Select new dependencies
(v1
) -
arm64: Do not include __READ_ONCE() block in assembly files
(v1
) -
ARM: Do not use NOCROSSREFS directive with ld.lld
(v1
) -
x86/ibt: Fix CC_HAS_IBT check for clang
(v1
) -
x86: Avoid CONFIG_X86_X32_ABI=y with llvm-objcopy
(v1
) -
Fix CONFIG_X86_KERNEL_IBT for clang and ld.lld < 14.0.0
(v1
)
-
-
Kbuild improvements: These are patches to improve or fix issues with how we build the kernel with LLVM. The first one is particularly notable, as it was requested by a high profile kernel developer.
-
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 everyone should be using
CONFIG_WERROR
, which will turn these all into failures. Maybe these should be in the build failures section…-
drm/selftest: plane_helper: Put test structures in static storage
(v1
) -
KVM: x86: Fix clang -Wimplicit-fallthrough in do_host_cpuid()
(v1
) -
netfs: Ensure ret is always initialized in netfs_begin_read()
(v1
) -
btrfs: Remove unused variable in btrfs_{start,write}_dirty_block_groups()
(v1
) -
clocksource/drivers/imx-tpm: Move tpm_read_sched_clock() under CONFIG_ARM
(v1
) -
i2c: designware: Mark dw_i2c_plat_{suspend,resume}() as __maybe_unused
(v1
) -
drm/msm/gpu: Avoid -Wunused-function with !CONFIG_PM_SLEEP
(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] um: clang: Strip out -mno-global-merge from USER_CFLAGS
-
Re: [PATCH bpf-next v2 5/8] compiler-clang.h: Add __diag infrastructure for clang
-
Re: [PATCH] ARM: fix compilation error when BPF_SYSCALL is disabled
-
Re: [PATCH v2] kbuild: add --target to correctly cross-compile UAPI headers with Clang
-
Re: [PATCH] arm64: Paper over ARM_SMCCC_ARCH_WORKAROUND_3 Clang issue
-
Re: [PATCH v2] drm/amkfd: bail out early if no get_atc_vmid_pasid_mapping_info
-
Re: [PATCH] powerpc: Replace ppc64 DT_RELACOUNT usage with DT_RELASZ/24
-
Re: [PATCH] ASoC: atmel: mchp-pdmc: Fix -Wpointer-bool-conversion warning
-
Re: [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h
-
[Clang][NeonEmitter] emit ret decl first for -Wdeclaration-after-statement
-
Re: [PATCH] x86/config: Make the x86 defconfigs a bit more usable
-
Re: [PATCH -next] PCI: hv: Remove unused function hv_set_msi_entry_from_desc()
-
Re: [PATCH] x86/extable: prefer local labels in .set directives
Issue triage 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 bpf-next v1 6/6] selftests/bpf: Add tests for kfunc register offset checks
-
Re: [PATCH 1/2] drm/amdkfd: judge get_atc_vmid_pasid_mapping_info before call
-
aspeed_g5_defconfig "error: invalid operand for instruction"
-
Re: [kvm:queue 182/205] <inline asm>:40:208: error: expected relocatable expression
-
Re: [PATCH v2 8/8] media: i2c: ov5670: Add .get_selection() support
-
ld.lld: error: <instantiation>:1:13: redefinition of 'found'
-
pcie-rcar-host.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range
-
Re: [PATCH 2/4] hwmon: (asus-ec-sensors) implement locking via the ACPI global lock
-
s390 defconfig fails to build after 4afeb670710efa5cd5ed8b1d9f2d22d6ce332bcc
Tooling improvements
-
Fix up check_logs.py and messages/documentation after scripts move
-
workflows: Bump actions/checkout to v3
(actions-workflows, containers, continuous-integration2, tc-build) -
check_logs.py: Use proper syntax for removing problem matcher
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 Windows Subsystem for Linux instance, a Raspberry Pi 3 and 4, 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 to:
- Google and the Linux Foundation for sponsoring my work.