Commit Graph

4 Commits

Author SHA1 Message Date
lukaszraczylo b26afa2a5d patches/linux: add 0004 - track TX-tail movement via boolean
Replaces snapshot-of-tx_tail comparison in the watchdog with a
tx_stall_tail_moved flag set/cleared under tx_ptr_lock.  Avoids
the index-aliasing false-positive Phil Elwell flagged on the
raspberrypi/linux PR review.

Anchored against the rpi-6.18.y vendor fork so it applies cleanly
on top of patches 0001..0003.  See talos-kernel-patches/0004-*.patch
for the mainline-anchored variant intended for netdev v2.
2026-05-02 15:00:28 +01:00
lukaszraczylo 77426168b0 patches/linux: add README explaining the macb series + provenance
For readers landing on the public repo, document:

  * what the three patches do and what bug they target
  * link to the upstream netdev submission (lore archive)
  * link to the Cilium / Ubuntu launchpad issue trackers
  * how the rpi-fork-targeted version here differs from the
    mainline-targeted version on netdev (5-line macb.h hunk variation
    for the vendor fork's extra bool tx_pending field)
  * license: GPL-2.0-only (kernel-derived) overriding the harness's MIT
  * how to add additional patches (drop a *.patch file; sorted apply
    order)

No code changes.
2026-04-25 23:20:44 +01:00
lukaszraczylo 8930e5a3d3 patches/linux: sync prose edits from talos-kernel-patches (diff bodies unchanged) 2026-04-24 18:59:44 +01:00
lukaszraczylo 2ed45176d6 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>.
2026-04-24 18:47:51 +01:00