danctnix-besser-pkgbuild: linux-pinetab2-danctnix-besser PKGBUILD + cumulative bes2600 patch #16

Merged
marfrit merged 1 commits from claude-noether-14 into main 2026-05-08 10:02:37 +00:00
Collaborator

Soft-upstream candidate for DanctNIX. Drop-in replacement for linux-pinetab2 carrying the BESser bes2600 staging-driver patchset (16 squashed commits from marfrit/bes2600-dkms cleanups branch, adapted to danctnix-flavor).

Layout

danctnix-besser-pkgbuild/
├── README.md
└── kernel/
    ├── PKGBUILD                                          (patched fork of pine64/linux-pinetab2/PKGBUILD)
    ├── config                                            (danctnix kernel config, unchanged)
    └── 0001-bes2600-besser-cumulative-series.patch        (172 KB cumulative diff)

Net diff vs danctnix v7.0-danctnix1

48 files in drivers/staging/bes2600/, +1426 / -2003.

Danctnix-flavor adaptations applied

  • from_timer → timer_container_of
  • del_timer_sync → timer_delete_sync
  • bes2600_config / bes2600_set_rts_threshold sigs include radio_idx parameter
  • bes2600_switch_bt orchestration removed (Mobian-only entry point; not called in danctnix tree)
  • 4 danctnix-only files preserved (bes2600_btuart.c, h4_recv.h, txrx_opt.c, txrx_opt.h)

Patch series content (squashed for atomicity)

what
c5.1 scan-defer-on-firmware-reject
c5.1.1 scan-defer backoff tune
c5.2 recover wedged firmware via mmc_hw_reset on link break
c6.1 gate PM_INDICATION on pending request
c6.2 short-circuit wake handshake when chip is ACTIVE
c7 self-detect firmware-doesn't-honour-PSM, skip cycle
c5.2.1 multi-function SDIO mmc_hw_reset rescan
Patch A decrypt-storm fast-recover
Patch B connection-loss bus_reset
Patch F cw1200 mainline backports (3 fixes)
Patch C v3 drop sdio_rx_work relay, IRQ→bh-direct (+73% throughput)
Patch G SPDX + ST-Ericsson attribution restoration
Patch D ba_lock atomicization
Patch E ps_state_lock skip when pm_unsupported
Patch C2 ieee80211_rx_irqsafe → ieee80211_rx_ni
Patch H bh.c hygiene cleanup

Verification

  • Mobian DKMS Phase 7 N=3 stress @ 4 MB/s: +67% throughput vs Patch B baseline (1.36 → 2.28 MB/s sustained)
  • Race-fix verified under stress (no wsm_release_tx_buffer WARN storm)
  • No WARN/BUG/oops on any rep
  • pm_unsupported latch confirmed firing post-reboot
  • Danctnix-flavor build: deferred to PKGBUILD CI / Markus's first build cycle

Soft-upstream submission plan

  1. Markus reviews + builds locally
  2. PR / patch submission to dreemurrs-embedded/danctnix-packages proposing linux-pinetab2-danctnix-besser as a sidegrade (or replacement) for linux-pinetab2
  3. Follow danctnix maintainer feedback on per-patch-vs-cumulative-diff preference

.SRCINFO

Deliberately omitted — regenerate on first Arch build via cd kernel && makepkg --printsrcinfo > .SRCINFO. Don't ship a stale .SRCINFO.

