mirror of
https://github.com/lukaszraczylo/talos-builder.git
synced 2026-06-28 04:23:13 +00:00
Add macb silent TX stall fix series to kernel build
Three-patch series targeting the BCM2712/RP1 (Raspberry Pi 5) silent TX hang documented at: * https://github.com/cilium/cilium/issues/43198 * https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/2133877 0001: flush PCIe posted write after TSTART doorbell 0002: re-check ISR after IER re-enable in macb_tx_poll 0003: add TX stall watchdog fallback for lost TCOMP New patches live in patches/linux/ and are copied into checkouts/pkgs/kernel/build/patches/ via a new 'patches-linux' Makefile target, wired into the existing 'patches' aggregate. Verified to apply cleanly against raspberrypi/linux @ f2f68e79f16f (the ref pinned by the preceding commit). Author of the patches: Lukasz Raczylo <lukasz@raczylo.com>.
This commit is contained in:
@@ -63,7 +63,7 @@ checkouts-clean:
|
||||
#
|
||||
# Patches
|
||||
#
|
||||
.PHONY: patches-pkgs patches-talos patches-sbc-raspberrypi patches patches
|
||||
.PHONY: patches-pkgs patches-talos patches-sbc-raspberrypi patches-linux patches
|
||||
patches-pkgs:
|
||||
cd "$(CHECKOUTS_DIRECTORY)/pkgs" && \
|
||||
git am "$(PATCHES_DIRECTORY)/siderolabs/pkgs/0001-Patched-for-Raspberry-Pi-5.patch"
|
||||
@@ -77,10 +77,18 @@ patches-sbc-raspberrypi:
|
||||
cd "$(CHECKOUTS_DIRECTORY)/sbc-raspberrypi" && \
|
||||
git am "$(PATCHES_DIRECTORY)/siderolabs/sbc-raspberrypi/0001-Patched-for-Raspberry-Pi-5.patch"
|
||||
|
||||
patches: patches-pkgs patches-talos patches-sbc-raspberrypi
|
||||
# Drop local kernel .patch files into the pkgs kernel/build patch dir so
|
||||
# they are picked up by the patch loop in kernel/build/pkg.yaml. Sorted
|
||||
# numeric filenames preserve apply order.
|
||||
patches-linux:
|
||||
@if [ -d "$(PATCHES_DIRECTORY)/linux" ] && ls "$(PATCHES_DIRECTORY)/linux"/*.patch >/dev/null 2>&1; then \
|
||||
mkdir -p "$(CHECKOUTS_DIRECTORY)/pkgs/kernel/build/patches" && \
|
||||
cp -v "$(PATCHES_DIRECTORY)/linux"/*.patch "$(CHECKOUTS_DIRECTORY)/pkgs/kernel/build/patches/"; \
|
||||
else \
|
||||
echo "No local kernel patches in $(PATCHES_DIRECTORY)/linux, skipping"; \
|
||||
fi
|
||||
|
||||
# Backwards-compatible alias
|
||||
patches: patches
|
||||
patches: patches-pkgs patches-talos patches-sbc-raspberrypi patches-linux
|
||||
|
||||
.PHONY: kernel
|
||||
kernel:
|
||||
|
||||
Reference in New Issue
Block a user