Commit Graph
6888 Commits
Author SHA1 Message Date
Tyler Smith 587e1abc92 fix(net): run a Tigon3 link-loss restart as work in steps of at most 20 ms of waiting per call, keeping Linux's engine stop, APE event, NVRAM lock, firmware and PHY reset bounds, so no runtime call holds a processor for their seconds 2026-11-14 01:33:58 -05:00
Tyler Smith 74e69a13a9 fix(net): check the Tigon3 copper link once a second as tg3_timer does, as work in steps of at most 20 ms of waiting per call, so ordinary transmit and receive make no PHY access 2026-11-14 01:33:58 -05:00
Tyler Smith b06c905af0 fix(net): refuse a frame as busy when the Tigon3 transmit ring is full, with the link error the stack retries on a later turn 2026-11-14 01:33:58 -05:00
Tyler Smith 0d3425c0ca refactor(net): write the Tigon3 waits, MDIO, APE lock, NVRAM, core reset, PHY setup and packet start and stop once as async work on the driver base's stepped helper, run to completion where they ran before 2026-11-14 01:33:58 -05:00
Tyler Smith d75f37b974 feat(net): drive the BCM5784 after AX on the Tigon3 5761 path, with tg3's 5787 NVRAM table, OTP PHY trim, receive-only PHY reset, APD, CLKREQ and read DMA deltas 2026-11-14 01:33:58 -05:00
Tyler Smith d66d044c97 feat(net): drive the BCM57762, 57766, 57782 and 57786 as tg3's ASIC_REV_57766, with rings and status block below 2 GiB and 2K send data reads 2026-11-14 01:33:58 -05:00
Tyler Smith 28c3c42889 feat(net): take a Tigon3's PHY ID from the signed NIC SRAM when the PHY's own is unknown to tg3 or management firmware owns the PHY, as tg3_phy_probe does 2026-11-14 01:33:58 -05:00
Tyler Smith 43b8881393 feat(net): drive the BCM57765 class after A0 (57761, 57765, 57781, 57785, 57791, 57795) without an APE, with tg3's 57765_CLASS rings, NVRAM table, power source, PHY and 10/100-only deltas 2026-11-14 01:33:58 -05:00
Tyler Smith 5f951b7c82 feat(net): map a Tigon3's BAR 2 only when the chip has an APE, as Linux does, and give a chip without one no APE window 2026-11-14 01:33:58 -05:00
Tyler Smith c32f638863 feat(net): make the Tigon3 APE a property of the chip, taking every lock at once without one and giving ASF firmware without an APE tg3_stop_fw's pause and tg3_timer's heartbeat 2026-11-14 01:33:58 -05:00
Tyler Smith b735c3d96d feat(net): drive the BCM5717 and BCM5718 after A0 through the 5717_PLUS Tigon3 path, taking a 5717 C0 as the 5720 A0 it is, with tg3's 5717 clock, port, PHY and read DMA deltas 2026-11-14 01:33:58 -05:00
Tyler Smith a90e234914 feat(net): drive the BCM5719 after A0 through the 5717_PLUS Tigon3 path, with tg3's 5719 power source, NVRAM table, PHY, buffer manager and read DMA deltas 2026-11-14 01:33:58 -05:00
Tyler Smith f3fdb1e235 fix(net): stop an igb adapter's receive, transmit and bus master and reset its MAC when its driver is dropped, then hand it back to manageability firmware, as igb_down and igb_release_hw_control do 2026-11-14 01:33:58 -05:00
Tyler Smith eaf3c4815d feat(net): start a Tigon3 function whose ASF or APE management firmware runs, telling the firmware of the driver's start and stop as Linux tg3 does and leaving it the PHY, receive rules 4 to 7 and address slot 1 2026-11-14 01:33:58 -05:00
Tyler Smith 374a2e60c3 feat(firmware): pin the r8152 patch files for RTL8153 and RTL8156 USB adapters and always bundle them, matching each by its TCR version 2026-11-14 01:33:58 -05:00
Tyler Smith 18a49d5b7c fix(usb): send a USB Ethernet frame without waiting for its transfer, refusing the next as busy while it is in flight and cancelling it after 1 s, as usbnet submits its URBs 2026-11-14 01:33:58 -05:00
Tyler Smith 23886ce428 fix(net): leave an AQtion adapter's queued frames to the hardware on link loss and only take the carrier down, as Linux does, so a link poll never runs a restart's firmware reset 2026-11-14 01:33:58 -05:00
Tyler Smith 8b0eaaae1f fix(net): run the 82574L watchdog's PHY check and reset task as stepped work that waits at most 40 ms per link call, so a PHY hang reset never holds the processor for over a second 2026-11-14 01:33:58 -05:00
Tyler Smith b4a90775be fix(net): run an I225/I226 link check and remote receiver read as stepped work that waits at most 40 ms per poll, so a PHY semaphore firmware holds never holds the processor for up to a second 2026-11-14 01:33:58 -05:00
Tyler Smith 57fc2be493 fix(net): run an I217/I218/I219 link change as stepped work that waits at most 40 ms per call on the PHY semaphore and management bus, keeping Linux's bounds, so a link poll never holds the processor for up to a second 2026-11-14 01:33:58 -05:00
Tyler Smith 692fadf758 fix(net): refuse a frame as busy at once when an adapter's transmit ring is full, instead of holding the processor up to 100 or 200 ms, and resend it on a later turn, as Linux requeues NETDEV_TX_BUSY 2026-11-14 01:33:58 -05:00
Tyler Smith 720f24a88f refactor(net): run the I225/I226 transmit-hang reset on the driver base's stepped work and wait allowance 2026-11-14 01:33:58 -05:00
Tyler Smith 46ee2238a7 fix(net): run an I225/I226 transmit-hang reset in slices of at most 40 ms of waiting per call, keeping Linux's 800 bus master polls, so no runtime call holds a processor for its 1.6 s 2026-11-14 01:33:58 -05:00
Tyler Smith 668b5136c3 fix(net): bound an I225/I226 adapter's bus master drain to 80 ms when its driver is dropped, so the stop fits a processor's exit 2026-11-14 01:33:58 -05:00
Tyler Smith d3ea7c7d16 fix(net): stop an AQtion owner's queues, link, bus master and posted writes within a bounded wait when it is dropped unretired, as aq_nic_stop does, keeping its pages and binding 2026-11-14 01:33:58 -05:00
Tyler Smith 4371287681 fix(net): stop an atl1c adapter's interrupts, queues and MAC and soft-reset it when its driver is dropped, freeing its rings only once the reset leaves it idle, as atl1c_down does 2026-11-14 01:33:58 -05:00
Tyler Smith e6e0aa087f fix(net): halt an alx adapter's queues and MAC and reset its DMA when its driver is dropped, freeing its rings only once the reset completes, as __alx_stop does 2026-11-14 01:33:58 -05:00
Tyler Smith c958ca4035 fix(net): reset a virtio-net device when its driver is dropped and free its queues only once the reset reads back, as virtnet_remove does 2026-11-14 01:33:58 -05:00
Tyler Smith 2a87b1f643 fix(net): mask a Realtek adapter's interrupts, close its receive, drain it and reset its MAC when its driver is dropped, as rtl8169_down does 2026-11-14 01:33:58 -05:00
Tyler Smith a7f73d9252 fix(net): stop an 82574L adapter's receive, transmit and bus master and reset its MAC when its driver is dropped, then hand it back to manageability firmware, as e1000e_down and e1000e_release_hw_control do 2026-11-14 01:33:58 -05:00
Tyler Smith b87c401c7b feat(drivers): add stepped work to the driver base, async work polled a bounded step at a time or run to completion, with a per-step wait allowance, and run the USB4 connection manager on it 2026-11-14 01:33:58 -05:00
Tyler Smith 7e53cdab5a fix(boot): have the device skip lines and the CLEARED marker name stela repair, stela update and stela log 2026-11-14 01:33:58 -05:00
Tyler Smith 440d6ab530 test(cli): read every piece with repair --full in the damaged-piece test, as --verify is now named 2026-11-14 01:33:58 -05:00
Tyler Smith b3888606dd docs(readme): give the Windows log command the new spelling 2026-11-14 01:33:58 -05:00
Tyler Smith c2b1f3b477 fix(cli): fit every help line in 80 columns with short help beside each option and hand-wrapped long help, and test every page 2026-11-14 01:33:58 -05:00
Tyler Smith d45ed0a8cb fix(cli): have stela log say when it replaced a log.txt that was there 2026-11-14 01:33:58 -05:00
Tyler Smith e922bc5526 feat(cli): show the Wi-Fi network's country in the wizard's Review and in stela status 2026-11-14 01:33:58 -05:00
Tyler Smith b4e2f7a927 refactor(cli): remove repair's unreachable refusal of a stick whose macOS switch stopped, which dispatch finishes as an update 2026-11-14 01:33:58 -05:00
Tyler Smith 27bc997fe5 fix(cli): have a stela built without its boot image say how to build one instead of naming a flag the command lacks 2026-11-14 01:33:58 -05:00
Tyler Smith 8d89ca6a45 fix(cli): have hints and the several-sticks error name the stick as typed or its whole disk, never a volume path that may hold the user's name 2026-11-14 01:33:58 -05:00
Tyler Smith f8ca87e12e fix(cli): show the usage as stela [COMMAND [STICK]] [OPTIONS], since a stick follows a command 2026-11-14 01:33:58 -05:00
Tyler Smith 636ba55368 fix(cli): have no message suggest the hidden uninstall: starting over is stela create on the stick's whole disk 2026-11-14 01:33:58 -05:00
Tyler Smith 1513065a77 fix(cli): have a 0.3 command line with setup, boot-log, configure or --usb say in one line what replaced it, and exit 2 without running anything 2026-11-14 01:33:58 -05:00
Tyler Smith e427aa6366 fix(cli): have plain stela without a terminal count only sticks that hold Stela as due, so a blank stick exits 0 2026-11-14 01:33:58 -05:00
Tyler Smith be2d46de12 fix(cli): have finishing an interrupted create ask before a download over 1 GB, and show its size in plain stela's Finish it choice 2026-11-14 01:33:58 -05:00
Tyler Smith 3cb4ec92d0 fix(cli): say in settings help that --ipv4 and --dns take auto, and what repair's --wifi-passphrase-file is for 2026-11-14 01:33:58 -05:00
Tyler Smith c9665292ba fix(cli): drop the removed repair --fetch, --fetch and setup spellings from hints, errors and comments 2026-11-14 01:33:58 -05:00
Tyler Smith e6df63a2ad fix(cli): name the command that was run when several sticks hold Stela, and say which stick is used once instead of before and after sudo 2026-11-14 01:33:58 -05:00
Tyler Smith 422a5ea634 fix(setup): take Escape at the erase question as a no, and test that a no, Escape or --yes without a terminal erases nothing 2026-11-14 01:33:58 -05:00
Tyler Smith 0b3895a24b fix(cli): have stela settings without a terminal or a setting refuse instead of rewriting the stick 2026-11-14 01:33:58 -05:00