Soft-upstream candidate for DanctNIX. Drop-in replacement for `linux-pinetab2` carrying the BESser bes2600 staging-driver patchset (16 squashed commits from `marfrit/bes2600-dkms cleanups` branch, adapted to danctnix-flavor). ## Layout ``` danctnix-besser-pkgbuild/ ├── README.md └── kernel/ ├── PKGBUILD (patched fork of pine64/linux-pinetab2/PKGBUILD) ├── config (danctnix kernel config, unchanged) └── 0001-bes2600-besser-cumulative-series.patch (172 KB cumulative diff) ``` ## Net diff vs danctnix v7.0-danctnix1 48 files in `drivers/staging/bes2600/`, +1426 / -2003. ## Danctnix-flavor adaptations applied - `from_timer → timer_container_of` - `del_timer_sync → timer_delete_sync` - `bes2600_config / bes2600_set_rts_threshold` sigs include `radio_idx` parameter - `bes2600_switch_bt` orchestration removed (Mobian-only entry point; not called in danctnix tree) - 4 danctnix-only files preserved (`bes2600_btuart.c`, `h4_recv.h`, `txrx_opt.c`, `txrx_opt.h`) ## Patch series content (squashed for atomicity) | | what | |---|---| | c5.1 | scan-defer-on-firmware-reject | | c5.1.1 | scan-defer backoff tune | | c5.2 | recover wedged firmware via mmc_hw_reset on link break | | c6.1 | gate PM_INDICATION on pending request | | c6.2 | short-circuit wake handshake when chip is ACTIVE | | c7 | self-detect firmware-doesn't-honour-PSM, skip cycle | | c5.2.1 | multi-function SDIO mmc_hw_reset rescan | | Patch A | decrypt-storm fast-recover | | Patch B | connection-loss bus_reset | | Patch F | cw1200 mainline backports (3 fixes) | | **Patch C v3** | **drop sdio_rx_work relay, IRQ→bh-direct (+73% throughput)** | | Patch G | SPDX + ST-Ericsson attribution restoration | | Patch D | ba_lock atomicization | | Patch E | ps_state_lock skip when pm_unsupported | | Patch C2 | ieee80211_rx_irqsafe → ieee80211_rx_ni | | Patch H | bh.c hygiene cleanup | ## Verification - Mobian DKMS Phase 7 N=3 stress @ 4 MB/s: **+67% throughput vs Patch B baseline (1.36 → 2.28 MB/s sustained)** - Race-fix verified under stress (no `wsm_release_tx_buffer` WARN storm) - No WARN/BUG/oops on any rep - `pm_unsupported` latch confirmed firing post-reboot - Danctnix-flavor build: deferred to PKGBUILD CI / Markus's first build cycle ## Soft-upstream submission plan 1. Markus reviews + builds locally 2. PR / patch submission to `dreemurrs-embedded/danctnix-packages` proposing `linux-pinetab2-danctnix-besser` as a sidegrade (or replacement) for `linux-pinetab2` 3. Follow danctnix maintainer feedback on per-patch-vs-cumulative-diff preference ## .SRCINFO Deliberately omitted — regenerate on first Arch build via `cd kernel && makepkg --printsrcinfo > .SRCINFO`. Don't ship a stale .SRCINFO.
claude-noether added 1 commit 2026-05-08 08:14:35 +00:00
Soft-upstream candidate for DanctNIX.  Drop-in replacement for
linux-pinetab2 carrying the BESser bes2600 staging-driver patchset
(16 squashed commits from marfrit/bes2600-dkms cleanups branch,
adapted to danctnix-flavor).

Layout:
  README.md                                                — overview
  kernel/PKGBUILD                                           — patched fork of pine64/linux-pinetab2/PKGBUILD
  kernel/config                                             — danctnix kernel config (unchanged)
  kernel/0001-bes2600-besser-cumulative-series.patch        — 172 KB cumulative diff

Net diff vs danctnix v7.0-danctnix1: 48 files, +1426 / -2003 in
drivers/staging/bes2600/.

Squashed series:
  c5.1, c5.1.1, c5.2, c6.1, c6.2, c7, c5.2.1   (c-stack: scan-defer,
                                                PM-state-resync,
                                                firmware-PSM-skip,
                                                multi-func SDIO rescan)
  Patch A (decrypt-storm fast-recover)
  Patch B (connection-loss bus_reset)
  Patch F (cw1200 mainline backports)
  Patch C v3 (drop sdio_rx_work relay)
  Patch G (SPDX + ST-Ericsson attribution)
  Patch D (ba_lock atomicization)
  Patch E (ps_state_lock skip)
  Patch C2 (ieee80211_rx_irqsafe -> ieee80211_rx_ni)
  Patch H (bh.c hygiene cleanup)

Phase 7 on Mobian DKMS: +67% throughput vs Patch B baseline; race-fix
verified under stress.  Danctnix-flavor build verification deferred
to PKGBUILD CI.

See danctnix-besser-pkgbuild/README.md for full provenance.
marfrit merged commit d801ace7d6 into main 2026-05-08 10:02:37 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marfrit/besser#16